@@ -, +, @@ --- Koha/Schema/Result/SearchField.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) --- a/Koha/Schema/Result/SearchField.pm +++ a/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"); --