aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoradev <adev2000@gmail.com>2017-06-07 00:12:20 +0200
committeradev <adev2000@gmail.com>2017-06-07 00:12:20 +0200
commitc406cef5b69b0d6c43adef33b5374b209347b637 (patch)
treeff5ed71cad9ce338d2bde6fc1d2f496e13ec425c
parent2c3e148b0029a094431622feac79fafcd0d43fc8 (diff)
downloadwallabag-c406cef5b69b0d6c43adef33b5374b209347b637.tar.gz
wallabag-c406cef5b69b0d6c43adef33b5374b209347b637.tar.zst
wallabag-c406cef5b69b0d6c43adef33b5374b209347b637.zip
Fix postgresql migration
-rw-r--r--app/DoctrineMigrations/Version20170511211659.php4
1 files changed, 2 insertions, 2 deletions
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
74 break; 74 break;
75 75
76 case 'postgresql': 76 case 'postgresql':
77 $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT NOT NULL '); 77 $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE TEXT');
78 break; 78 break;
79 } 79 }
80 } 80 }
@@ -93,7 +93,7 @@ EOD
93 break; 93 break;
94 94
95 case 'postgresql': 95 case 'postgresql':
96 $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255) NOT NULL '); 96 $this->addSql('ALTER TABLE '.$tableName.' ALTER COLUMN quote TYPE VARCHAR(255)');
97 break; 97 break;
98 } 98 }
99 } 99 }