dbdev icon indicating copy to clipboard operation
dbdev copied to clipboard

Typo in the installation script from README causes an error

Open btglr opened this issue 1 year ago • 1 comments

Bug report

  • [x] I confirm this is a bug with Supabase, not with my own application.
  • [x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Running the installation script from README.md fails with an error.

ERROR: "version" is a required argument (SQLSTATE 22004)
At statement 7: create extension "supabase@dbdev"

The issue comes from this line: https://github.com/supabase/dbdev/blob/69dcb85811e42d3dd8f4411e71817550ff082d74/README.md?plain=1#L66 It differs from the installation script from this page https://database.dev/supabase/dbdev where supabase@dbdev (incorrect) becomes supabase-dbdev (correct)

To Reproduce

  1. Run the installation script

Expected behavior

Installation script completes successfully.

btglr avatar May 13 '24 14:05 btglr

The readme is for a version not released yet, use the website one instead i got the same issue

riderx avatar May 14 '24 16:05 riderx

@btglr: @riderx is correct. We just reverted it in this PR so the instruction in the README now should work: https://github.com/supabase/dbdev/pull/190.

w3b6x9 avatar May 29 '24 23:05 w3b6x9