Course lesson

Link Local Database to Remote and Run a Migration with Supabase

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.

Duration
1 min
Access
Free
Transcript
Retained from source evidence

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.