aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-11-20 16:29:02 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-09 12:13:34 +0100
commitfe80a65c3ed3eb3501ad58310402ecc6cef1c8b6 (patch)
tree1f917573504056fddfb341427d3707284fd9efd9
parentf276ccbbc36b2d595f9042df96d968c7edab3d9b (diff)
downloadnextcloud-server-fe80a65c3ed3eb3501ad58310402ecc6cef1c8b6.tar.gz
nextcloud-server-fe80a65c3ed3eb3501ad58310402ecc6cef1c8b6.zip
Drop attributes on oc_share table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--core/Migrations/Version21000Date20201120141228.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php
index d3b97c1fd72..bbf77093fb8 100644
--- a/core/Migrations/Version21000Date20201120141228.php
+++ b/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;
}
}