2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Change order of updates to stop unique key problem

This commit is contained in:
Adam Zammit
2013-03-01 15:44:09 +11:00
parent ad0fc50af5
commit 797fde759a

View File

@@ -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: