From 099f7055e4ce3379296dacc3821b385911d0fb1d Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 18 Oct 2017 13:10:34 +0000 Subject: [PATCH] Bug 19482 - Schema changes (DO NOT PUSH) --- 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 ee32f42..f19408f 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( @@ -68,6 +75,8 @@ __PACKAGE__->add_columns( extra => { list => ["", "string", "date", "number", "boolean", "sum"] }, is_nullable => 0, }, + "mandatory", + { data_type => "tinyint", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -114,8 +123,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-23 13:30:43 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1IenQWmCO16tJ/nIFTFYug +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-18 11:09:53 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L/EHq8OrXxW9pU3dLrAqcg __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); -- 2.1.4