diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-02-27 14:40:11 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | ceefee0d3e070023e6d7d3aac6427d994b77bd9b (patch) | |
tree | 5a03586feeb145d541c35cca316d63b255df0ca4 /lib | |
parent | 91c034c72f30618ff198e948d9ea21bac2afc6aa (diff) |
🗃 Change share migration version
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Migration/Version150302Date20210227133330.php (renamed from lib/Migration/Version150006Date20210117163638.php) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Migration/Version150006Date20210117163638.php b/lib/Migration/Version150302Date20210227133330.php index b6e3eb364..4239ea226 100644 --- a/lib/Migration/Version150006Date20210117163638.php +++ b/lib/Migration/Version150302Date20210227133330.php @@ -12,7 +12,7 @@ use OCP\Migration\SimpleMigrationStep; /** * Auto-generated migration step: Please modify to your needs! */ -class Version150006Date20210117163638 extends SimpleMigrationStep { +class Version150302Date20210227133330 extends SimpleMigrationStep { /** * @param IOutput $output @@ -30,9 +30,9 @@ class Version150006Date20210117163638 extends SimpleMigrationStep { */ public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { /** @var ISchemaWrapper $schema */ - $schema = $schemaClosure(); - - if ($schema->hasTable('news_items')) { + $schema = $schemaClosure(); + + if ($schema->hasTable('news_items')) { $table = $schema->getTable('news_items'); $table->addColumn('shared_by', 'string', [ 'notnull' => true, @@ -47,6 +47,7 @@ class Version150006Date20210117163638 extends SimpleMigrationStep { } return $schema; + } /** |