Bugzilla – Attachment 111671 Details for
Bug 26684
Remove 'marc' column from auth_header table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26684: Remove marc column from existing databases
Bug-26684-Remove-marc-column-from-existing-databas.patch (text/plain), 1.00 KB, created by
David Cook
on 2020-10-15 01:04:56 UTC
(
hide
)
Description:
Bug 26684: Remove marc column from existing databases
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-10-15 01:04:56 UTC
Size:
1.00 KB
patch
obsolete
>From f626a614b21d8e7356abdfc899c927630bf9392e Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 15 Oct 2020 01:02:59 +0000 >Subject: [PATCH] Bug 26684: Remove marc column from existing databases > >--- > .../atomicupdate/001-26684-drop_marc_column_from_auth_header.pl | 6 ++++++ > 1 file changed, 6 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.pl > >diff --git a/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.pl b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.pl >new file mode 100644 >index 0000000000..7dd8148208 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/001-26684-drop_marc_column_from_auth_header.pl >@@ -0,0 +1,6 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do( "ALTER TABLE auth_header DROP COLUMN marc" ); >+ >+ NewVersion( $DBversion, XXXXX, "Drop marc column from auth_header"); >+} >-- >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 26684
:
111670
|
111671
|
111672
|
112016
|
112018
|
112019
|
112087
|
112088
|
112089
|
112090
|
177445
|
177446
|
177447
|
177448
|
177449
|
177450
|
177455
|
177456
|
177457
|
177458
|
177459
|
177460
|
177461
|
177622
|
177623
|
177624
|
177625
|
177626
|
177627
|
178277
|
178278
|
178279
|
178280
|
178281
|
178282
|
178285