]> source.dussan.org Git - nextcloud-server.git/commitdiff
Drop assignable systemtag column
authorJulius Härtl <jus@bitgrid.net>
Fri, 20 Nov 2020 15:24:03 +0000 (16:24 +0100)
committerJulius Härtl <jus@bitgrid.net>
Mon, 14 Dec 2020 10:12:51 +0000 (11:12 +0100)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
core/Migrations/Version21000Date20201120141228.php

index 1763bd791c5fdf410c75ca227a2a49b24ab9955e..d3b97c1fd722e449f3a0bf6be376eec11b54cc49 100644 (file)
@@ -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;
        }
 }