| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | { |
||
| 27 | if ($this->repository->repositoryExists()) { |
||
| 28 | $this->echoInfo('Migration table already exists.'); |
||
| 29 | return 0; |
||
| 30 | } |
||
| 31 | |||
| 32 | $this->repository->createRepository(); |
||
| 33 | $this->echoInfo('Migration table created successfully.'); |
||
| 34 | return 0; |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function register(Cli $cli) |
||
| 38 | { |
||
| 39 | $cli = static::registerDatabaseOpts($cli); |
||
| 47 |