Closed this issue 2 years ago · 1 comments
There should be a composite foreign key between current_loan and copy, as well as between the loans' history and copy table, referencing the copy that was loaned.
Issue fixed by Yazid Slimani!