Passed
Push — alpha ( b6fe0d...86999d )
by Yannick
08:00
created

Version20240605103700   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A up() 0 3 1
A down() 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 Version20240605103700 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