MetadataStorage
        MetadataStorage.php
                :
        17
                 
    
            Interface
                Responsible for handling migration metadata. In particular, what migrations are already executed and when.
Methods¶
                 complete()
            ¶
complete()
            ¶
    
        
        MetadataStorage.php
                :
        34
                 
    
        Mark migration as completed.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $result | ExecutionResult | - | - | 
                 ensureInitialized()
            ¶
ensureInitialized()
            ¶
    
        
        MetadataStorage.php
                :
        23
                 
    
        Prepares gateway for writing/reading. For relational databases this would usually mean creating or updating a table and it's columns.
|  |  | 
                 getExecutedMigrations()
            ¶
getExecutedMigrations()
            ¶
    
        
        MetadataStorage.php
                :
        29
                 
    
        Queries gateway to get all executed migrations. This also includes migrations that were previously executed, but are not longer stored in migration directory (i.e. are no longer available).
|  |  | 
Return values
ExecutedMigrationsList
                 reset()
            ¶
reset()
            ¶
    
        
        MetadataStorage.php
                :
        39
                 
    
        Resets gateway to it's original state. Removes all information about executed migrations.
|  |  |