Commit 4a38edf
fix(test): move the TSA/TSB fixture migration to V20260821
Story 24.1 merged V20260819__seed_reporting_year_open_fixtures.sql to main
(#313) and Story 24.2 took V20260820 (#318), both after this branch was cut.
This branch's V20260819__tsa_tsb_code_table_dates_and_seeds.sql therefore
claimed a version that was already taken.
Git merges the two cleanly, because they are differently NAMED files -- only
Flyway objects that both declare version 20260819, and it objects fatally:
"Found more than one migration with version 20260819" refuses to load and takes
the entire *IT suite down at boot. FlywayMigrationVersionUniquenessTest exists
to catch exactly this at PR time instead, and did.
Per db/README.md convention 1, the newer (unmerged) migration yields and the
merged ones are left alone, so this one moves to the next free slot: V20260821.
Only the version changes -- the script itself, and the two comment references
to it in Schedule10DocumentIT, are otherwise untouched.
No seed-data collision to resolve alongside it: Story 24.1 seeds mills 990/991
and Story 24.2 seeds none in the 7xx range, so the Schedule 10 block (710-716)
is unaffected. The migration now applies AFTER both, which is immaterial -- it
alters and seeds THE.TSA_NUMBER_CODE and THE.TSB_NUMBER_CODE, which neither of
the other two touches.
Verified on the merged tree: backend 1166 unit and 894 integration tests green,
frontend 188 tests green across Schedule 10 and every file this branch touches,
lint clean.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 5b46705 commit 4a38edf
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- backend/src/test
- java/ca/bc/gov/nrs/ilcr/schedule10
- resources/db
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
| 370 | + | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
0 commit comments