| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 49 | public static function register(Cli $cli) |
||
| 50 | { |
||
| 51 | $cli = static::registerDatabaseOpts($cli); |
||
| 52 | $cli = static::registerMigrationOpts($cli); |
||
| 53 | |||
| 54 | return $cli |
||
| 55 | ->command(static::$name) |
||
| 56 | ->description('Run the database migrations.') |
||
| 57 | ->opt('path', 'The path of migrations files to be executed.') |
||
| 58 | ->opt('pretend', 'Dump the SQL queries that would be run.') |
||
| 59 | ->opt('step', 'Force the migrations to be run so they can be rolled back individually.'); |
||
| 60 | } |
||
| 61 | } |
||
| 62 |