From 02e78231f9a736f1ab92a24befe6bd39bdcb4f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 17 Jan 2022 10:34:52 +0100 Subject: [PATCH] Fix Types namespace for version 20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use Doctrine\DBAL\Types\Types instead of OCP\DB\Types Signed-off-by: Côme Chilliet --- apps/user_ldap/lib/Migration/Version1130Date20211102154716.php | 2 +- apps/user_ldap/lib/Migration/Version1130Date20220110154718.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php index 8c92bf5c7bd..0c1dcee0a35 100644 --- a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php +++ b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php @@ -27,10 +27,10 @@ declare(strict_types=1); namespace OCA\User_LDAP\Migration; use Closure; +use Doctrine\DBAL\Types\Types; 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/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php b/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php index 5f146ab06a5..b585b3a6b17 100644 --- a/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php +++ b/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php @@ -27,8 +27,8 @@ declare(strict_types=1); namespace OCA\User_LDAP\Migration; use Closure; +use Doctrine\DBAL\Types\Types; use OCP\DB\ISchemaWrapper; -use OCP\DB\Types; use OCP\Migration\IOutput; class Version1130Date20220110154718 extends GroupMappingMigration {