SupabaseS
Supabase11mo ago
Mike

Create initial Database migration file from already developed DB

Hi all, I'm new to Supabase and I'm really enjoying it so far.

I have 2 Supabase projects that is reflecting Prod and Dev.

Dev is the one I've been developing and Prod is newly created with a fresh database.

I want to create an initial migration file that recreates the current state of the Dev database that I can apply to Prod.

How can I do that?

Can I use a command in the Supabase CLI to acomplish that?

/Mike
Was this page helpful?