Fix column name to check prior to deleting

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-01-07 10:50:36 +01:00 committed by backportbot[bot]
parent fb0067a777
commit 1142b17cda
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class Version21000Date20201120141228 extends SimpleMigrationStep {
if ($schema->hasTable('systemtag')) { if ($schema->hasTable('systemtag')) {
$table = $schema->getTable('systemtag'); $table = $schema->getTable('systemtag');
if ($table->hasColumn('systemtag')) { if ($table->hasColumn('assignable')) {
$table->dropColumn('assignable'); $table->dropColumn('assignable');
} }
} }