Class FlywayConfiguration
java.lang.Object
io.github.blyznytsiaorg.bibernate.config.FlywayConfiguration
Configures and executes Flyway database migrations based on the provided BibernateDatabaseSettings.
- Since:
- 1.0
- Author:
- Blyzhnytsia Team
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFlywayConfiguration
(BibernateDatabaseSettings bibernateDatabaseSettings) Initializes Flyway and executes migrations if Flyway is enabled in the Bibernate settings. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
initFlyway
(BibernateDatabaseSettings bibernateDatabaseSettings) Initializes Flyway with the provided BibernateDatabaseSettings and executes migrations if Flyway is enabled.
-
Field Details
-
DB_MIGRATION_FILE_NAME
The name of the migration folder.- See Also:
-
-
Constructor Details
-
FlywayConfiguration
Initializes Flyway and executes migrations if Flyway is enabled in the Bibernate settings.- Parameters:
bibernateDatabaseSettings
- the Bibernate database settings
-
-
Method Details
-
initFlyway
Initializes Flyway with the provided BibernateDatabaseSettings and executes migrations if Flyway is enabled.- Parameters:
bibernateDatabaseSettings
- the Bibernate database settings
-