public class AddPrimaryKeyChange extends TableChangeImplBase
| Constructor and Description |
|---|
AddPrimaryKeyChange(String tableName,
String[] primaryKeyColumns)
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[] |
getPrimaryKeyColumns()
Returns the primary key column names making up the new primary key.
|
findChangedTable, getChangedTablepublic String[] getPrimaryKeyColumns()
public void apply(Database model, boolean caseSensitive)
model - The databasecaseSensitive - Whether the case of names mattersCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.