Skip to content

Commit

Permalink
Also add missing oc_share_external.share_type column
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
  • Loading branch information
PVince81 committed Dec 23, 2020
1 parent 07bf663 commit 4b57c47
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
]);
$changed = true;
}
if (!$table->hasColumn('share_type')) {
$table->addColumn('share_type', Types::INTEGER, [
'notnull' => false,
'length' => 4,
]);
}
if ($table->hasColumn('lastscan')) {
$table->dropColumn('lastscan');
$changed = true;
Expand Down

0 comments on commit 4b57c47

Please sign in to comment.