Andromadus Naruto
03/25/2025, 4:23 PMjessel
03/25/2025, 4:56 PMLuis Arcos
03/25/2025, 6:56 PMsimon.vergauwen
03/26/2025, 7:14 AMmigration-exposed
which allows generating a migration statements, and scripts from Kotlin code, and they're now building a Gradle plugin around it. Not sure if it'll make it in before 1.0.0, but might soon after in 1.1.0. https://github.com/JetBrains/Exposed/pull/2451
It's focusing on Flyway first, but Liquibase might be on the roadmap soon depending on feature requests. Most likely through it's SQL support.Duc
03/27/2025, 6:05 AMAndromadus Naruto
03/28/2025, 1:32 AMDuc
03/28/2025, 1:35 AMval statements = MigrationUtils.statementsRequiredForDatabaseMigration(*tables)
if (statements.isNotEmpty()) {
TransactionManager.current().execInBatch(statements)
}
If there is any migration that need run plain SQL(like foreign key conflict) then I will use flyway before migratingAndromadus Naruto
03/29/2025, 3:19 AM