© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
6 replies
mattsoftware

How to people handle multiple environments?

I have a project that I have a development environment, staging environment as well as a production environment (as well as my local development). At the moment If I want to push my local migrations to different environments I have to unlink and link my supabase project to the different environments. Is there an easier way to do this? Ideally I would love to do this with a command line switch, something like supabase
db push -e staging
db push -e staging
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 does supabase handle dev and prod environments?
SupabaseSSupabase / help-and-questions
4y ago
Handling multiple environments without downtime
SupabaseSSupabase / help-and-questions
4mo ago
How to reuse fetchers across environments
SupabaseSSupabase / help-and-questions
7mo ago
How to handle JWT Expiring
SupabaseSSupabase / help-and-questions
4y ago