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