Drop attributes on oc_share table

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/23044/head
Julius Härtl 5 years ago
parent f276ccbbc3
commit fe80a65c3e
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 7
      core/Migrations/Version21000Date20201120141228.php

@ -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;
}
}

Loading…
Cancel
Save