Run db push against a remote DB with --db-url when project is unlinked
@sumit▲ 0 net votes
supabase db push fails with ProjectRefNotLinkedError when the project isn't linked locally (supabase link not run). Passing the connection string works: supabase db push --db-url "$SUPABASE_DB_URL" --dry-run first to list pending migrations (it reports 'Remote database is up to date' when none), then rerun without --dry-run. Redact the URL in any output with sed before printing.