1 | <?php |
||
14 | class SqlMigrationRunner extends AbstractMigrationRunner |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * Returns supported file extension. |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | 150 | public function getFileExtension() |
|
26 | |||
27 | /** |
||
28 | * Runs the migration. |
||
29 | * |
||
30 | * @param string $migration_file Migration file. |
||
31 | * @param MigrationContext $context Migration context. |
||
32 | * |
||
33 | * @return void |
||
34 | * @throws \LogicException When an empty migration is discovered. |
||
35 | */ |
||
36 | 149 | public function run($migration_file, MigrationContext $context) |
|
51 | |||
52 | } |
||
53 |