Open yesmoreandco opened 2 days ago
looks like this is related to https://github.com/graphile/migrate/issues/75 and they propose a reasonable workaround.
What is the username inside the database, is it [user]
or is it [user].[projectId]
? You can find out via select user;
Summary
When using graphile-migrate with supabase, it uses the wrong DATABASE_OWNER.
Supabase has a url that looks like this
So the
:DATABASE_OWNER
variable is set to[user].[projectId]
instead of[user]
Steps to reproduce
Expected results
The migration runs.
Actual results
The . is from the find and replace of [user].[projectId]
Possible Solution
Give the ability to manually override the :DATABASE_OWNER placeholder.