diff options
Diffstat (limited to 'apps/dav/lib/Migration/Version1006Date20180628111625.php')
-rw-r--r-- | apps/dav/lib/Migration/Version1006Date20180628111625.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/dav/lib/Migration/Version1006Date20180628111625.php b/apps/dav/lib/Migration/Version1006Date20180628111625.php index 08a5951d8df..d83b23b27f6 100644 --- a/apps/dav/lib/Migration/Version1006Date20180628111625.php +++ b/apps/dav/lib/Migration/Version1006Date20180628111625.php @@ -28,7 +28,7 @@ declare(strict_types=1); namespace OCA\DAV\Migration; -use Doctrine\DBAL\Types\Type; +use Doctrine\DBAL\Types\Types; use OCP\DB\ISchemaWrapper; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep; @@ -47,7 +47,7 @@ class Version1006Date20180628111625 extends SimpleMigrationStep { if ($schema->hasTable('calendarchanges')) { $calendarChangesTable = $schema->getTable('calendarchanges'); - $calendarChangesTable->addColumn('calendartype', Type::INTEGER, [ + $calendarChangesTable->addColumn('calendartype', Types::INTEGER, [ 'notnull' => true, 'default' => 0, ]); @@ -60,7 +60,7 @@ class Version1006Date20180628111625 extends SimpleMigrationStep { if ($schema->hasTable('calendarobjects')) { $calendarObjectsTable = $schema->getTable('calendarobjects'); - $calendarObjectsTable->addColumn('calendartype', Type::INTEGER, [ + $calendarObjectsTable->addColumn('calendartype', Types::INTEGER, [ 'notnull' => true, 'default' => 0, ]); @@ -73,7 +73,7 @@ class Version1006Date20180628111625 extends SimpleMigrationStep { if ($schema->hasTable('calendarobjects_props')) { $calendarObjectsPropsTable = $schema->getTable('calendarobjects_props'); - $calendarObjectsPropsTable->addColumn('calendartype', Type::INTEGER, [ + $calendarObjectsPropsTable->addColumn('calendartype', Types::INTEGER, [ 'notnull' => true, 'default' => 0, ]); |