summaryrefslogtreecommitdiffstats
path: root/core/Migrations
diff options
context:
space:
mode:
Diffstat (limited to 'core/Migrations')
-rw-r--r--core/Migrations/Version16000Date20190427105638.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Migrations/Version16000Date20190427105638.php b/core/Migrations/Version16000Date20190427105638.php
index ca5bf3fbb91..6ba83a56d12 100644
--- a/core/Migrations/Version16000Date20190427105638.php
+++ b/core/Migrations/Version16000Date20190427105638.php
@@ -65,9 +65,8 @@ class Version16000Date20190427105638 extends SimpleMigrationStep {
if ($schema->hasTable('collres_accesscache')) {
$table = $schema->getTable('collres_accesscache');
- $table->dropColumn('access');
-
- $table->addColumn('access', Type::BOOLEAN, [
+ $table->changeColumn('access', [
+ 'type' => Type::BOOLEAN,
'notnull' => true,
'default' => false,
]);