Table Diff.
Methods | ||
---|---|---|
public
|
__construct(
string $tableName,
Column[] $addedColumns = [],
ColumnDiff[] $changedColumns = [],
Column[] $removedColumns = [],
Index[] $addedIndexes = [],
Index[] $changedIndexes = [],
Index[] $removedIndexes = [],
?Table $fromTable = null,
)
|
# |
public
|
getName(AbstractPlatform $platform): Identifier
|
# |
public
|
getNewName(): Identifier|false
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$name
|
# |
public
|
string|false
|
$newName = false
|
# |
public
|
Column[]
|
$addedColumns
|
# |
public
|
ColumnDiff[]
|
$changedColumns = []
|
# |
public
|
Column[]
|
$removedColumns = []
|
# |
public
|
Column[]
|
$renamedColumns = []
|
# |
public
|
Index[]
|
$addedIndexes = []
|
# |
public
|
Index[]
|
$changedIndexes = []
|
# |
public
|
Index[]
|
$removedIndexes = []
|
# |
public
|
Index[]
|
$renamedIndexes = []
|
# |
public
|
ForeignKeyConstraint[]
|
$addedForeignKeys = []
|
# |
public
|
ForeignKeyConstraint[]
|
$changedForeignKeys = []
|
# |
public
|
ForeignKeyConstraint[]|string[]
|
$removedForeignKeys = []
|
# |
public
|
Table|null
|
$fromTable
|
# |