From 1fe7836c8d860d7f9171f08fdd31155d019eaa4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 20 Nov 2020 16:29:02 +0100 Subject: [PATCH] Drop attributes on oc_share table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/Migrations/Version21000Date20201120141228.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php index d3b97c1fd7..bbf77093fb 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; } }