Skip to content

feat(Database): Use Flyway to manage migration#319

Merged
hirokiterashima merged 4 commits into
developfrom
flyway-db-migration
Jun 3, 2026
Merged

feat(Database): Use Flyway to manage migration#319
hirokiterashima merged 4 commits into
developfrom
flyway-db-migration

Conversation

@hirokiterashima
Copy link
Copy Markdown
Member

Changes

  • Add Flyway dependency
  • Update config
    • handle creating flyway_schema_history table when database exists
    • don't reload dev sever when files in src/main/resources/db/migration are changed
  • Move db init sql to migration. This will be used when application is first started.

@hirokiterashima hirokiterashima self-assigned this Jun 2, 2026
@hirokiterashima hirokiterashima merged commit 0e7e3c0 into develop Jun 3, 2026
2 checks passed
@hirokiterashima hirokiterashima deleted the flyway-db-migration branch June 3, 2026 01:08
@hirokiterashima
Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.20.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant