From 736bda7081c947595ba9519ff1af5fd70b9170a0 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Sat, 8 Aug 2015 11:07:42 -0700 Subject: [PATCH] Fix SQL issue with Ponder migration Summary: This fails to apply on my second sandbox with incorrect DOUBLE value. Reran SQL, works as expected. Test Plan: Rerun new SQL on ponder_question table Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D13830 --- resources/sql/autopatches/20150806.ponder.status.2.sql | 2 +- resources/sql/autopatches/20150806.ponder.status.3.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/sql/autopatches/20150806.ponder.status.2.sql b/resources/sql/autopatches/20150806.ponder.status.2.sql index 89371cc505..0827c5b106 100644 --- a/resources/sql/autopatches/20150806.ponder.status.2.sql +++ b/resources/sql/autopatches/20150806.ponder.status.2.sql @@ -1,2 +1,2 @@ UPDATE {$NAMESPACE}_ponder.ponder_question - SET status = 'open' WHERE status = 0; + SET status = 'open' WHERE status = '0'; diff --git a/resources/sql/autopatches/20150806.ponder.status.3.sql b/resources/sql/autopatches/20150806.ponder.status.3.sql index 3a8f5c719d..fdd71a5b20 100644 --- a/resources/sql/autopatches/20150806.ponder.status.3.sql +++ b/resources/sql/autopatches/20150806.ponder.status.3.sql @@ -1,2 +1,2 @@ UPDATE {$NAMESPACE}_ponder.ponder_question - SET status = 'resolved' WHERE status = 1; + SET status = 'resolved' WHERE status = '1';