diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-06 14:04:22 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-03 11:18:45 +0200 |
commit | 6f71419f2b0e8e671274ca761e636ebe0a4067b3 (patch) | |
tree | 03e3748bb0f8324aee1a0923665189174fae8ea1 /lib/private/db/nocheckmigrator.php | |
parent | a59f6818ebeffa23ad1b66652179f3592bd4931d (diff) | |
download | nextcloud-server-6f71419f2b0e8e671274ca761e636ebe0a4067b3.tar.gz nextcloud-server-6f71419f2b0e8e671274ca761e636ebe0a4067b3.zip |
Skip migration checks for all sql backends besides mysql, postgres and sqlite
Diffstat (limited to 'lib/private/db/nocheckmigrator.php')
-rw-r--r-- | lib/private/db/nocheckmigrator.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/private/db/nocheckmigrator.php b/lib/private/db/nocheckmigrator.php new file mode 100644 index 00000000000..cd2b47c214a --- /dev/null +++ b/lib/private/db/nocheckmigrator.php @@ -0,0 +1,24 @@ +<?php +/** + * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OC\DB; + +use Doctrine\DBAL\Schema\Schema; + +/** + * migrator for database platforms that don't support the upgrade check + * + * @package OC\DB + */ +class NoCheckMigrator extends Migrator { + /** + * @param \Doctrine\DBAL\Schema\Schema $targetSchema + * @throws \OC\DB\MigrationException + */ + public function checkMigrate(Schema $targetSchema) {} +} |