© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
KOnOO

Enable extensions in migration failed

supabase db reset crash after trying to enable extensions

Resetting local database...
Recreating database...
Setting up initial schema...
Applying migration 20240115163519_remote_schema.sql...
ERROR: permission denied to create extension "pg_net" (SQLSTATE 42501)           
At statement 10: CREATE EXTENSION IF NOT EXISTS "pg_net" WITH SCHEMA "extensions"
Try rerunning the command with --debug to troubleshoot the error.
Resetting local database...
Recreating database...
Setting up initial schema...
Applying migration 20240115163519_remote_schema.sql...
ERROR: permission denied to create extension "pg_net" (SQLSTATE 42501)           
At statement 10: CREATE EXTENSION IF NOT EXISTS "pg_net" WITH SCHEMA "extensions"
Try rerunning the command with --debug to troubleshoot the error.
Screenshot_2024-01-15_at_17.47.13.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to enable extensions in self hosted
SupabaseSSupabase / help-and-questions
2mo ago
Enable realtime CDC in a migration?
SupabaseSSupabase / help-and-questions
4y ago
Enable pg_cron in a migration
SupabaseSSupabase / help-and-questions
4y ago
Internal auth migration failed
SupabaseSSupabase / help-and-questions
4mo ago