From a3a927c94864b9edd24b648336b52077a46bfc19 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 14 Jun 2018 11:13:19 +0000 Subject: [PATCH] Bug 20912: Update database Signed-off-by: Matha Fuerst --- installer/data/mysql/atomicupdate/bug_20912.sql | 1 + installer/data/mysql/kohastructure.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_20912.sql diff --git a/installer/data/mysql/atomicupdate/bug_20912.sql b/installer/data/mysql/atomicupdate/bug_20912.sql new file mode 100644 index 0000000000..459c9b30e3 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_20912.sql @@ -0,0 +1 @@ +ALTER TABLE itemtypes ADD COLUMN rental_charge_daily decimal(28,6) default NULL AFTER rentalcharge; diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index a3e1be5357..47aad70b8b 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -988,6 +988,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 -- 2.17.2 (Apple Git-113)