aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/db/mssqlmigrator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/mssqlmigrator.php')
-rw-r--r--lib/private/db/mssqlmigrator.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/private/db/mssqlmigrator.php b/lib/private/db/mssqlmigrator.php
new file mode 100644
index 00000000000..28d8c6dc06f
--- /dev/null
+++ b/lib/private/db/mssqlmigrator.php
@@ -0,0 +1,23 @@
+<?php
+/**
+ * Copyright (c) 2014 Thomas Müller <deepdiver@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;
+
+class MsSqlMigrator extends Migrator {
+
+ /**
+ * @param \Doctrine\DBAL\Schema\Schema $targetSchema
+ */
+ public function migrate(Schema $targetSchema) {
+ throw new MigrationException('',
+ 'Database migration is required to continue operations. Please contact support@owncloud.com to get the required sql migration scripts to be applied.');
+ }
+
+}