All checks were successful
ci / test (pull_request) Successful in 12s
- Extract INSERT_MIGRATION_SQL constant; was repeated three times. - Hoist db.exec(SCHEMA_MIGRATIONS_DDL) above the genesis-stamp branch so it is no longer duplicated in both arms of the if/else. - Prepare insertRow once and reuse it for both genesis-stamping and the per-file insert in the apply loop. - Simplify existence probe in stampMigration to SELECT 1 and drop the misleading MigrationRow cast (only existence was checked).