-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
- Description: Manage schema with Flyway for MySQL and H2.
- Current state: No Flyway dependency;
ddl-auto=updateused. Entities:User,Space,Map,Element,UserSession, etc. - Tasks:
- Add Flyway dependency and disable
ddl-autoin prod. CreateV1__baseline.sqlcovering current entities and indexes (including unique constraints andrefresh_token_hash). - Configure profiles to auto-migrate; use H2-compatible migrations for dev.
- Document migration flow.
- Add Flyway dependency and disable
- Acceptance criteria:
- App boots with Flyway applying migrations on both H2 (dev) and MySQL (build/prod).
- References:
pom.xml, entities underfeatures/*,application*.properties.
Reactions are currently unavailable