Version20170201000000
class Version20170201000000 extends AbstractMigration implements DirectSchemaUpgraderInterface, DirectSchemaDowngraderInterface (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.
Upgrade the database structure with direct database access.
Downgrade 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.
upgradeDatabase()
Upgrade the database structure with direct database access.
downgradeDatabase()
Downgrade the database structure with direct database access.
protected Repository
getConfig()
No description