Package liquibase.statement
Class UniqueConstraint
java.lang.Object
liquibase.statement.UniqueConstraint
- All Implemented Interfaces:
ColumnConstraint
-
Constructor Summary
ConstructorDescriptionUniqueConstraint
(String constraintName) UniqueConstraint
(String constraintName, boolean validateUnique) -
Method Summary
Modifier and TypeMethodDescriptionaddColumns
(String... columns) void
setConstraintName
(String constraintName) void
setValidateUnique
(boolean validateUnique) boolean
-
Constructor Details
-
UniqueConstraint
public UniqueConstraint() -
UniqueConstraint
-
UniqueConstraint
-
-
Method Details
-
addColumns
-
getConstraintName
-
setConstraintName
-
getColumns
-
shouldValidateUnique
public boolean shouldValidateUnique() -
setValidateUnique
public void setValidateUnique(boolean validateUnique)
-