Skip to content

[codex] Fix Flyway migration version conflict#268

Merged
jjoonleo merged 1 commit into
deployfrom
codex/fix-flyway-social-token-version
May 6, 2026
Merged

[codex] Fix Flyway migration version conflict#268
jjoonleo merged 1 commit into
deployfrom
codex/fix-flyway-social-token-version

Conversation

@jjoonleo

@jjoonleo jjoonleo commented May 6, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Renamed V9__change_field_social_login_token_longtext.sql to V11__change_field_social_login_token_longtext.sql.

Why

The deploy branch already contains V9__create_account_deletion_feedback.sql and V10__deduplicate_social_users_add_unique_constraint.sql. After PR #267 was merged, the application jar contained two Flyway migrations with version 9, causing startup to fail with:

Found more than one migration with version 9

Impact

Flyway can validate and run migrations again. The social_login_token column widening still runs, now as version 11, after the existing deploy migrations.

Validation

  • ./gradlew compileJava passes.
  • Checked migration filenames locally; no duplicate version numbers remain.

@jjoonleo jjoonleo marked this pull request as ready for review May 6, 2026 03:18
@jjoonleo jjoonleo merged commit 1703012 into deploy May 6, 2026
@jjoonleo jjoonleo deleted the codex/fix-flyway-social-token-version branch May 7, 2026 15:06
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.

1 participant