aerie icon indicating copy to clipboard operation
aerie copied to clipboard

Add Workflow check that all ups and downs end with marking the migration

Open Mythicaeda opened this issue 2 years ago • 0 comments

Occasionally, a mark_migration_applied or a mark_migration_rolled_back statement is missing from a migration. This proposed workflow would validate that all up.sqls end with a mark_migration_applied('folder number'); and all down.sqls end with a mark_migration_rolled_back('folder number');

It would be especially preferred if it also checked that the relevant applied_migrations.sql was updated to include the line mark_migration_applied('folder number');.

Mythicaeda avatar Sep 28 '23 21:09 Mythicaeda