@@ -26,18 +26,21 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function perform(FilesInterface $files) |
| 28 | 28 | { |
| 29 | - if (!$this->verifyConfigured()) { |
|
| 29 | + if (!$this->verifyConfigured()) |
|
| 30 | + { |
|
| 30 | 31 | return; |
| 31 | 32 | } |
| 32 | 33 | |
| 33 | - if (empty($this->migrator->getMigrations())) { |
|
| 34 | + if (empty($this->migrator->getMigrations())) |
|
| 35 | + { |
|
| 34 | 36 | $this->writeln("<comment>No migrations were found.</comment>"); |
| 35 | 37 | |
| 36 | 38 | return; |
| 37 | 39 | } |
| 38 | 40 | |
| 39 | 41 | $table = $this->table(['Migration', 'Created at', 'Executed at']); |
| 40 | - foreach ($this->migrator->getMigrations() as $migration) { |
|
| 42 | + foreach ($this->migrator->getMigrations() as $migration) |
|
| 43 | + { |
|
| 41 | 44 | $state = $migration->getState(); |
| 42 | 45 | |
| 43 | 46 | $table->addRow([ |