© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
hko

Diff—error creating shadow database

When I try to create a diff, the command fails with
Error: error creating shadow database
Error: error creating shadow database
. I started my local dev by running
supabase db remote commit
supabase db remote commit
and then making changes.

Running
supabase db diff services -f services
supabase db diff services -f services
results in the error.
--debug
--debug
does not print additional info.

Running
supabase db diff services -f services --debug --use-migra
supabase db diff services -f services --debug --use-migra
throws the following error:
ERROR:  relation "pgsodium.key_key_id_seq" does not exist
ERROR:  relation "pgsodium.key_key_id_seq" does not exist

and also fails with
Error: error creating shadow database
Error: error creating shadow database
.
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

supabse db remote throws error starting shadow database
SupabaseSSupabase / help-and-questions
4y ago
Error Error starting shadow database ERROR syntax error at or near COMMIT
SupabaseSSupabase / help-and-questions
4y ago
Failed to create user: Database error creating new user
SupabaseSSupabase / help-and-questions
8mo ago
Failed to create user: Database error creating new user
SupabaseSSupabase / help-and-questions
13mo ago