Drop assignable systemtag column

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-11-20 16:24:03 +01:00
parent a35cba722d
commit 3373eff308
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@ class Version21000Date20201120141228 extends SimpleMigrationStep {
$schema->dropTable('dav_job_status'); $schema->dropTable('dav_job_status');
} }
if ($schema->hasTable('systemtag')) {
$table = $schema->getTable('systemtag');
if ($table->hasColumn('systemtag')) {
$table->dropColumn('assignable');
}
}
return $schema; return $schema;
} }
} }