Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 9 |
Ratio | 100 % |
Changes | 0 |
1 | <?php |
||
15 | public function up(Schema $schema): void |
||
16 | { |
||
17 | // this up() migration is auto-generated, please modify it to your needs |
||
18 | $this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
||
19 | |||
20 | $this->addSql('ALTER TABLE swp_apple_news_config ALTER channel_id DROP NOT NULL'); |
||
21 | $this->addSql('ALTER TABLE swp_apple_news_config ALTER api_key_id DROP NOT NULL'); |
||
22 | $this->addSql('ALTER TABLE swp_apple_news_config ALTER api_key_secret DROP NOT NULL'); |
||
23 | } |
||
24 | |||
35 |