From f276ccbbc36b2d595f9042df96d968c7edab3d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 20 Nov 2020 16:24:03 +0100 Subject: [PATCH] Drop assignable systemtag column 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 1763bd791c..d3b97c1fd7 100644 --- a/core/Migrations/Version21000Date20201120141228.php +++ b/core/Migrations/Version21000Date20201120141228.php @@ -18,6 +18,13 @@ class Version21000Date20201120141228 extends SimpleMigrationStep { $schema->dropTable('dav_job_status'); } + if ($schema->hasTable('systemtag')) { + $table = $schema->getTable('systemtag'); + if ($table->hasColumn('systemtag')) { + $table->dropColumn('assignable'); + } + } + return $schema; } }