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 3373eff308
commit 1fe7836c8d
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;
}
}