From 8b64e92b9262d2a2eec6345685ce421050f95c66 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sun, 3 Jan 2021 15:28:31 +0100 Subject: Bump doctrine/dbal from 2.12.0 to 3.0.0 Signed-off-by: Christoph Wurst --- core/Migrations/Version20000Date20201109081918.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/Migrations/Version20000Date20201109081918.php') diff --git a/core/Migrations/Version20000Date20201109081918.php b/core/Migrations/Version20000Date20201109081918.php index 71c433a2138..c5a19d0cbfb 100644 --- a/core/Migrations/Version20000Date20201109081918.php +++ b/core/Migrations/Version20000Date20201109081918.php @@ -28,7 +28,7 @@ declare(strict_types=1); namespace OC\Core\Migrations; use Closure; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use OCP\DB\ISchemaWrapper; use OCP\IDBConnection; use OCP\Migration\IOutput; @@ -55,20 +55,20 @@ class Version20000Date20201109081918 extends SimpleMigrationStep { if (!$schema->hasTable('storages_credentials')) { $table = $schema->createTable('storages_credentials'); - $table->addColumn('id', Type::BIGINT, [ + $table->addColumn('id', Types::BIGINT, [ 'autoincrement' => true, 'notnull' => true, 'length' => 64, ]); - $table->addColumn('user', Type::STRING, [ + $table->addColumn('user', Types::STRING, [ 'notnull' => false, 'length' => 64, ]); - $table->addColumn('identifier', Type::STRING, [ + $table->addColumn('identifier', Types::STRING, [ 'notnull' => true, 'length' => 64, ]); - $table->addColumn('credentials', Type::TEXT, [ + $table->addColumn('credentials', Types::TEXT, [ 'notnull' => false, ]); $table->setPrimaryKey(['id']); -- cgit v1.2.3