Bugzilla – Attachment 99642 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: Add atomicupdate file
Bug-24722-Add-atomicupdate-file.patch (text/plain), 975 bytes, created by
Jonathan Druart
on 2020-02-26 12:21:07 UTC
(
hide
)
Description:
Bug 24722: Add atomicupdate file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-26 12:21:07 UTC
Size:
975 bytes
patch
obsolete
>From 9eae31194b13d08f0adb3133d1a51c1157e4d77f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 26 Feb 2020 13:20:52 +0100 >Subject: [PATCH] Bug 24722: Add atomicupdate file > >--- > installer/data/mysql/atomicupdate/bug_24722.perl | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_24722.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_24722.perl b/installer/data/mysql/atomicupdate/bug_24722.perl >new file mode 100644 >index 0000000000..9d8c65aaf6 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_24722.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q| >+ ALTER TABLE reserves MODIFY priority SMALLINT(6) NOT NULL >+ |); >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 24722 - Enforce NOT NULL constraint for reserves.priority)\n"; >+} >-- >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