Version20170610000000
class Version20170610000000 extends AbstractMigration (View source)
Properties
protected | $app | from AbstractMigration |
Methods
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.
from
AbstractMigration
deleteInvalidForeignKey(string $table, string $field, string $linkedTable, string $linkedField)
Delete the records in a table whose field references not existing values of another table.
from
AbstractMigration
up(Schema $schema)
No description
down(Schema $schema)
No description
Details
__construct(Version $version)
No description
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.
up(Schema $schema)
No description
down(Schema $schema)
No description