Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| MigrateUp | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| run | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php declare(strict_types=1); |
| 2 | /* |
| 3 | * This file is part of Aplus Framework Dev Commands Library. |
| 4 | * |
| 5 | * (c) Natan Felles <natanfelles@gmail.com> |
| 6 | * |
| 7 | * For the full copyright and license information, please view the LICENSE |
| 8 | * file that was distributed with this source code. |
| 9 | */ |
| 10 | namespace Framework\CLI\Commands; |
| 11 | |
| 12 | /** |
| 13 | * Class MigrateUp. |
| 14 | * |
| 15 | * @package dev-commands |
| 16 | */ |
| 17 | class MigrateUp extends AbstractMigration |
| 18 | { |
| 19 | protected string $description = 'Runs migrations up.'; |
| 20 | |
| 21 | public function run() : void |
| 22 | { |
| 23 | $this->runMigration('up'); |
| 24 | } |
| 25 | } |