Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
44 | public function down(Schema $schema): void |
||
45 | { |
||
46 | // this down() migration is auto-generated, please modify it to your needs |
||
47 | $this->abortIf( |
||
48 | !$this->connection->getDatabasePlatform() instanceof AbstractMySQLPlatform, |
||
49 | 'Migration can only be executed safely on \'mysql\'.' |
||
50 | ); |
||
51 | |||
52 | $sql = <<<SQL |
||
53 | ALTER TABLE log_request |
||
54 | CHANGE headers headers LONGTEXT NOT NULL COMMENT '(DC2Type:json)', |
||
55 | CHANGE parameters parameters LONGTEXT NOT NULL COMMENT '(DC2Type:json)' |
||
56 | SQL; |
||
57 | |||
58 | $this->addSql($sql); |
||
59 | } |
||
61 |