Skip to content

Commit

Permalink
BUGFIX: Copyrightnotice migration for postgres needs default value
Browse files Browse the repository at this point in the history
Resolves: #2333
  • Loading branch information
daniellienert committed Jan 12, 2019
1 parent 644b12b commit b7ace8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.Media/Migrations/Postgresql/Version20181104152204.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function up(Schema $schema)
// this up() migration is autogenerated, please modify it to your needs
$this->abortIf($this->connection->getDatabasePlatform()->getName() != 'postgresql', 'Migration can only be executed safely on "postgresql".');

$this->addSql('ALTER TABLE neos_media_domain_model_asset ADD copyrightnotice TEXT NOT NULL');
$this->addSql('ALTER TABLE neos_media_domain_model_asset ADD copyrightnotice TEXT NOT NULL DEFAULT \'\'');
}

/**
Expand Down

0 comments on commit b7ace8f

Please sign in to comment.