Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/dbupdates/patch20110228_updateTo236.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/dbupdates/patch20110228_updateTo236.sql,v diff -u -r1.3 -r1.4 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/dbupdates/patch20110228_updateTo236.sql 8 May 2011 11:08:57 -0000 1.3 +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/dbupdates/patch20110228_updateTo236.sql 23 Jun 2011 01:53:54 -0000 1.4 @@ -2,7 +2,7 @@ -- Turn off autocommit, so nothing is committed if there is an error SET AUTOCOMMIT = 0; - +SET FOREIGN_KEY_CHECKS = 0; ----------------------Put all sql statements below here------------------------- ALTER TABLE tl_lafrum11_forum ADD COLUMN allow_rate_messages smallint not null default 0; @@ -34,4 +34,5 @@ -- If there were no errors, commit and restore autocommit to on COMMIT; -SET AUTOCOMMIT = 1; \ No newline at end of file +SET AUTOCOMMIT = 1; + SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/dbupdates/patch20110217_updateTo236.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/dbupdates/patch20110217_updateTo236.sql,v diff -u -r1.6 -r1.7 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/dbupdates/patch20110217_updateTo236.sql 16 May 2011 03:17:57 -0000 1.6 +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/dbupdates/patch20110217_updateTo236.sql 23 Jun 2011 01:57:08 -0000 1.7 @@ -2,7 +2,7 @@ -- Turn off autocommit, so nothing is committed if there is an error SET AUTOCOMMIT = 0; - +SET FOREIGN_KEY_CHECKS=0; ----------------------Put all sql statements below here------------------------- ALTER TABLE tl_laqa11_content ADD COLUMN allow_rate_answers TINYINT(1) NOT NULL DEFAULT 0; @@ -34,4 +34,5 @@ -- If there were no errors, commit and restore autocommit to on COMMIT; -SET AUTOCOMMIT = 1; \ No newline at end of file +SET AUTOCOMMIT = 1; +SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file