AbstractMigration
abstract class AbstractMigration extends AbstractMigration (View source)
Properties
protected | $app |
Methods
__construct(Version $version)
No description
up(Schema $schema)
{@inheritdoc}
postUp(Schema $schema)
{@inheritdoc}
down(Schema $schema)
{@inheritdoc}
postDown(Schema $schema)
{@inheritdoc}
output($message)
No description
refreshEntities($entities = null)
No description
refreshDatabaseTables($tables)
No description
refreshBlockType($btHandle)
No description
nullifyInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)
Set to NULL the fields in a table that reference not existing values of another table.
deleteInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)
Delete the records in a table whose field references not existing values of another table.
Details
__construct(Version $version)
No description
final
up(Schema $schema)
{@inheritdoc}
final
postUp(Schema $schema)
{@inheritdoc}
final
down(Schema $schema)
{@inheritdoc}
final
postDown(Schema $schema)
{@inheritdoc}
protected
output($message)
No description
protected
refreshEntities($entities = null)
No description
protected
refreshDatabaseTables($tables)
No description
protected
refreshBlockType($btHandle)
No description
protected
nullifyInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)
Set to NULL the fields in a table that reference not existing values of another table.
protected
deleteInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)
Delete the records in a table whose field references not existing values of another table.