We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c59e0f3 commit c69dacaCopy full SHA for c69daca
src/Commands/MigrateCommandExtension.php
@@ -27,6 +27,12 @@ public function handle(): int
27
return $this->call(MutexMigrateCommand::class, $this->getCommandOptions());
28
} catch (DatabaseCacheTableNotFoundException $e) {
29
if ($this->option(MutexMigrateCommand::OPTION_MUTEX)) {
30
+ if ($this->option('graceful')) {
31
+ $this->components->warn($e->getMessage());
32
+
33
+ return self::SUCCESS;
34
+ }
35
36
return self::FAILURE;
37
} elseif ($this->option(MutexMigrateCommand::OPTION_MUTEX_GRACEFUL)) {
38
$this->components->warn('Falling back to a standard migration');
0 commit comments