Add table name configuration for flyway db init (default still schema_version) (#2380)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -51,7 +51,7 @@ public class HawkbitFlywayDbInit {
|
||||
final Flyway flyway = Flyway.configure()
|
||||
.dataSource(URL, USER, PASSWORD)
|
||||
.cleanDisabled(true)
|
||||
.table("schema_version")
|
||||
.table(prop("table", "schema_version"))
|
||||
.sqlMigrationSuffixes(prop("sql-migration-suffixes", suffix(URL)) + ".sql")
|
||||
.validateOnMigrate(true)
|
||||
.envVars()
|
||||
|
||||
Reference in New Issue
Block a user