Version20160725000000
class Version20160725000000 extends AbstractMigration implements LongRunningMigrationInterface (View source)
Traits
Properties
protected | $app | from AbstractMigration | |
protected | $validAttributes | from AbstractMigration | |
Connection | $connection | from AbstractMigration | |
private string[] | $delayedQueries |
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.
No description
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).
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
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).
addColumnIfMissing(Schema $schema)
No description
migrateDrafts()
No description
addNotifications()
No description
protected
prepareInvalidForeignKeys()
No description
protected
deleteInvalidAttributeValuesForeignKeys()
No description
protected
nullifyInvalidForeignKeys()
No description
protected
renameProblematicTables()
No description
protected
migrateOldPermissions()
No description
protected
migrateFileManagerPermissions()
No description
protected
migrateFileSetManagerPermissions($fsID, FileFolder $folder)
No description
protected
updateDoctrineXmlTables()
No description
protected
prepareProblematicEntityTables()
No description
protected
installOtherEntities()
No description
protected
installEntities($entities)
No description
protected
importAttributeKeys()
No description
protected
migrateAttributeValue($atHandle, $avID)
No description
protected
addAttributeValue($atID, $akID, $avID)
No description
protected
importAttributeKeySettings($atID, $akID)
No description
protected
importAttributeTypes()
No description
protected
addDashboard()
No description
protected
addBlockTypes()
No description
protected
addTreeNodeTypes()
No description
protected
installDesktops()
No description
protected
updateWorkflows()
No description
protected
installSite()
No description
protected
splittedTrackingCode()
No description
protected
addPermissions()
No description
protected
cleanupOldPermissions()
No description
protected
updateTopics()
No description
protected
updateFileManager()
No description
protected
updateJobs()
No description
protected
setupSinglePages()
No description
protected
installLocales()
No description
protected
fixStacks()
No description
protected
fixMultilingualPageRelations()
No description
private int[]
getCollectionIdTrail(int $cID)
No description
private
executeDelayedQueries()
No description
private
fixMissingCategoryNames()
No description