| Methods |
public
|
getName(AbstractPlatform $platform): Identifier
Deprecated
Use {@see getOldTable()} instead.
Parameters
| $platform |
The platform to use for retrieving this table diff's name.
|
|
#
|
public
|
getNewName(): Identifier|false
Deprecated
Rename tables via {@link AbstractSchemaManager::renameTable()} instead.
|
#
|
public
|
getOldTable(): ?Table
|
#
|
public
|
getAddedColumns(): list<Column>
|
#
|
public
|
getModifiedColumns(): list<ColumnDiff>
|
#
|
public
|
getDroppedColumns(): list<Column>
|
#
|
public
|
getRenamedColumns(): array<string, Column>
|
#
|
public
|
getAddedIndexes(): list<Index>
|
#
|
public
|
getModifiedIndexes(): array<Index>
|
#
|
public
|
getDroppedIndexes(): list<Index>
|
#
|
public
|
getRenamedIndexes(): array<string, Index>
|
#
|
public
|
getAddedForeignKeys(): list<ForeignKeyConstraint>
|
#
|
public
|
getModifiedForeignKeys(): list<ForeignKeyConstraint>
|
#
|
public
|
getDroppedForeignKeys(): list<ForeignKeyConstraint|string>
|
#
|
public
|
isEmpty(): bool
Returns whether the diff is empty (contains no changes).
Returns whether the diff is empty (contains no changes).
|
#
|