Class AddContentReferenceSourceFksFragment
java.lang.Object
ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
ch.tocco.nice2.dms.impl.reference.dbrefactoring.AddContentReferenceSourceFksFragment
- All Implemented Interfaces:
InstallFragment
@Component
public class AddContentReferenceSourceFksFragment
extends JdbcHelper
implements InstallFragment
Add FK columns on nice_content_reference_source to entities which have at least one HTML field.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.dbrefactoring.spi.liquibase.JdbcHelper
JdbcHelper.SqlFunction<A,
B> -
Constructor Summary
ConstructorDescriptionAddContentReferenceSourceFksFragment
(DataModel dataModel, DataSource dataSource, MetaDataRegistry metaDataRegistry, org.slf4j.Logger log) -
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
-
AddContentReferenceSourceFksFragment
public AddContentReferenceSourceFksFragment(DataModel dataModel, DataSource dataSource, MetaDataRegistry metaDataRegistry, org.slf4j.Logger log)
-
-
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
-