diff options
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, ]); } |