Bugzilla – Attachment 95761 Details for
Bug 17831
Remove non-existing bibliosubject.subject mapping from frameworks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17831: Database update - Tidy up frameworks in existing installations
Bug-17831-Database-update---Tidy-up-frameworks-in-.patch (text/plain), 1.14 KB, created by
Katrin Fischer
on 2019-11-24 12:42:48 UTC
(
hide
)
Description:
Bug 17831: Database update - Tidy up frameworks in existing installations
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-11-24 12:42:48 UTC
Size:
1.14 KB
patch
obsolete
>From 601e572edcdc740d442b3b2fac9bbe0a869c37d5 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sun, 24 Nov 2019 12:39:57 +0000 >Subject: [PATCH] Bug 17831: Database update - Tidy up frameworks in existing > installations > >The mapped table and column doesn't exist, so we should also remove >it from existing installations. >--- > installer/data/mysql/atomicupdate/bug_17831_bibliosubject.perl | 6 ++++++ > 1 file changed, 6 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_17831_bibliosubject.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_17831_bibliosubject.perl b/installer/data/mysql/atomicupdate/bug_17831_bibliosubject.perl >new file mode 100644 >index 0000000000..09b694528a >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_17831_bibliosubject.perl >@@ -0,0 +1,6 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do( "UPDATE marc_subfield_structure SET kohafield = NULL WHERE kohafield = 'bibliosubject.subject';" ); >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 17831 - Remove non-existing bibliosubject.subject from frameworks)\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 17831
:
58769
|
95760
|
95761
|
96011
|
96012