New Supabase project migration handling?

Hello team, I'm curious on what the best practice is for handling migrations on a new Supabase project?

  1. I created a new local environment with the CLI and linked my remote db
  2. At this point should I pull the initial state of my remote db via
    supabase db remote commit
    ? This will pull all the initial setup of my project?
  3. I then can make changes locally and generate migration files/push as needed.
Is this the best way to go? Or do I avoid step 2 entirely?
Was this page helpful?