Kora Database Migration

Kora 2.0 schema migrations on startup — FlywayJdbcDatabaseModule (io.koraframework:database-flyway) and LiquibaseJdbcDatabaseModule (io.koraframework:database-liquibase), wired as a GraphInterceptor<JdbcDataSource>. Covers FlywayConfig (enabled, mode, locations, executeInTransaction, validateOnMigrate, mixed, configurationProperties), LiquibaseConfig.changelog, the mandatory Flyway dialect artifact, and the out-of-process strategy for scaled services. Use when adding migrations to a @KoraApp, choosing Flyway vs Liquibase, or fixing 'Unsupported Database', checksum, or startup-race failures.

kora-projects 3bf0a3b 7 files · 69.9 KB Updated

File contents

kora-projects/kora-skills/tree/main/plugins/kora-v2/skills/kora-database-migration commit 3bf0a3b53f

Frequently asked questions

npx skillmds@latest add kora-projects/kora-database-migration-2