http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12555

--- Comment #5 from Jonathan Druart <[email protected]> ---
Created attachment 31008
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31008&action=edit
Bug 12555: Add a FK on aqorders_items.itemnumber

The previous patch assumed that deleting an item will delete the entry
in aqorders_items. But the FK did not exist.

Looking at the code, we never join aqorders_items and deleteditems, so I
think we can add this constraint.

Before adding this constraint, we need to delete all entries in
aqorders_items if the item has already been deleted.

-- 
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/

Reply via email to