Bugzilla – Attachment 100825 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), 1.01 KB, created by
Katrin Fischer
on 2020-03-16 21:26:03 UTC
(
hide
)
Description:
Bug 24722: Add atomicupdate file
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-03-16 21:26:03 UTC
Size:
1.01 KB
patch
obsolete
>From 5405f27d8333cd5894f6973a281808f190bbca55 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 > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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