2014-09-15 16:26:00 +04:00
|
|
|
<?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('',
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|