From 36e7b7bbca1612b35c98292fe7f2e9000b7e30df Mon Sep 17 00:00:00 2001 From: Nick Clemens 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