© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•5mo ago•
8 replies
Conch

Local Migrations Don't Copy Database Roles

I'm trying to set up local Supabase for testing. I use a tool called PowerSync which requires its own
powersync_role
powersync_role
role. I'm trying to copy my schema from my linked cloud database to my local one, but the migration tries to apply rules set for the
powersync_role
powersync_role
without actually creating the role, so the migration fails. Am I doing something wrong? How do I fix this?
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

Baselining Migrations -- Local
SupabaseSSupabase / help-and-questions
5mo ago
Local <--> Remote Migrations Help
SupabaseSSupabase / help-and-questions
3y ago
Local edge functions don't log
SupabaseSSupabase / help-and-questions
2y ago
Remote has more migrations then local
SupabaseSSupabase / help-and-questions
5mo ago