http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15207
--- Comment #7 from M. Tompsett <[email protected]> --- Comment on attachment 44960 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44960 patch for fix update Review of attachment 44960: --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15207&attachment=44960) ----------------------------------------------------------------- ::: installer/data/mysql/updatedatabase.pl @@ +10816,5 @@ > + add CONSTRAINT course_reserves_ibfk_2 > + FOREIGN KEY (ci_id) REFERENCES course_items (ci_id) > + ON DELETE CASCADE ON UPDATE CASCADE > + }); > + }; What if someone created it incorrectly? Why not leave the do logic as it was, but insert a delete foreign key if the count>0? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
