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
Was this page helpful?