Package org.nuiton.topia.flyway
Interface TopiaFlywayService
- All Superinterfaces:
TopiaMigrationService,TopiaService
- All Known Implementing Classes:
TopiaFlywayServiceImpl
Integrates Topia with Flyway database migration framework.
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIf you want flyway to init with an already existing DB, you must use this configuration and give, as value the version of the already existing schema.static final StringDeprecated.static final StringTells ToPIA to set (or not) the Flyway's target version from the model version. -
Method Summary
Methods inherited from interface org.nuiton.topia.persistence.TopiaMigrationService
getSchemaVersion, initOnCreateSchema, runSchemaMigrationMethods inherited from interface org.nuiton.topia.persistence.TopiaService
close, initTopiaService
-
Field Details
-
FLYWAY_INIT_VERSION
Deprecated.- See Also:
-
FLYWAY_BASELINE_VERSION
If you want flyway to init with an already existing DB, you must use this configuration and give, as value the version of the already existing schema.- See Also:
-
USE_MODEL_VERSION
Tells ToPIA to set (or not) the Flyway's target version from the model version. Expected values are "true" or "false". The default one is "true".- See Also:
-
FLYWAY_BASELINE_VERSION