| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 17 | public function up(Schema $schema): void |
||
| 18 | { |
||
| 19 | $this->addSql('ALTER TABLE stu_flight_sig ALTER from_direction DROP NOT NULL'); |
||
| 20 | $this->addSql('ALTER TABLE stu_flight_sig ALTER to_direction DROP NOT NULL'); |
||
| 21 | $this->addSql('UPDATE stu_flight_sig SET from_direction = null WHERE from_direction = 0'); |
||
| 22 | $this->addSql('UPDATE stu_flight_sig SET to_direction = null WHERE to_direction = 0'); |
||
| 23 | } |
||
| 33 |