зеркало из https://github.com/nextcloud/spreed.git
Fix migration docs and empty methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
2121735753
Коммит
1b13e47672
|
@ -29,9 +29,6 @@ use OCP\IGroupManager;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
use OCP\Migration\IOutput;
|
use OCP\Migration\IOutput;
|
||||||
|
|
||||||
/**
|
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
|
||||||
*/
|
|
||||||
class Version2000Date20171026140256 extends SimpleMigrationStep {
|
class Version2000Date20171026140256 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/** @var IDBConnection */
|
/** @var IDBConnection */
|
||||||
|
|
|
@ -29,9 +29,6 @@ use OCP\Migration\SimpleMigrationStep;
|
||||||
use OCP\Migration\IOutput;
|
use OCP\Migration\IOutput;
|
||||||
use OCP\Security\ISecureRandom;
|
use OCP\Security\ISecureRandom;
|
||||||
|
|
||||||
/**
|
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
|
||||||
*/
|
|
||||||
class Version2000Date20171026140257 extends SimpleMigrationStep {
|
class Version2000Date20171026140257 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/** @var IDBConnection */
|
/** @var IDBConnection */
|
||||||
|
|
|
@ -43,15 +43,6 @@ class Version2001Date20170707115443 extends SimpleMigrationStep {
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param IOutput $output
|
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
|
||||||
* @param array $options
|
|
||||||
* @since 13.0.0
|
|
||||||
*/
|
|
||||||
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
||||||
|
|
|
@ -28,7 +28,6 @@ use OCP\Migration\IOutput;
|
||||||
|
|
||||||
class Version2001Date20171026141336 extends SimpleMigrationStep {
|
class Version2001Date20171026141336 extends SimpleMigrationStep {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
||||||
|
|
|
@ -1,4 +1,25 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @copyright Copyright (c) 2017 Joas Schilling <coding@schilljs.com>
|
||||||
|
*
|
||||||
|
* @author Joas Schilling <coding@schilljs.com>
|
||||||
|
*
|
||||||
|
* @license GNU AGPL version 3 or any later version
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
* published by the Free Software Foundation, either version 3 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
namespace OCA\Spreed\Migration;
|
namespace OCA\Spreed\Migration;
|
||||||
|
|
||||||
use Doctrine\DBAL\Schema\Schema;
|
use Doctrine\DBAL\Schema\Schema;
|
||||||
|
@ -6,20 +27,8 @@ use Doctrine\DBAL\Types\Type;
|
||||||
use OCP\Migration\SimpleMigrationStep;
|
use OCP\Migration\SimpleMigrationStep;
|
||||||
use OCP\Migration\IOutput;
|
use OCP\Migration\IOutput;
|
||||||
|
|
||||||
/**
|
|
||||||
* Auto-generated migration step: Please modify to your needs!
|
|
||||||
*/
|
|
||||||
class Version2001Date20171031102049 extends SimpleMigrationStep {
|
class Version2001Date20171031102049 extends SimpleMigrationStep {
|
||||||
|
|
||||||
/**
|
|
||||||
* @param IOutput $output
|
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
|
||||||
* @param array $options
|
|
||||||
* @since 13.0.0
|
|
||||||
*/
|
|
||||||
public function preSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param IOutput $output
|
* @param IOutput $output
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
||||||
|
@ -40,12 +49,4 @@ class Version2001Date20171031102049 extends SimpleMigrationStep {
|
||||||
return $schema;
|
return $schema;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param IOutput $output
|
|
||||||
* @param \Closure $schemaClosure The `\Closure` returns a `Schema`
|
|
||||||
* @param array $options
|
|
||||||
* @since 13.0.0
|
|
||||||
*/
|
|
||||||
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options) {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче