Files
Brendan Chen 93f5d63f26
All checks were successful
ci / test (pull_request) Successful in 12s
refactor: dedupe INSERT SQL and DDL exec in migrate.ts
- 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).
2026-05-12 02:24:33 -07:00
..
2026-05-12 02:17:02 -07:00
2026-05-12 02:17:02 -07:00
2026-05-12 02:17:02 -07:00
2026-05-12 02:17:02 -07:00