6717 Documenting need_merge_authorities table
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Oct 2011 07:25:23 +0000 (09:25 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 13 Jan 2012 10:45:31 +0000 (11:45 +0100)
Documentation only.

http://bugs.koha-community.org/show_bug.cgi?id=6716
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
installer/data/mysql/kohastructure.sql

index c211bcc..13d9895 100644 (file)
@@ -1317,10 +1317,10 @@ CREATE TABLE `matchchecks` (
 --
 
 DROP TABLE IF EXISTS `need_merge_authorities`;
-CREATE TABLE `need_merge_authorities` (
-  `id` int NOT NULL auto_increment PRIMARY KEY,
-  `authid` bigint NOT NULL,
-  `done` tinyint DEFAULT 0
+CREATE TABLE `need_merge_authorities` ( -- keeping track of authority records still to be merged by merge_authority cron job (used only if pref dontmerge is ON)
+  `id` int NOT NULL auto_increment PRIMARY KEY, -- unique id
+  `authid` bigint NOT NULL, -- reference to authority record
+  `done` tinyint DEFAULT 0  -- indication whether merge has been executed (0=not done, 1= done, 2= in progress)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
 --