Managing Azure SQL Migrations

Manages versioned, idempotent Azure SQL migrations that run on every deployment via sqlcmd in GitHub Actions. Provides the migration-history tracking table, the guard-clause template every migration uses, and the workflow step that installs sqlcmd on ubuntu-24.04, manages the SQL firewall with trap cleanup, and runs all files in alphabetical order. Use when adding a new SQL migration, setting up the migration system on a new project, or fixing CI failures like "sqlcmd not found", "gpg cannot open /dev/tty", or "Multiple files found matching pattern *.sql".

alexpizarro Updated

File contents

alexpizarro/azure-lean-stack-skills/tree/main/skills/managing-azure-sql-migrations commit 9a7dcf2ac3

Frequently asked questions

npx skillmds@latest add alexpizarro/managing-azure-sql-migrations