public class UniqueConstraintAddition extends Object
Constructor and Description |
---|
UniqueConstraintAddition(String name,
String table,
List<String> uniqueColumns,
String idColumn,
DedupeStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
boolean |
addIfMissing(ConstraintChecker constraintChecker,
Deduper deduper,
ConstraintCreator constraintCreator)
Add a required unique constraint if missing from the DB
|
String |
toString() |
public boolean addIfMissing(ConstraintChecker constraintChecker, Deduper deduper, ConstraintCreator constraintCreator) throws UpgradeException
UpgradeException
Copyright © 2003–2019 Atlassian. All rights reserved.