Version20150504000000
class Version20150504000000 extends AbstractMigration implements RepeatableMigrationInterface, LongRunningMigrationInterface (View source)
Properties
protected | $app | from AbstractMigration | |
protected | $validAttributes | from AbstractMigration | |
Connection | $connection | from AbstractMigration | |
private | $updateSectionPlurals | ||
private | $updateMultilingualTranslations |
Methods
Override this method when the database structure is upgraded using ONLY the DBAL Schema object.
Override this method when database schema is not upgraded, or when it's upgraded without using a Schema.
Override this method when the database structure is downgraded using ONLY the DBAL Schema object.
Override this method when database schema is not downgraded, or when it's downgraded without using a Schema.
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.
Create a new SinglePage (if it does not exist).
{@inheritdoc}
No description
No description
Details
__construct(Version $version)
No description
upgradeSchema(Schema $schema)
Override this method when the database structure is upgraded using ONLY the DBAL Schema object.
upgradeDatabase()
Override this method when database schema is not upgraded, or when it's upgraded without using a Schema.
downgradeSchema(Schema $schema)
Override this method when the database structure is downgraded using ONLY the DBAL Schema object.
downgradeDatabase()
Override this method when database schema is not downgraded, or when it's downgraded without using a Schema.
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.
protected
isAttributeHandleValid($categoryClass, $handle)
No description
protected Page
createSinglePage(string $path, string $name = '', array $attributes = [])
Create a new SinglePage (if it does not exist).
getDescription()
{@inheritdoc}
installMaintenanceModePermission()
No description
protected
updatePermissionDurationObjects()
No description