diff --git a/CHANGELOG b/CHANGELOG index 61b5b595..3085f191 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -13,34 +13,34 @@ Database updates: ALTER TABLE `case` ADD `token` VARCHAR( 36 ) NOT NULL ; -To allow for accessing existing cases in new system, need to assign a "token" for each case: +-- 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: +-- New outcomes for email invitation and online self completion: INSERT INTO `outcome` (`outcome_id`, `aapor_id`, `description`, `default_delay_minutes`, `outcome_type_id`, `tryanother`, `contacted`, `tryagain`, `eligible`, `require_note`, `calc`) VALUES (40, '1.1', 'Self completed online', 0, 4, 0, 1, 1, 1, 0, 'I'), (41, '2.36', 'Self completion email invitation sent', 10080, 1, 0, 1, 1, 1, 0, 'O'); -New sample variable type (Email address): +-- New sample variable type (Email address): INSERT INTO `sample_var_type` (`type`, `description`, `table`) VALUES (8, 'Email address', ''); -Specify details of respondent self completion: +-- Specify details of respondent self completion: ALTER TABLE `questionnaire` ADD `self_complete` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `info`, ADD `lime_mode` VARCHAR( 64 ) NULL COMMENT 'Limesurvey mode for respondent self completion' AFTER `self_complete` , ADD `lime_template` VARCHAR( 128 ) NULL COMMENT 'Limesurvey template for respondent self completion' AFTER `lime_mode` , ADD `lime_endurl` VARCHAR( 256 ) NULL COMMENT 'Forwarding end URL for respondent self completion' AFTER `lime_template` ; -Allow for enabling/disabling sample files: +-- Allow for enabling/disabling sample files: ALTER TABLE `sample_import` ADD `enabled` TINYINT( 1 ) NOT NULL DEFAULT '1'; -Contact phone should allow for char phone numbers: +-- Contact phone should allow for char phone numbers: ALTER TABLE `contact_phone` CHANGE `phone` `phone` CHAR( 30 ) NOT NULL