Class LiquibaseConfig
java.lang.Object
se.fortnox.reactivewizard.db.config.DatabaseConfig
se.fortnox.reactivewizard.dbmigrate.LiquibaseConfig
Configure the database connection to use for liquibase migrations. This is usually the same configuration as for
"database" but you should use a different user, so that normal CRUD operations are not run with a user having
privileges to do CREATE/ALTER/DROP.
Note that if you have multiple modules with migrations, you should make the fatjar (shade) with a single merged migrations.xml:
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.XmlAppendingTransformer">
<resource>migrations.xml</resource>
</transformer>
</transformers>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class se.fortnox.reactivewizard.db.config.DatabaseConfig
getConnectionTimeout, getIdleTimeout, getMaxLifetime, getMinimumIdle, getPassword, getPoolSize, getSchema, getSlowQueryLogThreshold, getSocketTimeout, getUrl, getUser, setConnectionTimeout, setIdleTimeout, setMaxLifetime, setMinimumIdle, setPassword, setPoolSize, setSchema, setSlowQueryLogThreshold, setSocketTimeout, setUrl, setUser
-
Constructor Details
-
LiquibaseConfig
public LiquibaseConfig()
-
-
Method Details
-
getMigrationsFile
-
setMigrationsFile
-