diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 22:12:06 +0200 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-06-30 23:46:22 +0200 |
commit | 87dd760a89891d15f75175e5caa43a3983a28d38 (patch) | |
tree | b9365127a8f6856044739f32329d88e14684ee8a /core/Migrations/Version14000Date20180710092004.php | |
parent | 43216f0ac9e3841747019b8c2def0c58e71b8cca (diff) | |
download | nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.tar.gz nextcloud-server-87dd760a89891d15f75175e5caa43a3983a28d38.zip |
Replace TYPE with TYPES
As TYPE::* is deprecated.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core/Migrations/Version14000Date20180710092004.php')
-rw-r--r-- | core/Migrations/Version14000Date20180710092004.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Migrations/Version14000Date20180710092004.php b/core/Migrations/Version14000Date20180710092004.php index f44dbf42401..525836f9311 100644 --- a/core/Migrations/Version14000Date20180710092004.php +++ b/core/Migrations/Version14000Date20180710092004.php @@ -27,7 +27,7 @@ declare(strict_types=1); namespace OC\Core\Migrations; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use OCP\DB\ISchemaWrapper; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; @@ -40,7 +40,7 @@ class Version14000Date20180710092004 extends SimpleMigrationStep { $table = $schema->getTable('share'); if (!$table->hasColumn('password_by_talk')) { - $table->addColumn('password_by_talk', Type::BOOLEAN, [ + $table->addColumn('password_by_talk', Types::BOOLEAN, [ 'default' => 0, ]); } |