Changes between Version 7 and Version 8 of DbChanges
- Timestamp:
- 2010-07-15T05:06:22Z (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DbChanges
v7 v8 8 8 * The *exact and complete* SQL statement that will perform the change. 9 9 10 ==== July 15, 2010 ==== 11 Adding database version control for upgrading. 12 {{{ 13 #!sql 14 INSERT INTO `sys_parameters` ( `parameter_code` , `parameter_value` , `parameter_type` , `description` , `record_status` , `creator_id` , `created` , `updater_id` , `modified` ) 15 VALUES ('database.version', '1', 'I', 'database version', 'A', '0', '0000-00-00 00:00:00', NULL , NULL); 16 }}} 17 10 18 ==== June 16, 2010 ==== 11 19 This change was made for student's survey evaluation submissions. Since students submitting surveys are not tied to groups, their group values will be should NULL. Before, the default value for grp_event_id was zero, and, because of the relationship grp_event_id and submitter_id (onl one pair is allowed), the effect was that a single student could only submit one Survey, ever. This change remedies the situation, and no code needs to be changed to accommodate it. - Serge & Pan 12 20 {{{ 21 #!sql 13 22 ALTER TABLE `ipeer`.`evaluation_submissions` MODIFY COLUMN `grp_event_id` INTEGER DEFAULT NULL; 14 23 }}} … … 17 26 This change is made for student's rubrics evaluation submissions. Since students submitted rubric evaluations are not tied to the rubric, deleting a rubric does not fully remove students' evaluation data of that rubric. With the added 'rubric_id' field, the linkage is now complete and references would not be lost in the relationship specified between evaluation_rubrics and rubric tables. - Henry 18 27 {{{ 28 #!sql 19 29 ALTER TABLE evaluation_rubrics ADD COLUMN rubric_id INTEGER DEFAULT 0 NOT NULL; 20 30 }}}