supabase / dbdev

Database Package Registry for Postgres
https://database.dev/
Apache License 2.0
370 stars 19 forks source link

Naming Fail :| #167

Closed MaximusMcCann closed 4 months ago

MaximusMcCann commented 8 months ago

Bug report

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

Additional context

Add any other context about the problem here.

santiant commented 8 months ago

Same here!

imor commented 8 months ago

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).

w3b6x9 commented 4 months ago

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