public class PrimaryKeyChange extends TableChangeImplBase
| Constructor and Description |
|---|
PrimaryKeyChange(String tableName,
String[] newPrimaryKeyColumns)
Creates a new change object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Database model,
boolean caseSensitive)
Applies this change to the given database.
|
String[] |
getNewPrimaryKeyColumns()
Returns the names of the columns making up the new primary key.
|
findChangedTable, getChangedTablepublic String[] getNewPrimaryKeyColumns()
public void apply(Database model, boolean caseSensitive)
model - The databasecaseSensitive - Whether the case of names mattersCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.