Completed
Pull Request — develop (#313)
by Michiel
02:22
created

Version20160719090052::getTokenStorage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Surfnet\Migrations;
4
5
use Doctrine\Migrations\AbstractMigration;
6
use Doctrine\DBAL\Schema\Schema;
7
8
class Version20160719090052 extends AbstractMigration
9
{
10
    /**
11
     * @param Schema $schema
12
     */
13
    public function up(Schema $schema): void
14
    {
15
        // This migration used to create InstitutionConfiguration for institutions. We no longer support this construction
16
        // as the code required to achieve this is no longer supported in our current Symfony version.
17
        //
18
        // Users migrating from a pre InstitutionConfiguration era might run into problems here. I suggest they watch
19
        // git history of this file and work from there to create a custom migration.
20
        $this->write('No up migration executed: this was a data migration that we no longer support.');
21
    }
22
23
    /**
24
     * @param Schema $schema
25
     */
26
    public function down(Schema $schema): void
27
    {
28
        // No down-migration needed as the structure has not changed.
29
        $this->write('No down migration executed: this was a data only migration.');
30
    }
31
}
32