Bugzilla – Attachment 11013 Details for
Bug 6716
Database Documentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6716: Update reserves table
Bug-6716-Update-reserves-table.patch (text/plain), 2.65 KB, created by
Nicole C. Engard
on 2012-07-19 13:32:05 UTC
(
hide
)
Description:
Bug 6716: Update reserves table
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-07-19 13:32:05 UTC
Size:
2.65 KB
patch
obsolete
>From eb6231420a5463b5617db5ce261e02af3ec6beca Mon Sep 17 00:00:00 2001 >From: Nicole C. Engard <nengard@bywatersolutions.com> >Date: Wed, 18 Jul 2012 21:27:12 -0400 >Subject: [PATCH] Bug 6716: Update reserves table > >This table had one field that I hadn't documented >before and two new fields for hold suspensions. All >of these are now updated. >--- > installer/data/mysql/kohastructure.sql | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) > >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 3b9827a..ce474c2 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -899,10 +899,10 @@ CREATE TABLE `import_records` ( > -- Table structure for `import_record_matches` > -- > DROP TABLE IF EXISTS `import_record_matches`; >-CREATE TABLE `import_record_matches` ( >- `import_record_id` int(11) NOT NULL, >- `candidate_match_id` int(11) NOT NULL, >- `score` int(11) NOT NULL default 0, >+CREATE TABLE `import_record_matches` ( -- matches found when importing a batch of records >+ `import_record_id` int(11) NOT NULL, -- the id given to the imported bib record (import_records.import_record_id) >+ `candidate_match_id` int(11) NOT NULL, -- the biblio the imported record matches (biblio.biblionumber) >+ `score` int(11) NOT NULL default 0, -- the match score > CONSTRAINT `import_record_matches_ibfk_1` FOREIGN KEY (`import_record_id`) > REFERENCES `import_records` (`import_record_id`) ON DELETE CASCADE ON UPDATE CASCADE, > KEY `record_score` (`import_record_id`, `score`) >@@ -1662,9 +1662,9 @@ CREATE TABLE `reserves` ( -- information related to holds/reserves in Koha > `itemnumber` int(11) default NULL, -- foreign key from the items table defining the specific item the patron has placed on hold or the item this hold was filled with > `waitingdate` date default NULL, -- the date the item was marked as waiting for the patron at the library > `expirationdate` DATE DEFAULT NULL, -- the date the hold expires (usually the date entered by the patron to say they don't need the hold after a certain date) >- `lowestPriority` tinyint(1) NOT NULL, >- `suspend` BOOLEAN NOT NULL DEFAULT 0, >- `suspend_until` DATETIME NULL DEFAULT NULL, >+ `lowestPriority` tinyint(1) NOT NULL, -- has this hold been pinned to the lowest priority in the holds queue (1 for yes, 0 for no) >+ `suspend` BOOLEAN NOT NULL DEFAULT 0, -- in this hold suspended (1 for yes, 0 for no) >+ `suspend_until` DATETIME NULL DEFAULT NULL, -- the date this hold is suspended until (NULL for infinitely) > PRIMARY KEY (`reserve_id`), > KEY priorityfoundidx (priority,found), > KEY `borrowernumber` (`borrowernumber`), >-- >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