Conditions | 4 |
Paths | 8 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | public function down(Schema $schema): void |
||
41 | { |
||
42 | |||
43 | $table = $schema->getTable('resource_file'); |
||
44 | if ($table->hasColumn('title')) { |
||
45 | $this->addSql('ALTER TABLE resource_file CHANGE title name VARCHAR(255) NOT NULL'); |
||
46 | } |
||
47 | |||
48 | $table = $schema->getTable('fos_group'); |
||
49 | if ($table->hasColumn('title')) { |
||
50 | $this->addSql('ALTER TABLE fos_group CHANGE title name VARCHAR(255) NOT NULL'); |
||
51 | } |
||
52 | |||
53 | $table = $schema->getTable('contact_form_contact_category'); |
||
54 | if ($table->hasColumn('title')) { |
||
55 | $this->addSql('ALTER TABLE contact_form_contact_category CHANGE title name VARCHAR(255) NOT NULL'); |
||
56 | } |
||
60 |