2014-09-15 16:26:00 +04:00
|
|
|
<?php
|
|
|
|
/**
|
2015-02-26 13:37:37 +03:00
|
|
|
* 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.
|
2014-09-15 16:26:00 +04:00
|
|
|
*/
|
2015-02-26 13:37:37 +03:00
|
|
|
|
2014-09-15 16:26:00 +04:00
|
|
|
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('',
|
2014-12-19 23:05:39 +03:00
|
|
|
'Database migration is required to continue operation. This feature is provided within the Enterprise Edition.');
|
2014-09-15 16:26:00 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|