Differences between two schemas.
The object contains the operations to change the schema stored in $fromSchema to a target schema.
| Methods | ||
|---|---|---|
public
|
getCreatedSchemas(): array<string>
|
# |
public
|
getDroppedSchemas(): array<string>
|
# |
public
|
getCreatedTables(): array<Table>
|
# |
public
|
getAlteredTables(): array<TableDiff>
|
# |
public
|
getDroppedTables(): array<Table>
|
# |
public
|
getCreatedSequences(): array<Sequence>
|
# |
public
|
getAlteredSequences(): array<Sequence>
|
# |
public
|
getDroppedSequences(): array<Sequence>
|
# |
public
|
isEmpty(): bool
|
# |
public
|
toSaveSql(AbstractPlatform $platform): list<string>
|
# |
public
|
toSql(AbstractPlatform $platform): list<string>
|
# |
protected
|
_toSql(AbstractPlatform $platform, bool $saveMode = false): list<string>
|
# |
| Properties | |||
|---|---|---|---|
public
|
Schema|null
|
$fromSchema
|
# |
public
|
ForeignKeyConstraint[]
|
$orphanedForeignKeys = []
|
# |