Skip to content

Commit 4425bf7

Browse files
committed
Drop oc_dav_job_status table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1 parent 762894d commit 4425bf7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace OC\Core\Migrations;
6+
7+
use Closure;
8+
use OCP\DB\ISchemaWrapper;
9+
use OCP\Migration\IOutput;
10+
use OCP\Migration\SimpleMigrationStep;
11+
12+
class Version21000Date20201120141228 extends SimpleMigrationStep {
13+
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper {
14+
/** @var ISchemaWrapper $schema */
15+
$schema = $schemaClosure();
16+
17+
if ($schema->hasTable('dav_job_status')) {
18+
$schema->dropTable('dav_job_status');
19+
}
20+
21+
return $schema;
22+
}
23+
}

0 commit comments

Comments
 (0)