Bug 12768: DB changes
Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
3b04f401b9
commit
0931e15f15
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE `itemtypes` MODIFY COLUMN `rentalcharge` DECIMAL(28,6) NULL DEFAULT NULL;
|
||||
ALTER TABLE `itemtypes` ADD `defaultreplacecost` DECIMAL(28,6) NULL DEFAULT NULL AFTER `rentalcharge`;
|
||||
ALTER TABLE `itemtypes` ADD `processfee` DECIMAL(28,6) NULL DEFAULT NULL AFTER `defaultreplacecost`;
|
||||
|
|
@ -982,7 +982,9 @@ DROP TABLE IF EXISTS `itemtypes`;
|
|||
CREATE TABLE `itemtypes` ( -- defines the item types
|
||||
itemtype varchar(10) NOT NULL default '', -- unique key, a code associated with the item type
|
||||
description mediumtext, -- a plain text explanation of the item type
|
||||
rentalcharge double(16,4) default NULL, -- the amount charged when this item is checked out/issued
|
||||
rentalcharge decimal(28,6) default NULL, -- the amount charged when this item is checked out/issued
|
||||
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
|
||||
imageurl varchar(200) default NULL, -- URL for the item type icon
|
||||
summary text, -- information from the summary field, may include HTML
|
||||
|
|
|
|||
Loading…
Reference in New Issue