commit baf169cbf9f221d107df5c298f8756293141982f parent 8e4c919130f71b9955ab78e7bbfc59587fc81423 Author: Felicia Hummel <felicia@partkeepr.com> Date: Tue, 24 Jan 2017 14:01:57 +0100 Reworked migration to be compatible with PostgreSQL, attempts to fix #793 Diffstat:
M | src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170108143802.php | | | 2 | +- |
M | src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170113203042.php | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170108143802.php b/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170108143802.php @@ -16,7 +16,7 @@ class Version20170108143802 extends BaseMigration public function up(Schema $schema) { $this->performDatabaseUpgrade(); - $adjustValueTypesSQL = 'UPDATE PartParameter SET valueType = "numeric" where valueType = ""'; + $adjustValueTypesSQL = "UPDATE PartParameter SET valueType = 'numeric' where valueType = ''"; $this->addSql($adjustValueTypesSQL); } diff --git a/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170113203042.php b/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20170113203042.php @@ -16,7 +16,7 @@ class Version20170113203042 extends BaseMigration public function up(Schema $schema) { $this->performDatabaseUpgrade(); - $adjustValueTypesSQL = 'UPDATE ProjectPart SET overageType = "absolute" where overageType = ""'; + $adjustValueTypesSQL = "UPDATE ProjectPart SET overageType = 'absolute' where overageType = ''"; $this->addSql($adjustValueTypesSQL); }