Class InitialValuesStatusFragment
java.lang.Object
ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ch.tocco.nice2.dbrefactoring.impl.install.fragments.InitialValuesStatusFragment
- All Implemented Interfaces:
InstallFragment
This fragment creates and fills the initial_values_status table, which is used in
YamlInitialValuesFragment
to figure out how to handle values that are inserted into existing databases. We need to insert previously deleted
lookup entities as inactive, since the customer do not want to see new entities, but we need them in the system so
we can keep track of them.
This fragment and the status table can be deleted after all customers are updated to 2.22.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
JdbcHelper.SqlFunction<A,
B> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioninstall
(InstallParameters params) Executes this fragments install routine and returns a report.Methods inherited from class ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ddlStatement, tableExists, uniqueIndexExists, withConnection, withResultSet, withStatement
-
Constructor Details
-
InitialValuesStatusFragment
-
-
Method Details
-
install
Description copied from interface:InstallFragment
Executes this fragments install routine and returns a report. This will affect all modules.- Specified by:
install
in interfaceInstallFragment
- Returns:
- a report for this install fragment
-