Link Local Database to Remote and Run a Migration with Supabase

InstructorBen Patton

Share this video with your friends

Send Tweet

With Supabase Link we can link our local project to a remote database. Then we can use the command npx supabase db diff -f <fileName> to create a local migration file.

Then we use npx supabase db push to apply our local changes to the remote database.