diff --git a/lib/Migration/Version2200Date20240216164351.php b/lib/Migration/Version2200Date20240216164351.php index e7fe61e0c..a60e04887 100644 --- a/lib/Migration/Version2200Date20240216164351.php +++ b/lib/Migration/Version2200Date20240216164351.php @@ -25,11 +25,13 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt if ($schema->hasTable('ex_translation')) { $table = $schema->getTable('ex_translation'); - $table->addColumn('action_detect_lang', Types::STRING, [ - 'notnull' => false, - 'length' => 410, - 'default' => '', - ]); + if (!$table->hasColumn('action_detect_lang')) { + $table->addColumn('action_detect_lang', Types::STRING, [ + 'notnull' => false, + 'length' => 410, + 'default' => '', + ]); + } } return $schema;