Merge pull request #25009 from nextcloud/backport/25001/stable20
[stable20] Fix column name to check prior to deleting
This commit is contained in:
commit
102a6fedd0
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue