Version20180119000000
class Version20180119000000 extends AbstractMigration implements DirectSchemaUpgraderInterface (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
upgradeDatabase()
Upgrade the database structure with direct database access.
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.
upgradeDatabase()
Upgrade the database structure with direct database access.