loans : you can't borrow the same game twice at the same period
Created by: thejoelinux
In fact, you should not. That's somewhat complex to implement this as a constraint on the loans table, because there should be a unique keys that takes the interval between start_date and end_date into account. Just don't try to do it.
Better, don't display the games that are not restitued in the new loan game selector.
Imported comments:
By thejoelinux on 2015-11-11 16:26:05 UTC
Made a special selector for this form.