Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function up(Schema $schema): void |
||
25 | { |
||
26 | // this up() migration is auto-generated, please modify it to your needs |
||
27 | $this->abortIf( |
||
28 | !$this->connection->getDatabasePlatform() instanceof AbstractMySQLPlatform, |
||
29 | 'Migration can only be executed safely on \'mysql\'.' |
||
30 | ); |
||
31 | |||
32 | $sql = <<<SQL |
||
33 | ALTER TABLE log_request |
||
34 | CHANGE headers headers JSON NOT NULL COMMENT '(DC2Type:json)', |
||
35 | CHANGE parameters parameters JSON NOT NULL COMMENT '(DC2Type:json)' |
||
36 | SQL; |
||
37 | |||
38 | $this->addSql($sql); |
||
39 | } |
||
61 |