Passed
Push — master ( 892d61...ef441c )
by
unknown
15:25 queued 06:33
created

Version20170523100000   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A down() 0 3 1
A up() 0 3 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
declare(strict_types=1);
6
7
namespace Chamilo\CoreBundle\Migrations\Schema\V200;
8
9
use Chamilo\CoreBundle\Migrations\AbstractMigrationChamilo;
10
use Doctrine\DBAL\Schema\Schema;
11
12
class Version20170523100000 extends AbstractMigrationChamilo
13
{
14
    public function up(Schema $schema): void
15
    {
16
        $this->addSql('RENAME TABLE settings_current TO settings');
17
    }
18
19
    public function down(Schema $schema): void
20
    {
21
        $this->addSql('RENAME TABLE settings TO settings_current');
22
    }
23
}
24