diff options
Diffstat (limited to 'apps/dav/lib/Migration/Version1008Date20181105110300.php')
-rw-r--r-- | apps/dav/lib/Migration/Version1008Date20181105110300.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Migration/Version1008Date20181105110300.php b/apps/dav/lib/Migration/Version1008Date20181105110300.php index e36ec34dd8d..55b14f3ccbf 100644 --- a/apps/dav/lib/Migration/Version1008Date20181105110300.php +++ b/apps/dav/lib/Migration/Version1008Date20181105110300.php @@ -27,7 +27,7 @@ declare(strict_types=1); namespace OCA\DAV\Migration; use Closure; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use OCP\DB\ISchemaWrapper; use OCP\IDBConnection; use OCP\Migration\IOutput; @@ -57,7 +57,7 @@ class Version1008Date20181105110300 extends SimpleMigrationStep { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); $table = $schema->getTable('calendarsubscriptions'); - $table->addColumn('source', Type::TEXT, [ + $table->addColumn('source', Types::TEXT, [ 'notnull' => false, 'length' => null, ]); |