Version20150515000000
class Version20150515000000 extends AbstractMigration implements DirectSchemaUpgraderInterface (View source)
Properties
protected | $app | from AbstractMigration |
Methods
Set to NULL the fields in a table that reference not existing values of another table.
Delete the records in a table whose field references not existing values of another table.
{@inheritdoc}
Upgrade the database structure with direct database access.
No description
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.
getDescription()
{@inheritdoc}
upgradeDatabase()
Upgrade the database structure with direct database access.
protected
purgeOrphanedScrapbooksBlocks()
No description