| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 25 | public function down(Schema $schema): void |
||
| 26 | { |
||
| 27 | $this->addSql('UPDATE stu_flight_sig SET from_direction = 0 WHERE from_direction IS null'); |
||
| 28 | $this->addSql('UPDATE stu_flight_sig SET to_direction = 0 WHERE to_direction IS null'); |
||
| 29 | $this->addSql('ALTER TABLE stu_flight_sig ALTER from_direction SET NOT NULL'); |
||
| 30 | $this->addSql('ALTER TABLE stu_flight_sig ALTER to_direction SET NOT NULL'); |
||
| 31 | } |
||
| 33 |