From 797fde759a013d82e6a3875d7dbc0ddfbbf57065 Mon Sep 17 00:00:00 2001 From: Adam Zammit Date: Fri, 1 Mar 2013 15:44:09 +1100 Subject: [PATCH] Change order of updates to stop unique key problem --- CHANGELOG | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 4e237fa5..6d0cf0b6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,11 +7,11 @@ Fixed Bug: Replaced php short tags with long tags Database updates: ALTER TABLE `case` ADD `token` VARCHAR( 36 ) NOT NULL ; -ALTER TABLE `case` ADD UNIQUE (`token`); To allow for accessing existing cases in new system, need to assign a "token" for each case: UPDATE `case` SET token = case_id; +ALTER TABLE `case` ADD UNIQUE (`token`); New outcomes for email invitation and online self completion: