From: Katrin Fischer Date: Sun, 10 Feb 2019 00:36:20 +0000 (+0100) Subject: Bug 20544: Wrong comment database documentation on itemnotes X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=60347dcc0724ad354cfabb89ca024dfa269e62e5;p=koha.git Bug 20544: Wrong comment database documentation on itemnotes Fixes the comments in kohastructure.sql to state the right MARC21 fields for itemnotes (public and internal). To test: - Create a new Koha database and make sure it still installs - Read the patch and check comments are correct Signed-off-by: Martin Renvoize Signed-off-by: Josef Moravec Signed-off-by: Nick Clemens --- diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index aa2372c0f2..fa5044e9fe 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -679,8 +679,8 @@ CREATE TABLE `deleteditems` ( `renewals` smallint(6) default NULL, -- number of times this item has been renewed `reserves` smallint(6) default NULL, -- number of times this item has been placed on hold/reserved `restricted` tinyint(1) default NULL, -- authorized value defining use restrictions for this item (MARC21 952$5) - `itemnotes` LONGTEXT, -- public notes on this item (MARC21 952$x) - `itemnotes_nonpublic` LONGTEXT default NULL, + `itemnotes` LONGTEXT, -- public notes on this item (MARC21 952$z) + `itemnotes_nonpublic` LONGTEXT default NULL, -- non-public notes on this item (MARC21 952$x) `holdingbranch` varchar(10) default NULL, -- foreign key from the branches table for the library that is currently in possession item (MARC21 952$b) `paidfor` LONGTEXT, `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this item was last altered @@ -942,8 +942,8 @@ CREATE TABLE `items` ( -- holdings/item information `renewals` smallint(6) default NULL, -- number of times this item has been renewed `reserves` smallint(6) default NULL, -- number of times this item has been placed on hold/reserved `restricted` tinyint(1) default NULL, -- authorized value defining use restrictions for this item (MARC21 952$5) - `itemnotes` LONGTEXT, -- public notes on this item (MARC21 952$x) - `itemnotes_nonpublic` LONGTEXT default NULL, + `itemnotes` LONGTEXT, -- public notes on this item (MARC21 952$z) + `itemnotes_nonpublic` LONGTEXT default NULL, -- non-public notes on this item (MARC21 952$x) `holdingbranch` varchar(10) default NULL, -- foreign key from the branches table for the library that is currently in possession item (MARC21 952$b) `paidfor` LONGTEXT, `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- date and time this item was last altered