diff --git a/lib/Migration/Version10000Date20200819121721.php b/lib/Migration/Version10000Date20200819121721.php
index c4a26fd3da..ee84f1ca69 100644
--- a/lib/Migration/Version10000Date20200819121721.php
+++ b/lib/Migration/Version10000Date20200819121721.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version10000Date20201012144235.php b/lib/Migration/Version10000Date20201012144235.php
index fe9eea2e5d..2e1c45a7ed 100644
--- a/lib/Migration/Version10000Date20201012144235.php
+++ b/lib/Migration/Version10000Date20201012144235.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version10000Date20201015134000.php b/lib/Migration/Version10000Date20201015134000.php
index f8e23edb1e..1c058b75d7 100644
--- a/lib/Migration/Version10000Date20201015134000.php
+++ b/lib/Migration/Version10000Date20201015134000.php
@@ -27,13 +27,13 @@ namespace OCA\Talk\Migration;
use Closure;
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
-use Doctrine\DBAL\Types\Types;
use OCA\Talk\Model\Attendee;
use OCA\Talk\Participant;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\DB\Exception;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11000Date20200922161218.php b/lib/Migration/Version11000Date20200922161218.php
index 4798740bfe..3bdeabaabd 100644
--- a/lib/Migration/Version11000Date20200922161218.php
+++ b/lib/Migration/Version11000Date20200922161218.php
@@ -26,9 +26,9 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11000Date20201011082810.php b/lib/Migration/Version11000Date20201011082810.php
index 645fff90bc..73b996618f 100644
--- a/lib/Migration/Version11000Date20201011082810.php
+++ b/lib/Migration/Version11000Date20201011082810.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11000Date20201201102528.php b/lib/Migration/Version11000Date20201201102528.php
index ef31fb0a82..c5c7a88ad1 100644
--- a/lib/Migration/Version11000Date20201201102528.php
+++ b/lib/Migration/Version11000Date20201201102528.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11000Date20201204110210.php b/lib/Migration/Version11000Date20201204110210.php
index b7b72c8247..de6a68f93a 100644
--- a/lib/Migration/Version11000Date20201204110210.php
+++ b/lib/Migration/Version11000Date20201204110210.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11000Date20201209142525.php b/lib/Migration/Version11000Date20201209142525.php
index ffe4e6b54c..bb38bc8972 100644
--- a/lib/Migration/Version11000Date20201209142525.php
+++ b/lib/Migration/Version11000Date20201209142525.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version11001Date20210211111527.php b/lib/Migration/Version11001Date20210211111527.php
index ee4a47d519..1bf3b46609 100644
--- a/lib/Migration/Version11001Date20210211111527.php
+++ b/lib/Migration/Version11001Date20210211111527.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version12000Date20210528100404.php b/lib/Migration/Version12000Date20210528100404.php
index 85c3c94f43..801161ce8a 100644
--- a/lib/Migration/Version12000Date20210528100404.php
+++ b/lib/Migration/Version12000Date20210528100404.php
@@ -26,7 +26,6 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version13000Date20210625232111.php b/lib/Migration/Version13000Date20210625232111.php
index 3f19a546c4..72369bc72f 100644
--- a/lib/Migration/Version13000Date20210625232111.php
+++ b/lib/Migration/Version13000Date20210625232111.php
@@ -27,8 +27,8 @@ namespace OCA\Talk\Migration;
use Closure;
use Doctrine\DBAL\Schema\SchemaException;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version13000Date20210901164235.php b/lib/Migration/Version13000Date20210901164235.php
index ad21212735..97ae0fc738 100644
--- a/lib/Migration/Version13000Date20210901164235.php
+++ b/lib/Migration/Version13000Date20210901164235.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version13000Date20210921142733.php b/lib/Migration/Version13000Date20210921142733.php
index 96e6ba3e60..eb96e839ba 100644
--- a/lib/Migration/Version13000Date20210921142733.php
+++ b/lib/Migration/Version13000Date20210921142733.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version13000Date20211007192733.php b/lib/Migration/Version13000Date20211007192733.php
index 58369bf9bb..c0e36261bb 100644
--- a/lib/Migration/Version13000Date20211007192733.php
+++ b/lib/Migration/Version13000Date20211007192733.php
@@ -26,9 +26,9 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCA\Talk\Participant;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version14000Date20211203132513.php b/lib/Migration/Version14000Date20211203132513.php
index f2c68131eb..d068fc0f90 100644
--- a/lib/Migration/Version14000Date20211203132513.php
+++ b/lib/Migration/Version14000Date20211203132513.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version14000Date20220330141647.php b/lib/Migration/Version14000Date20220330141647.php
index d889f90acb..0f7be8a192 100644
--- a/lib/Migration/Version14000Date20220330141647.php
+++ b/lib/Migration/Version14000Date20220330141647.php
@@ -26,10 +26,10 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCA\Talk\Model\Attachment;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version2000Date20170707093535.php b/lib/Migration/Version2000Date20170707093535.php
index 3438bb589f..2c7cdee2fa 100644
--- a/lib/Migration/Version2000Date20170707093535.php
+++ b/lib/Migration/Version2000Date20170707093535.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version2001Date20170707115443.php b/lib/Migration/Version2001Date20170707115443.php
index 5a5f4b5e2c..5c1d4bfc42 100644
--- a/lib/Migration/Version2001Date20170707115443.php
+++ b/lib/Migration/Version2001Date20170707115443.php
@@ -24,12 +24,12 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
-use Doctrine\DBAL\Types\Types;
+use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use OCA\Talk\Participant;
use OCA\Talk\Room;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
@@ -120,7 +120,7 @@ class Version2001Date20170707115443 extends SimpleMigrationStep {
protected function makeOne2OneParticipantsOwners(array $one2oneRooms): int {
$update = $this->db->getQueryBuilder();
- if (!$this->db->getDatabasePlatform() instanceof PostgreSQL94Platform) {
+ if (!$this->db->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$update->update('spreedme_room_participants')
->set('participantType', $update->createNamedParameter(Participant::OWNER))
->where($update->expr()->in('roomId', $update->createNamedParameter($one2oneRooms, IQueryBuilder::PARAM_INT_ARRAY)));
@@ -140,7 +140,7 @@ class Version2001Date20170707115443 extends SimpleMigrationStep {
protected function makeGroupParticipantsModerators(array $one2oneRooms): int {
$update = $this->db->getQueryBuilder();
- if (!$this->db->getDatabasePlatform() instanceof PostgreSQL94Platform) {
+ if (!$this->db->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$update->update('spreedme_room_participants')
->set('participantType', $update->createNamedParameter(Participant::MODERATOR))
->where($update->expr()->nonEmptyString('userId'));
diff --git a/lib/Migration/Version2001Date20170913104501.php b/lib/Migration/Version2001Date20170913104501.php
index f676e7806f..88fc282a7c 100644
--- a/lib/Migration/Version2001Date20170913104501.php
+++ b/lib/Migration/Version2001Date20170913104501.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version2001Date20170921145301.php b/lib/Migration/Version2001Date20170921145301.php
index 85a9ff64bd..dbdfe3aab0 100644
--- a/lib/Migration/Version2001Date20170921145301.php
+++ b/lib/Migration/Version2001Date20170921145301.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version2001Date20171009132424.php b/lib/Migration/Version2001Date20171009132424.php
index d9c748fd7f..74b29d30f9 100644
--- a/lib/Migration/Version2001Date20171009132424.php
+++ b/lib/Migration/Version2001Date20171009132424.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -42,7 +42,7 @@ class Version2001Date20171009132424 extends SimpleMigrationStep {
$schema = $schemaClosure();
$table = $schema->getTable('spreedme_rooms');
- $table->addColumn('activeSince', Types::DATETIME_MUTABLE, [
+ $table->addColumn('activeSince', Types::DATETIME, [
'notnull' => false,
]);
$table->addColumn('activeGuests', Types::INTEGER, [
diff --git a/lib/Migration/Version2001Date20171026134605.php b/lib/Migration/Version2001Date20171026134605.php
index b65f102786..d0128756cb 100644
--- a/lib/Migration/Version2001Date20171026134605.php
+++ b/lib/Migration/Version2001Date20171026134605.php
@@ -26,10 +26,10 @@ namespace OCA\Talk\Migration;
use Doctrine\DBAL\Exception\InvalidFieldNameException;
use Doctrine\DBAL\Exception\TableNotFoundException;
-use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
-use Doctrine\DBAL\Types\Types;
+use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
@@ -108,7 +108,7 @@ class Version2001Date20171026134605 extends SimpleMigrationStep {
'length' => 255,
'default' => '',
]);
- $table->addColumn('activeSince', Types::DATETIME_MUTABLE, [
+ $table->addColumn('activeSince', Types::DATETIME, [
'notnull' => false,
]);
$table->addColumn('activeGuests', Types::INTEGER, [
@@ -210,7 +210,7 @@ class Version2001Date20171026134605 extends SimpleMigrationStep {
*/
protected function copyParticipants(array $roomIdMap): void {
$insert = $this->connection->getQueryBuilder();
- if (!$this->connection->getDatabasePlatform() instanceof PostgreSQL94Platform) {
+ if (!$this->connection->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$insert->insert('talk_participants')
->values([
'userId' => $insert->createParameter('userId'),
@@ -246,7 +246,7 @@ class Version2001Date20171026134605 extends SimpleMigrationStep {
->setParameter('lastPing', (int) $row['lastPing'], IQueryBuilder::PARAM_INT)
->setParameter('sessionId', $row['sessionId'])
;
- if (!$this->connection->getDatabasePlatform() instanceof PostgreSQL94Platform) {
+ if (!$this->connection->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$insert->setParameter('participantType', (int) $row['participantType'], IQueryBuilder::PARAM_INT);
} else {
$insert->setParameter('participantType', (int) $row['participanttype'], IQueryBuilder::PARAM_INT);
diff --git a/lib/Migration/Version2001Date20171031102049.php b/lib/Migration/Version2001Date20171031102049.php
index 94406ea057..95d39396de 100644
--- a/lib/Migration/Version2001Date20171031102049.php
+++ b/lib/Migration/Version2001Date20171031102049.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version2001Date20180103144447.php b/lib/Migration/Version2001Date20180103144447.php
index f65f6fa04d..fb163373a1 100644
--- a/lib/Migration/Version2001Date20180103144447.php
+++ b/lib/Migration/Version2001Date20180103144447.php
@@ -24,9 +24,9 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
-use Doctrine\DBAL\Types\Types;
+use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\IConfig;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
@@ -55,7 +55,7 @@ class Version2001Date20180103144447 extends SimpleMigrationStep {
$table = $schema->getTable('talk_rooms');
if (!$table->hasColumn('active_since')) {
- $table->addColumn('active_since', Types::DATETIME_MUTABLE, [
+ $table->addColumn('active_since', Types::DATETIME, [
'notnull' => false,
]);
$table->addColumn('active_guests', Types::INTEGER, [
@@ -116,7 +116,7 @@ class Version2001Date20180103144447 extends SimpleMigrationStep {
return;
}
- if (!$this->connection->getDatabasePlatform() instanceof PostgreSQL94Platform) {
+ if (!$this->connection->getDatabasePlatform() instanceof PostgreSQLPlatform) {
$update = $this->connection->getQueryBuilder();
$update->update('talk_rooms')
->set('active_since', 'activeSince')
diff --git a/lib/Migration/Version3003Date20180707222130.php b/lib/Migration/Version3003Date20180707222130.php
index 694b20ac9e..527a0ec989 100644
--- a/lib/Migration/Version3003Date20180707222130.php
+++ b/lib/Migration/Version3003Date20180707222130.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version3003Date20180718112436.php b/lib/Migration/Version3003Date20180718112436.php
index 8934c97313..5c4b89fc05 100644
--- a/lib/Migration/Version3003Date20180718112436.php
+++ b/lib/Migration/Version3003Date20180718112436.php
@@ -24,9 +24,9 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -51,7 +51,7 @@ class Version3003Date20180718112436 extends SimpleMigrationStep {
$table = $schema->getTable('talk_rooms');
if (!$table->hasColumn('last_activity')) {
- $table->addColumn('last_activity', Types::DATETIME_MUTABLE, [
+ $table->addColumn('last_activity', Types::DATETIME, [
'notnull' => false,
]);
diff --git a/lib/Migration/Version3003Date20180718133519.php b/lib/Migration/Version3003Date20180718133519.php
index de08102704..c1957a5245 100644
--- a/lib/Migration/Version3003Date20180718133519.php
+++ b/lib/Migration/Version3003Date20180718133519.php
@@ -22,8 +22,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version3003Date20180720162342.php b/lib/Migration/Version3003Date20180720162342.php
index 50d0cc6919..92b47853fa 100644
--- a/lib/Migration/Version3003Date20180720162342.php
+++ b/lib/Migration/Version3003Date20180720162342.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version3003Date20180722152849.php b/lib/Migration/Version3003Date20180722152849.php
index e3241332b7..fe1c319551 100644
--- a/lib/Migration/Version3003Date20180722152849.php
+++ b/lib/Migration/Version3003Date20180722152849.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version3003Date20180730080327.php b/lib/Migration/Version3003Date20180730080327.php
index bf24521734..38fb8b76b3 100644
--- a/lib/Migration/Version3003Date20180730080327.php
+++ b/lib/Migration/Version3003Date20180730080327.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
*/
namespace OCA\Talk\Migration;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -43,7 +43,7 @@ class Version3003Date20180730080327 extends SimpleMigrationStep {
$table = $schema->getTable('talk_participants');
if (!$table->hasColumn('last_mention')) {
- $table->addColumn('last_mention', Types::DATETIME_MUTABLE, [
+ $table->addColumn('last_mention', Types::DATETIME, [
'notnull' => false,
]);
}
diff --git a/lib/Migration/Version4099Date20181001123058.php b/lib/Migration/Version4099Date20181001123058.php
index 5a6df27e1a..fc1f66144b 100644
--- a/lib/Migration/Version4099Date20181001123058.php
+++ b/lib/Migration/Version4099Date20181001123058.php
@@ -23,9 +23,9 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCA\Talk\Participant;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version5099Date20190121102337.php b/lib/Migration/Version5099Date20190121102337.php
index e77c656c32..c7320205c2 100644
--- a/lib/Migration/Version5099Date20190121102337.php
+++ b/lib/Migration/Version5099Date20190121102337.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version5099Date20190319134820.php b/lib/Migration/Version5099Date20190319134820.php
index a6cc4cdc6c..43192298f8 100644
--- a/lib/Migration/Version5099Date20190319134820.php
+++ b/lib/Migration/Version5099Date20190319134820.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version6099Date20190627172429.php b/lib/Migration/Version6099Date20190627172429.php
index 7bb765db08..42bd485c54 100644
--- a/lib/Migration/Version6099Date20190627172429.php
+++ b/lib/Migration/Version6099Date20190627172429.php
@@ -24,8 +24,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -49,7 +49,7 @@ class Version6099Date20190627172429 extends SimpleMigrationStep {
'length' => 6,
'default' => 0,
]);
- $table->addColumn('lobby_timer', Types::DATETIME_MUTABLE, [
+ $table->addColumn('lobby_timer', Types::DATETIME, [
'notnull' => false,
]);
}
diff --git a/lib/Migration/Version7000Date20190717141457.php b/lib/Migration/Version7000Date20190717141457.php
index fede6b058a..91ee119b4d 100644
--- a/lib/Migration/Version7000Date20190717141457.php
+++ b/lib/Migration/Version7000Date20190717141457.php
@@ -23,8 +23,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
@@ -41,7 +41,7 @@ class Version7000Date20190717141457 extends SimpleMigrationStep {
$table = $schema->getTable('talk_participants');
if (!$table->hasColumn('last_joined_call')) {
- $table->addColumn('last_joined_call', Types::DATETIME_MUTABLE, [
+ $table->addColumn('last_joined_call', Types::DATETIME, [
'notnull' => false,
]);
}
diff --git a/lib/Migration/Version7000Date20190724121136.php b/lib/Migration/Version7000Date20190724121136.php
index bfc42651ee..a6529e28ec 100644
--- a/lib/Migration/Version7000Date20190724121136.php
+++ b/lib/Migration/Version7000Date20190724121136.php
@@ -25,9 +25,9 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Doctrine\DBAL\Schema\SchemaException;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
use OCP\DB\QueryBuilder\IQueryBuilder;
+use OCP\DB\Types;
use OCP\IDBConnection;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/lib/Migration/Version8000Date20200407115318.php b/lib/Migration/Version8000Date20200407115318.php
index 18618926eb..0b082e73a8 100644
--- a/lib/Migration/Version8000Date20200407115318.php
+++ b/lib/Migration/Version8000Date20200407115318.php
@@ -26,8 +26,8 @@ declare(strict_types=1);
namespace OCA\Talk\Migration;
use Closure;
-use Doctrine\DBAL\Types\Types;
use OCP\DB\ISchemaWrapper;
+use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;
diff --git a/psalm.xml b/psalm.xml
index ec9632331b..49f15a6fb1 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -31,8 +31,7 @@
-
-
+