Class ConstraintCreator
- java.lang.Object
-
- com.atlassian.confluence.internal.upgrade.constraint.ConstraintCreator
-
public class ConstraintCreator extends Object
Create a unique constraint. Works with all supported Database vendors.- Since:
- 7.1.0
-
-
Constructor Summary
Constructors Constructor Description ConstraintCreator(DdlExecutor ddlExecutor, AlterTableExecutor alterTableExecutor)
-
-
-
Constructor Detail
-
ConstraintCreator
public ConstraintCreator(DdlExecutor ddlExecutor, AlterTableExecutor alterTableExecutor)
-
-
Method Detail
-
create
public void create(String table, String name, List<String> columns) throws UpgradeException
- Throws:
UpgradeException
-
-