dbdev icon indicating copy to clipboard operation
dbdev copied to clipboard

Naming Fail :|

Open MaximusMcCann opened this issue 1 year ago • 2 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

psql:_install.sql:43: ERROR:  invalid extension name: "supabase@dbdev"
DETAIL:  Extension names must only contain alphanumeric characters or valid separators.

To Reproduce

Just try to run the long bootstrap script in the Readme on a new db.

Expected behavior

It not to fail.

Screenshots

psql:_install.sql:43: ERROR:  invalid extension name: "supabase@dbdev"
DETAIL:  Extension names must only contain alphanumeric characters or valid separators.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

MaximusMcCann avatar Feb 09 '24 23:02 MaximusMcCann

Same here!

santiant avatar Feb 11 '24 15:02 santiant

The latest code in this repo is not yet deployed on database.dev. It contains changes to the names of packages from <user>-<package> to <user>@<package>. E.g. supabase-dbdev on database.dev is named supabase@dbdev in the latest commit. To avoid this, run the installation script on the database.dev site (scroll down to the How to install section).

imor avatar Feb 12 '24 06:02 imor

We've addressed this here: https://github.com/supabase/dbdev/pull/190

w3b6x9 avatar May 29 '24 23:05 w3b6x9