Completed
Push — master ( 4ea9b4...70e6b0 )
by Serhii
04:57
created

Version20150421173032   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 1
dl 0
loc 18
ccs 0
cts 9
cp 0
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getDescription() 0 4 1
A up() 0 6 1
A down() 0 3 1
1
<?php
2
3
namespace DoctrineMigrations;
4
5
use Doctrine\DBAL\Schema\Schema;
6
use Doctrine\DBAL\Types\StringType;
7
use Doctrine\Migrations\AbstractMigration;
8
9
class Version20150421173032 extends AbstractMigration
10
{
11
    public function getDescription() : string
12
    {
13
        return '';
14
    }
15
16
    public function up(Schema $schema) : void
17
    {
18
        $this->addSql('ALTER TABLE  `performances` CHANGE  `description`  `description` LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL');
19
        $this->addSql('ALTER TABLE  `employees` CHANGE  `biography`  `biography` LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL');
20
        $this->addSql('ALTER TABLE  `roles` CHANGE  `description`  `description` LONGTEXT CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL');
21
    }
22
23
    public function down(Schema $schema) : void
24
    {
25
    }
26
}
27