Extends bookings.status enum to ('new', 'cancelled', 'issued', 'completed').
Migrates existing data intelligently: rows with an active checkout in the
issues table (via booking_id) are updated to 'issued'; rows whose item has
already been returned retain 'completed', which is already correct under the
new scheme where 'completed' means the booking was fully fulfilled and the
item returned.
Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Sponsored-by: Westminster City Council <https://www.westminster.gov.uk/>
Signed-off-by: Hannah Dunne-Howrie <hdunne-howrie@westminster.gov.uk>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
|
||
|---|---|---|
| .. | ||
| README | ||
| bug_41898.pl | ||
| skeleton.pl | ||
README
Please put your database revision files in this folder. The Release Manager will remove them from here when pushing your patches. To use the skeleton.pl for your update: % cp installer/data/mysql/atomicupdate/skeleton.pl installer/data/mysql/atomicupdate/bug_XXXXX.pl and put your modifications in where noted.