From c406cef5b69b0d6c43adef33b5374b209347b637 Mon Sep 17 00:00:00 2001 From: adev Date: Wed, 7 Jun 2017 00:12:20 +0200 Subject: Fix postgresql migration --- app/DoctrineMigrations/Version20170511211659.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/DoctrineMigrations/Version20170511211659.php') diff --git a/app/DoctrineMigrations/Version20170511211659.php b/app/DoctrineMigrations/Version20170511211659.php index d19b5ac5..f2d5cf5e 100644 --- a/app/DoctrineMigrations/Version20170511211659.php +++ b/app/DoctrineMigrations/Version20170511211659.php @@ -74,7 +74,7 @@ EOD break; case 'postgresql': - $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT NOT NULL '); + $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT'); break; } } @@ -93,7 +93,7 @@ EOD break; case 'postgresql': - $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255) NOT NULL '); + $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255)'); break; } } -- cgit v1.2.3