Bug 22335: Fix comment on suggestions.STATUS in kohastructure.sql
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 13 Apr 2020 02:42:37 +0000 (04:42 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 5 May 2020 10:02:46 +0000 (11:02 +0100)
The description on STATUS was incomplete, missing 2 status and
the SUGGEST_STATUS category.

To test:
- Later this will show up in schema.koha-community.org, but
  for now it can only be verified reading the patch.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

installer/data/mysql/kohastructure.sql

index 347b340..c5a3879 100644 (file)
@@ -3017,7 +3017,7 @@ CREATE TABLE `suggestions` ( -- purchase suggestions
    rejecteddate date default NULL, -- date the suggestion was marked as rejected
    lastmodificationby INT(11) default NULL, -- borrowernumber for the librarian who edit the suggestion for the last time
    lastmodificationdate date default NULL, -- date of the last modification
-  `STATUS` varchar(10) NOT NULL default '', -- suggestion status (ASKED, CHECKED, ACCEPTED, or REJECTED)
+  `STATUS` varchar(10) NOT NULL default '', -- suggestion status (ASKED, CHECKED, ACCEPTED, REJECTED, ORDERED, AVAILABLE or a value from the SUGGEST_STATUS authorised value category)
   `archived` TINYINT(1) NOT NULL DEFAULT 0, -- is the suggestion archived?
   `note` LONGTEXT, -- note entered on the suggestion
   `author` varchar(80) default NULL, -- author of the suggested item