Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function up(Schema $schema): void |
||
13 | { |
||
14 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
15 | |||
16 | $this->addSql('ALTER TABLE swp_image ADD variants JSON DEFAULT NULL'); |
||
17 | $this->addSql('COMMENT ON COLUMN swp_image.variants IS \'(DC2Type:json_array)\''); |
||
18 | } |
||
19 | |||
27 |