Bugzilla – Attachment 10970 Details for
Bug 6716
Database Documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6716: Document import_batches table
Bug-6716-Document-importbatches-table.patch (text/plain), 3.05 KB, created by
Nicole C. Engard
on 2012-07-18 14:08:31 UTC
(
hide
)
Description:
Bug 6716: Document import_batches table
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-07-18 14:08:31 UTC
Size:
3.05 KB
patch
obsolete
>From 67f02bddc17535c869a8fb936adb16d0295c20e6 Mon Sep 17 00:00:00 2001 >From: Nicole C. Engard <nengard@bywatersolutions.com> >Date: Wed, 18 Jul 2012 10:07:37 -0400 >Subject: [PATCH] Bug 6716: Document import_batches table > >--- > installer/data/mysql/kohastructure.sql | 26 +++++++++++++------------- > 1 files changed, 13 insertions(+), 13 deletions(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 3b9827a..a595fa2 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -848,21 +848,21 @@ CREATE TABLE hold_fill_targets ( > -- > > DROP TABLE IF EXISTS `import_batches`; >-CREATE TABLE `import_batches` ( >- `import_batch_id` int(11) NOT NULL auto_increment, >- `matcher_id` int(11) default NULL, >+CREATE TABLE `import_batches` ( -- information about batches of marc records that have been imported >+ `import_batch_id` int(11) NOT NULL auto_increment, -- unique identifier and primary key >+ `matcher_id` int(11) default NULL, -- the id of the match rule used (matchpoints.matcher_id) > `template_id` int(11) default NULL, > `branchcode` varchar(10) default NULL, >- `num_biblios` int(11) NOT NULL default 0, >- `num_items` int(11) NOT NULL default 0, >- `upload_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, >- `overlay_action` enum('replace', 'create_new', 'use_template', 'ignore') NOT NULL default 'create_new', >- `nomatch_action` enum('create_new', 'ignore') NOT NULL default 'create_new', >- `item_action` enum('always_add', 'add_only_for_matches', 'add_only_for_new', 'ignore') NOT NULL default 'always_add', >- `import_status` enum('staging', 'staged', 'importing', 'imported', 'reverting', 'reverted', 'cleaned') NOT NULL default 'staging', >- `batch_type` enum('batch', 'z3950', 'webservice') NOT NULL default 'batch', >- `file_name` varchar(100), >- `comments` mediumtext, >+ `num_biblios` int(11) NOT NULL default 0, -- number of bib records in the file >+ `num_items` int(11) NOT NULL default 0, -- number of items in the file >+ `upload_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, -- date and time the file was uploaded >+ `overlay_action` enum('replace', 'create_new', 'use_template', 'ignore') NOT NULL default 'create_new', -- how to handle duplicate records >+ `nomatch_action` enum('create_new', 'ignore') NOT NULL default 'create_new', -- how to handle records where no match is found >+ `item_action` enum('always_add', 'add_only_for_matches', 'add_only_for_new', 'ignore') NOT NULL default 'always_add', -- what to do with item records >+ `import_status` enum('staging', 'staged', 'importing', 'imported', 'reverting', 'reverted', 'cleaned') NOT NULL default 'staging', -- the status of the imported file >+ `batch_type` enum('batch', 'z3950', 'webservice') NOT NULL default 'batch', -- where this batch has come from >+ `file_name` varchar(100), -- the name of the file uploaded >+ `comments` mediumtext, -- any comments added when the file was uploaded > PRIMARY KEY (`import_batch_id`), > KEY `branchcode` (`branchcode`) > ) ENGINE=InnoDB DEFAULT CHARSET=utf8; >-- >1.7.2.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6716
:
4987
|
4988
|
4989
|
4992
|
5003
|
5004
|
5005
|
5006
|
5007
|
5008
|
5009
|
5011
|
5012
|
5013
|
5014
|
5139
|
5140
|
5141
|
5142
|
5174
|
5175
|
5176
|
5177
|
5178
|
5179
|
5186
|
5187
|
5188
|
5190
|
5192
|
5193
|
5355
|
5356
|
5663
|
5664
|
5665
|
5666
|
5668
|
5669
|
5686
|
5687
|
5706
|
5829
|
6004
|
6015
|
6591
|
6592
|
6593
|
6594
|
6595
|
6596
|
6597
|
6598
|
6599
|
10788
|
10789
|
10790
|
10791
|
10792
|
10793
|
10794
|
10795
|
10822
|
10823
|
10824
|
10832
|
10833
|
10942
|
10970
|
10975
|
11011
|
11013
|
11014
|
11016
|
11018
|
11019
|
11020
|
11021
|
11022
|
11023
|
11084
|
11729
|
11823
|
11987
|
12024
|
12561
|
26777