Bugzilla – Attachment 99576 Details for
Bug 24722
reserves.priority must be NOT NULL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24722: Enforce NOT NULL constraint on reserves.priority
Bug-24722-Enforce-NOT-NULL-constraint-on-reservesp.patch (text/plain), 1.48 KB, created by
Jonathan Druart
on 2020-02-25 11:23:22 UTC
(
hide
)
Description:
Bug 24722: Enforce NOT NULL constraint on reserves.priority
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-25 11:23:22 UTC
Size:
1.48 KB
patch
obsolete
>From ae800e3b0faa98629ef94fb26d0866a13283755b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 25 Feb 2020 12:07:18 +0100 >Subject: [PATCH] Bug 24722: Enforce NOT NULL constraint on reserves.priority > >This field is never NULL and must always be equal to an integer. >--- > 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 8ec1791c66..3498519c10 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -1771,7 +1771,7 @@ CREATE TABLE `reserves` ( -- information related to holds/reserves in Koha > `reminderdate` date default NULL, -- currently unused > `cancellationdate` date default NULL, -- the date this hold was cancelled > `reservenotes` LONGTEXT, -- notes related to this hold >- `priority` smallint(6) default NULL, -- where in the queue the patron sits >+ `priority` smallint(6) NOT NULL, -- where in the queue the patron sits > `found` varchar(1) default NULL, -- a one letter code defining what the status is of the hold is after it has been confirmed > `timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time this hold was last updated > `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 >-- >2.11.0
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 24722
:
99572
|
99576
|
99577
|
99578
|
99595
|
99596
|
99597
|
99642
|
100822
|
100823
|
100824
|
100825
|
100860
|
100945
|
100946