Merge pull request #25009 from nextcloud/backport/25001/stable20

[stable20] Fix column name to check prior to deleting
This commit is contained in:
Roeland Jago Douma 2021-01-07 19:46:56 +01:00 committed by GitHub
commit 102a6fedd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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