diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-11-20 16:24:03 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-12-09 12:13:34 +0100 |
commit | f276ccbbc36b2d595f9042df96d968c7edab3d9b (patch) | |
tree | ea46ec7eac29658289ea327c5224651938c72621 /core/Migrations | |
parent | de67719d9fea794d4f219c142cb1d0f1b84ed08d (diff) | |
download | nextcloud-server-f276ccbbc36b2d595f9042df96d968c7edab3d9b.tar.gz nextcloud-server-f276ccbbc36b2d595f9042df96d968c7edab3d9b.zip |
Drop assignable systemtag column
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version21000Date20201120141228.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Migrations/Version21000Date20201120141228.php b/core/Migrations/Version21000Date20201120141228.php index 1763bd791c5..d3b97c1fd72 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; } } |