Bugzilla – Attachment 125878 Details for
Bug 18984
Remove support for NORMARC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18984: DB changes
Bug-18984-DB-changes.patch (text/plain), 1.16 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-10-07 13:08:33 UTC
(
hide
)
Description:
Bug 18984: DB changes
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-10-07 13:08:33 UTC
Size:
1.16 KB
patch
obsolete
>From 79c2a256ae3cebea0e55b21d73fcaa15e5b35a6c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Oct 2021 17:00:07 +0200 >Subject: [PATCH] Bug 18984: DB changes > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > installer/data/mysql/atomicupdate/bug_18984.pl | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_18984.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_18984.pl b/installer/data/mysql/atomicupdate/bug_18984.pl >new file mode 100755 >index 0000000000..5c92ad7313 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_18984.pl >@@ -0,0 +1,12 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "18984", >+ description => "Remove NORMARC from search_marc_map.marc_type", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{DELETE FROM search_marc_map WHERE marc_type='normarc'}); >+ $dbh->do(q{ALTER TABLE search_marc_map MODIFY `marc_type` enum('marc21','unimarc') COMMENT 'what MARC type this map is for'}); >+ }, >+} >-- >2.32.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 18984
:
115514
|
115515
|
120397
|
120398
|
125417
|
125418
|
125819
|
125820
|
125826
|
125827
|
125828
|
125829
|
125830
|
125850
|
125851
|
125852
|
125876
|
125877
| 125878