@@ 211-220 (lines=10) @@ | ||
208 | ||
209 | $confirmation = $this->io->confirm($question); |
|
210 | ||
211 | if ($confirmation) { |
|
212 | $migrationResult = new ExecutionResult($version, Direction::DOWN); |
|
213 | $storage->complete($migrationResult); |
|
214 | $this->io->text(sprintf( |
|
215 | "<info>%s</info> deleted from the version table.\n", |
|
216 | (string) $version |
|
217 | )); |
|
218 | ||
219 | return; |
|
220 | } |
|
221 | } |
|
222 | ||
223 | $marked = false; |
|
@@ 253-261 (lines=9) @@ | ||
250 | "<info>%s</info> added to the version table.\n", |
|
251 | (string) $version |
|
252 | )); |
|
253 | } else { |
|
254 | $migrationResult = new ExecutionResult($version, Direction::DOWN); |
|
255 | $storage->complete($migrationResult); |
|
256 | ||
257 | $this->io->text(sprintf( |
|
258 | "<info>%s</info> deleted from the version table.\n", |
|
259 | (string) $version |
|
260 | )); |
|
261 | } |
|
262 | } |
|
263 | } |
|
264 |