[Koha-bugs] [Bug 15207] Error on upgrade from 3.20.5 to 3.22 beta
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 19 00:49:13 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15207
--- Comment #7 from M. Tompsett <mtompset at hotmail.com> ---
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.
More information about the Koha-bugs
mailing list