@@ -, +, @@ --- 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 @@ -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"); --