|
@@ -18,7 +18,7 @@ |
|
|
block discarded – undo |
|
18
|
18
|
// this up() migration is auto-generated, please modify it to your needs |
|
19
|
19
|
$this->abortIf('postgresql' !== $this->connection->getDatabasePlatform()->getName(), 'Migration can only be executed safely on \'postgresql\'.'); |
|
20
|
20
|
|
|
21
|
|
- if(!$schema->getTable('swp_article')->hasColumn('feature_media')) { |
|
|
21
|
+ if (!$schema->getTable('swp_article')->hasColumn('feature_media')) { |
|
22
|
22
|
$this->addSql('ALTER TABLE swp_article ADD feature_media INT DEFAULT NULL'); |
|
23
|
23
|
} |
|
24
|
24
|
|
Please login to merge, or discard this patch.