aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version16000Date20190427105638.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Migrations/Version16000Date20190427105638.php')
-rw-r--r--core/Migrations/Version16000Date20190427105638.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/Migrations/Version16000Date20190427105638.php b/core/Migrations/Version16000Date20190427105638.php
index 2a6b4d8290e..15ee87a9bc5 100644
--- a/core/Migrations/Version16000Date20190427105638.php
+++ b/core/Migrations/Version16000Date20190427105638.php
@@ -23,7 +23,6 @@ declare(strict_types=1);
namespace OC\Core\Migrations;
use Closure;
-use Doctrine\DBAL\Types\Type;
use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection;
use OCP\Migration\SimpleMigrationStep;
@@ -65,12 +64,7 @@ class Version16000Date20190427105638 extends SimpleMigrationStep {
if ($schema->hasTable('collres_accesscache')) {
$table = $schema->getTable('collres_accesscache');
-
- $table->changeColumn('access', [
- 'type' => Type::getType(Type::BOOLEAN),
- 'notnull' => true,
- 'default' => false,
- ]);
+ $table->dropColumn('access');
}
return $schema;