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 2ef6860178..9671c0ecf9 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -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