Open MaySoMusician opened 2 years ago
30 now fixes the problem temporarily. However, the current migrations will leads to fail to push the migrations to the hosted instance
An elevated postgres user can work around this problem.
Steps:
ALTER ROLE postgres SUPERUSER;
in the project's SQL editorsupabase db push
ALTER ROLE postgres NOSUPERUSER;
.
Describe the bug
EXECUTE FUNCTION extensions.moddatetime(...)
in database migrations fails because the 'moddatetime' extension does not exist.To Reproduce
supabase stop && supabase start
)Expected behavior
Supabase local environment gets running without any error
Screenshots
Desktop (please complete the following information):
Additional context
Unfortunately, we have only a temporary workaround for now, according to the repository of Supabase CLI (e.g. https://github.com/supabase/cli/issues/151)
Temporary Workaround 1 (old - no needed any more)
We assume we have
supabase/migrations/20220218124404_commitUpdateAtChangesOnProjects.sql
supabase/migrations/20220218124403_foobar.sql
)