Skip to content

Restore V69 and move repository.repo_type_id into V70 - #1110

Merged
ehoogerbeets merged 1 commit into
box:masterfrom
ehoogerbeets:fix/split-repo-type-id-into-v70
Oct 29, 2026
Merged

ehoogerbeets merged 1 commit into
box:masterfrom
ehoogerbeets:fix/split-repo-type-id-into-v70

Conversation

@ehoogerbeets

Copy link
Copy Markdown
Contributor

Summary

  • Restore V69__Add_repo_type.sql to the originally shipped content (repo_type / repo_type_integrity_checker only).
  • Move the repository / repository_aud repo_type_id alters into a new V70__Assign_repo_type_to_repository.sql.
  • Fixes Flyway validate failures on environments that already applied the original V69 before repo_type_id was folded into that migration.

Test plan

  • Confirm V69 file content matches the checksum already recorded in environments that applied the original migration
  • Fresh DB (at V68 or earlier): Flyway applies V69 then V70 successfully
  • Environment already on original V69: Flyway validates V69 and applies V70 only
  • CI / Flyway MySQL smoke harness passes

Made with Cursor

Environments that already applied the original V69 fail Flyway validate after
repo_type_id was folded into that migration; splitting preserves the shipped
checksum and applies the column changes as V70.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ehoogerbeets
ehoogerbeets merged commit 0b29007 into box:master Oct 29, 2026
5 checks passed
@ehoogerbeets
ehoogerbeets deleted the fix/split-repo-type-id-into-v70 branch October 29, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants