Bug 21077: Fix database documentation for statistics.type
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 15 Jul 2018 17:27:03 +0000 (19:27 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 3 Aug 2018 14:13:56 +0000 (15:13 +0100)
There's a typo for 'locause', this should be 'localuse'.
Also, 'Credit*' is never used.

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 0b89cbf6a473e71597bc051d88c2152531648ad8)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

installer/data/mysql/kohastructure.sql

index 909eda2..addc640 100644 (file)
@@ -1994,7 +1994,7 @@ CREATE TABLE `statistics` ( -- information related to transactions (circulation
   `branch` varchar(10) default NULL, -- foreign key, branch where the transaction occurred
   `proccode` varchar(4) default NULL, -- type of procedure used when making payments (does not appear in the code)
   `value` double(16,4) default NULL, -- monetary value associated with the transaction
-  `type` varchar(16) default NULL, -- transaction type (locause, issue, return, renew, writeoff, payment, Credit*)
+  `type` varchar(16) default NULL, -- transaction type (localuse, issue, return, renew, writeoff, payment)
   `other` LONGTEXT, -- used by SIP
   `usercode` varchar(10) default NULL, -- unused in Koha
   `itemnumber` int(11) default NULL, -- foreign key from the items table, links transaction to a specific item