Version20190129000000
class Version20190129000000 extends AbstractMigration implements RepeatableMigrationInterface (View source)
Update scope descriptions and install missing scopes on upgrades.
Properties
| protected | $app | from AbstractMigration | |
| protected | $validAttributes | from AbstractMigration | |
| Connection | $connection | from AbstractMigration | |
| protected array | $mapping | 
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).
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                    void
    up(Schema $schema)
        
    
    {@inheritdoc}
        
        final                    void
    postUp(Schema $schema)
        
    
    {@inheritdoc}
        
        final                    void
    down(Schema $schema)
        
    
    {@inheritdoc}
        
        final                    void
    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 = [], $global = false)
        
    
    Create a new SinglePage (if it does not exist).
        
                        private    
    needsUpdating($key, $value)
        
    
    No description