MigrationService
        MigrationService.php
                :
        13
                 
    
            Interface
                Methods¶
                 add()
            ¶
add()
            ¶
    
        
        MigrationService.php
                :
        20
                 
    
        Adds a migration into their storage.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $migration | Migration | - | - | 
Tags
                 executeAll()
            ¶
executeAll()
            ¶
    
        
        MigrationService.php
                :
        55
                 
    
        Executes all available (present in migration storage) migration that are not yet executed.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $userLogin | string|null | null | User login to execute migrations as. I not passed a default one should be used. | 
Tags
                 executeOne()
            ¶
executeOne()
            ¶
    
        
        MigrationService.php
                :
        44
                 
    
        Executes a single migration and stores the result in metadata storage.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $migration | Migration | - | - | 
| $userLogin | string|null | null | User login to execute migrations as. If not passed a default one should be used. | 
Tags
                 findOneByName()
            ¶
findOneByName()
            ¶
    
        
        MigrationService.php
                :
        62
                 
    
        Find a single Migration.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $name | string | - | - | 
Return values
Migration|null
                 isMigrationExecuted()
            ¶
isMigrationExecuted()
            ¶
    
        
        MigrationService.php
                :
        32
                 
    
        Checks if Migration is already marked as executed in database.
|  |  | 
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $migration | Migration | - | - | 
Return values
bool
                 listMigrations()
            ¶
listMigrations()
            ¶
    
        
        MigrationService.php
                :
        27
                 
    
        Return Migrations ordered alphabetically by their names.
|  |  | 
Return values
array<string|int, Migration>