Bugzilla – Attachment 77010 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: DO NOT PUSH Schema changes
Bug-19482-DO-NOT-PUSH-Schema-changes.patch (text/plain), 1.40 KB, created by
Nick Clemens (kidclamp)
on 2018-07-16 15:54:48 UTC
(
hide
)
Description:
Bug 19482: DO NOT PUSH Schema changes
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-07-16 15:54:48 UTC
Size:
1.40 KB
patch
obsolete
>From 27d46cf37aceb7a6fac7084aa9342af3caf7323d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 Jul 2018 15:53:42 +0000 >Subject: [PATCH] Bug 19482: DO NOT PUSH Schema changes > >--- > 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 95dab9d..e5c96c5 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -53,6 +53,13 @@ the human readable name of the field, for display > > what type of data this holds, relevant when storing it in the search engine > >+=head2 mandatory >+ >+ data_type: 'tinyint' >+ is_nullable: 1 >+ >+if marked this field is not editable or removable >+ > =cut > > __PACKAGE__->add_columns( >@@ -70,6 +77,8 @@ __PACKAGE__->add_columns( > }, > is_nullable => 0, > }, >+ "mandatory", >+ { data_type => "tinyint", is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -116,8 +125,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-27 04:12:00 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axyQNupqtw+5gMh1rsIHAg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-07-16 15:18:29 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fzo2xXsBMwCF820h6JAt4Q > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); > >-- >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 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