Bug 20912: Update database
Signed-off-by: Matha Fuerst <mfuerst@hmcpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
178af5ab27
commit
e39541522c
2 changed files with 2 additions and 0 deletions
1
installer/data/mysql/atomicupdate/bug_20912.sql
Normal file
1
installer/data/mysql/atomicupdate/bug_20912.sql
Normal file
|
@ -0,0 +1 @@
|
|||
ALTER TABLE itemtypes ADD COLUMN rental_charge_daily decimal(28,6) default NULL AFTER rentalcharge;
|
|
@ -951,6 +951,7 @@ CREATE TABLE `itemtypes` ( -- defines the item types
|
|||
itemtype varchar(10) NOT NULL default '', -- unique key, a code associated with the item type
|
||||
description LONGTEXT, -- a plain text explanation of the item type
|
||||
rentalcharge decimal(28,6) default NULL, -- the amount charged when this item is checked out/issued
|
||||
rental_charge_daily decimal(28,6) default NULL, -- the amount charged for each day between checkout date and due date
|
||||
defaultreplacecost decimal(28,6) default NULL, -- default replacement cost
|
||||
processfee decimal(28,6) default NULL, -- default text be recorded in the column note when the processing fee is applied
|
||||
notforloan smallint(6) default NULL, -- 1 if the item is not for loan, 0 if the item is available for loan
|
||||
|
|
Loading…
Reference in a new issue