diff options
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version16000Date20190427105638.php | 5 |
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, ]); |