Bugzilla – Attachment 101314 Details for
Bug 19482
Elasticsearch - prevent removal / editing of required indexes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19482: SCHEMA CHANGES _ DO NOT PUSH
Bug-19482-SCHEMA-CHANGES--DO-NOT-PUSH.patch (text/plain), 1.59 KB, created by
Bouzid Fergani
on 2020-03-20 18:24:27 UTC
(
hide
)
Description:
Bug 19482: SCHEMA CHANGES _ DO NOT PUSH
Filename:
MIME Type:
Creator:
Bouzid Fergani
Created:
2020-03-20 18:24:27 UTC
Size:
1.59 KB
patch
obsolete
>From 1702894b29a600cae24e492552beef6dd7adeb75 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 10 Jan 2020 14:49:12 +0000 >Subject: [PATCH] Bug 19482: SCHEMA CHANGES _ DO NOT PUSH > >Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> > >https://bugs.koha-community.org/show_bug.cgi?id=21357 >--- > Koha/Schema/Result/SearchField.pm | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index 540d984..6ec04be 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -78,6 +78,13 @@ the order place of the field in facet list if faceted > default_value: 1 > is_nullable: 0 > >+=head2 mandatory >+ >+ data_type: 'tinyint' >+ is_nullable: 1 >+ >+if marked this field is not editable or removable >+ > =cut > > __PACKAGE__->add_columns( >@@ -103,6 +110,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, > "opac", > { data_type => "tinyint", default_value => 1, is_nullable => 0 }, >+ "mandatory", >+ { data_type => "tinyint", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -149,8 +158,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EbUa4eprgxeUkoOUiXO/Cg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-10 14:39:44 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/bsrgNIKPxCPRTET18FDkQ > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); > >-- >2.7.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 19482
:
68246
|
68247
|
68248
|
69250
|
72846
|
72847
|
72848
|
72878
|
72879
|
72880
|
77007
|
77008
|
77009
|
77010
|
80817
|
80818
|
80819
|
80820
|
93366
|
93367
|
93368
|
93371
|
93372
|
93373
|
97226
|
97227
|
97228
|
101312
|
101313
|
101314
|
108467
|
108468
|
108469
|
108470
|
108471
|
111923
|
111924
|
111925
|
111926
|
111927
|
111929
|
112456
|
112459
|
112460
|
112461
|
112462
|
112463
|
112464
|
112465