From 2cbd976f459743c5fe38889c78d5a6de1af45f0d Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 1 Oct 2019 10:17:29 +0000 Subject: [PATCH] Bug 19482: SCHEMA CHANGES - DO NOT PUSH Signed-off-by: Nicolas Legrand --- 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 a347da0..ba12fd7 100644 --- a/Koha/Schema/Result/SearchField.pm +++ b/Koha/Schema/Result/SearchField.pm @@ -66,6 +66,13 @@ what type of data this holds, relevant when storing it in the search engine the order place of the field in facet list if faceted +=head2 mandatory + + data_type: 'tinyint' + is_nullable: 1 + +if marked this field is not editable or removable + =cut __PACKAGE__->add_columns( @@ -87,6 +94,8 @@ __PACKAGE__->add_columns( { data_type => "decimal", is_nullable => 1, size => [5, 2] }, "facet_order", { data_type => "tinyint", is_nullable => 1 }, + "mandatory", + { data_type => "tinyint", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -133,8 +142,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-28 15:31:40 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4Hc7O2fMCses1Bgfmk6Anw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 10:16:56 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:epEUxa1RT5ch8+DQ6LJvuw __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); -- 2.1.4