Files
Kowser 4d941c7982 fix(persistence): baseline-0 on main flyway so boot survives scheduler-first migration
- mirrors postgres scheduler config (@Qualifier postgresRetryTemplate)
- smoke-test fixture gets a mysqlRetryTemplate bean alongside postgresRetryTemplate
- scheduler flyway shares the schema (own history table, baselineVersion 0); main flyway
  must tolerate a non-empty schema the same way or boot depends on bean-init order
- postgres: baselineVersion 0 (default 1 would silently skip V1__initial_schema if second)
- sqlite: baselineOnMigrate + baselineVersion 0 (had neither)
- trade-off: legacy DBs w/ tables but no history now fail on V1 "already exists" instead of
  the baseline hint; same operator remedy

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 18:12:54 -07:00
..