TableDiff
public class TableDiff
www.doctrine-project.org
Field Summary | |
---|---|
array(string=>Column) | All added fields |
array | All added foreign key definitions |
array(string=>Index) | All added indexes |
array(string=>Column) | All changed fields |
array | All changed foreign keys |
array(string=>Index) | All changed indexes |
string | |
string | |
array(string=>bool) | All removed fields |
array | All removed foreign keys |
array(string=>bool) | All removed indexes |
array(string=>Column) | Columns that are only renamed from key to column instance name. |
Constructor Summary | |
---|---|
TableDiff(mixed tableName, array(string=>Column) addedColumns, array(string=>Column) changedColumns, array(string=>bool) removedColumns, array(string=>Index) addedIndexes, array(string=>Index) changedIndexes, array(string=>bool) removedIndexes) Constructs an TableDiff object. |
public array(string=>Column) $addedColumns
All added fields
public array $addedForeignKeys = array()
All added foreign key definitions
public array(string=>Index) $addedIndexes = array()
All added indexes
public array(string=>Column) $changedColumns = array()
All changed fields
public array $changedForeignKeys = array()
All changed foreign keys
public array(string=>Index) $changedIndexes = array()
All changed indexes
public string $name = null
public string $newName = false
public array(string=>bool) $removedColumns = array()
All removed fields
public array $removedForeignKeys = array()
All removed foreign keys
public array(string=>bool) $removedIndexes = array()
All removed indexes
public array(string=>Column) $renamedColumns = array()
Columns that are only renamed from key to column instance name.
public TableDiff(mixed tableName, array(string=>Column) addedColumns, array(string=>Column) changedColumns, array(string=>bool) removedColumns, array(string=>Index) addedIndexes, array(string=>Index) changedIndexes, array(string=>bool) removedIndexes)
Constructs an TableDiff object.
Table Diff