Drop attributes on oc_share table

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-11-20 16:29:02 +01:00
parent f276ccbbc3
commit fe80a65c3e
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,13 @@ class Version21000Date20201120141228 extends SimpleMigrationStep {
}
}
if ($schema->hasTable('share')) {
$table = $schema->getTable('share');
if ($table->hasColumn('attributes')) {
$table->dropColumn('attributes');
}
}
return $schema;
}
}