diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-04-27 23:03:24 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-05-02 21:10:47 +0200 |
commit | 541e7c19f60c12dac3e25e8fe7d0dcfc944faa00 (patch) | |
tree | 7397cc016778103f83d022d172718c17b4e64414 /core | |
parent | 37b6405a8ae64f634fb2482574331cddec92bc4d (diff) | |
download | nextcloud-server-541e7c19f60c12dac3e25e8fe7d0dcfc944faa00.tar.gz nextcloud-server-541e7c19f60c12dac3e25e8fe7d0dcfc944faa00.zip |
Pass type object instance instead of identifier
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/Migrations/Version16000Date20190427105638.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Migrations/Version16000Date20190427105638.php b/core/Migrations/Version16000Date20190427105638.php index 6ba83a56d12..2a6b4d8290e 100644 --- a/core/Migrations/Version16000Date20190427105638.php +++ b/core/Migrations/Version16000Date20190427105638.php @@ -57,6 +57,7 @@ class Version16000Date20190427105638 extends SimpleMigrationStep { * @param array $options * @return null|ISchemaWrapper * @throws \Doctrine\DBAL\Schema\SchemaException + * @throws \Doctrine\DBAL\DBALException */ public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { /** @var ISchemaWrapper $schema */ @@ -66,7 +67,7 @@ class Version16000Date20190427105638 extends SimpleMigrationStep { $table = $schema->getTable('collres_accesscache'); $table->changeColumn('access', [ - 'type' => Type::BOOLEAN, + 'type' => Type::getType(Type::BOOLEAN), 'notnull' => true, 'default' => false, ]); |