Kuba Petržílka
01/28/2021, 7:58 PMEndre Deak
01/28/2021, 8:08 PMJoel
01/29/2021, 12:59 PMKuba Petržílka
01/29/2021, 1:13 PMJoel
01/29/2021, 1:16 PMJoel
01/29/2021, 1:16 PMJabez Magomere
01/29/2021, 3:53 PMJoel
01/29/2021, 3:54 PMfun Collection<Table>.migrateAll() {
logger.warn("Migrating tables '{}'", map(Table::tableName))
logger.debug("ddl {}", map(Table::ddl).joinToString())
SchemaUtils.createMissingTablesAndColumns(*toTypedArray())
}
It's not a migration per-say, it just updates all the tables to match the current definitionJabez Magomere
01/29/2021, 6:30 PMSchemaUtils.createMissingTablesAndColumns()
and db migrations using a tool like flyway, what effects do both have on a database, and what would work in a prod env?Joel
01/29/2021, 8:19 PMSchemaUtils.createMissingTablesAndColumns()
has worked just fine.Joel
01/29/2021, 8:20 PMpserzh
02/07/2021, 8:24 PM