Migrate internal classes to the OCP db col types

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2021-01-12 10:20:12 +01:00
parent d4e6463eb2
commit c1d4f8161b
No known key found for this signature in database
GPG Key ID: CC42AC2A7F0E56D8
34 changed files with 34 additions and 34 deletions

View File

@ -27,7 +27,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -27,7 +27,7 @@
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -26,7 +26,7 @@
*/ */
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -28,7 +28,7 @@ namespace OCA\DAV\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
*/ */
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OCA\DAV\Migration; namespace OCA\DAV\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -27,7 +27,7 @@ declare(strict_types=1);
namespace OCA\FederatedFileSharing\Migration; namespace OCA\FederatedFileSharing\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -27,7 +27,7 @@ namespace OCA\FederatedFileSharing\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -27,7 +27,7 @@ declare(strict_types=1);
namespace OCA\Federation\Migration; namespace OCA\Federation\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OCA\Files_External\Migration; namespace OCA\Files_External\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ namespace OCA\Files_Sharing\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OCA\Files_Sharing\Migration; namespace OCA\Files_Sharing\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OCA\Files_Trashbin\Migration; namespace OCA\Files_Trashbin\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -47,7 +47,7 @@ use DirectoryIterator;
use Doctrine\DBAL\Exception; use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\TransactionIsolationLevel; use Doctrine\DBAL\TransactionIsolationLevel;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use GuzzleHttp\Exception\ClientException; use GuzzleHttp\Exception\ClientException;
use OC; use OC;
use OC\AppFramework\Http; use OC\AppFramework\Http;

View File

@ -27,7 +27,7 @@ declare(strict_types=1);
namespace OCA\User_LDAP\Migration; namespace OCA\User_LDAP\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -25,7 +25,7 @@ declare(strict_types=1);
namespace OCA\UserStatus\Migration; namespace OCA\UserStatus\Migration;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -6,7 +6,7 @@ namespace OCA\WorkflowEngine\Migration;
use Closure; use Closure;
use Doctrine\DBAL\Schema\Table; use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCA\WorkflowEngine\Entity\File; use OCA\WorkflowEngine\Entity\File;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -33,7 +33,7 @@ namespace OC\Core\Command\Db;
use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Platforms\SqlitePlatform;
use Doctrine\DBAL\Types\Type; use Doctrine\DBAL\Types\Type;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OC\DB\Connection; use OC\DB\Connection;
use OC\DB\SchemaWrapper; use OC\DB\SchemaWrapper;
use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Command\Command;

View File

@ -36,7 +36,7 @@ namespace OC\Core\Command\Db;
use Doctrine\DBAL\Exception; use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Schema\AbstractAsset; use Doctrine\DBAL\Schema\AbstractAsset;
use Doctrine\DBAL\Schema\Table; use Doctrine\DBAL\Schema\Table;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OC\DB\Connection; use OC\DB\Connection;
use OC\DB\ConnectionFactory; use OC\DB\ConnectionFactory;
use OC\DB\MigrationService; use OC\DB\MigrationService;

View File

@ -25,7 +25,7 @@
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -30,7 +30,7 @@
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -30,7 +30,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -31,7 +31,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -29,7 +29,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;

View File

@ -28,7 +28,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\IDBConnection; use OCP\IDBConnection;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;

View File

@ -27,7 +27,7 @@ declare(strict_types=1);
namespace OC\Core\Migrations; namespace OC\Core\Migrations;
use Closure; use Closure;
use Doctrine\DBAL\Types\Types; use OCP\DB\Types;
use OCP\DB\ISchemaWrapper; use OCP\DB\ISchemaWrapper;
use OCP\Migration\IOutput; use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep; use OCP\Migration\SimpleMigrationStep;