From 0b89cbf6a473e71597bc051d88c2152531648ad8 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sun, 15 Jul 2018 19:27:03 +0200 Subject: [PATCH] Bug 21077: Fix database documentation for statistics.type There's a typo for 'locause', this should be 'localuse'. Also, 'Credit*' is never used. Signed-off-by: Maryse Simard Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/kohastructure.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql index 10b90bd15b..92b86350a1 100644 --- a/installer/data/mysql/kohastructure.sql +++ b/installer/data/mysql/kohastructure.sql @@ -1996,7 +1996,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