Bugzilla – Attachment 77361 Details for
Bug 21129
New ALTER IGNORE TABLE entries need correction in updatedatabase.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21129: Fix typo created vs created_by
Bug-21129-Fix-typo-created-vs-createdby.patch (text/plain), 1.20 KB, created by
Josef Moravec
on 2018-08-01 11:21:38 UTC
(
hide
)
Description:
Bug 21129: Fix typo created vs created_by
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-08-01 11:21:38 UTC
Size:
1.20 KB
patch
obsolete
>From 2e98150117502c6d37334ad2708489c99a4caabd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 31 Jul 2018 10:09:40 -0300 >Subject: [PATCH] Bug 21129: Fix typo created vs created_by > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > installer/data/mysql/updatedatabase.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index c4ca176..24e78f5 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -16129,7 +16129,7 @@ if( CheckVersion( $DBversion ) ) { > > $DBversion = '18.06.00.005'; > if( CheckVersion( $DBversion ) ) { >- unless ( column_exists('aqorders', 'created') ) { >+ unless ( column_exists('aqorders', 'created_by') ) { > $dbh->do( "ALTER TABLE aqorders ADD COLUMN created_by int(11) NULL DEFAULT NULL AFTER quantityreceived;" ); > unless ( foreign_key_exists('aqorders', 'aqorders_created_by') ) { > $dbh->do( "ALTER TABLE aqorders ADD CONSTRAINT aqorders_created_by FOREIGN KEY (created_by) REFERENCES borrowers (borrowernumber) ON DELETE SET NULL ON UPDATE CASCADE;" ); >-- >2.1.4
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 21129
:
77313
|
77330
|
77331
|
77360
| 77361