Index: lams_tool_scribe/db/sql/updatescripts/updateTo20080229.sql =================================================================== diff -u -r3d41165c25a2f0e43669d3aa730676a8c62ebaa8 -r92592c9b1936edd3681500b1653d5fc1fd25f836 --- lams_tool_scribe/db/sql/updatescripts/updateTo20080229.sql (.../updateTo20080229.sql) (revision 3d41165c25a2f0e43669d3aa730676a8c62ebaa8) +++ lams_tool_scribe/db/sql/updatescripts/updateTo20080229.sql (.../updateTo20080229.sql) (revision 92592c9b1936edd3681500b1653d5fc1fd25f836) @@ -1,16 +1,4 @@ --- LDEV1511 make tables InnoDB -ALTER TABLE tl_lascrb11_attachment ENGINE=InnoDB; -ALTER TABLE tl_lascrb11_heading ENGINE=InnoDB; -ALTER TABLE tl_lascrb11_report_entry ENGINE=InnoDB; -ALTER TABLE tl_lascrb11_scribe ENGINE=InnoDB; -ALTER TABLE tl_lascrb11_session ENGINE=InnoDB; -ALTER TABLE tl_lascrb11_user ENGINE=InnoDB; -alter table tl_lascrb11_attachment add constraint FK57953706B3FA1495 foreign key (scribe_uid) references tl_lascrb11_scribe (uid); -alter table tl_lascrb11_heading add constraint FK428A22FFB3FA1495 foreign key (scribe_uid) references tl_lascrb11_scribe (uid); -alter table tl_lascrb11_report_entry add constraint FK5439FACAEA50D086 foreign key (scribe_heading_uid) references tl_lascrb11_heading (uid); -alter table tl_lascrb11_report_entry add constraint FK5439FACA1C266FAE foreign key (scribe_session_uid) references tl_lascrb11_session (uid); -alter table tl_lascrb11_session add constraint FK89732793B3FA1495 foreign key (scribe_uid) references tl_lascrb11_scribe (uid); -alter table tl_lascrb11_session add constraint FK89732793E46919FF foreign key (appointed_scribe_uid) references tl_lascrb11_user (uid); -alter table tl_lascrb11_user add constraint FK187DAFEE1C266FAE foreign key (scribe_session_uid) references tl_lascrb11_session (uid); UPDATE lams_tool SET modified_date_time = NOW() WHERE tool_signature = "lascrb11"; UPDATE lams_tool SET tool_version = "20080229" WHERE tool_signature = "lascrb11"; + +ALTER TABLE tl_lascrb11_scribe ADD COLUMN aggregated_reports bit default 0;