From 5bc9d39f71b87c1790b747bc9a143d9017b6fcbf Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 18 Aug 2020 11:33:57 +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 540d984274..fe4c901631 100644 --- a/Koha/Schema/Result/SearchField.pm +++ b/Koha/Schema/Result/SearchField.pm @@ -78,6 +78,13 @@ the order place of the field in facet list if faceted default_value: 1 is_nullable: 0 +=head2 mandatory + + data_type: 'tinyint' + is_nullable: 1 + +if marked this field is not editable or removable + =cut __PACKAGE__->add_columns( @@ -103,6 +110,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 1, is_nullable => 0 }, "opac", { data_type => "tinyint", default_value => 1, is_nullable => 0 }, + "mandatory", + { data_type => "tinyint", is_nullable => 1 }, ); =head1 PRIMARY KEY @@ -149,8 +158,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EbUa4eprgxeUkoOUiXO/Cg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-18 11:14:07 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZuKh6+8XgaVFjlRRZ1JWVQ __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); -- 2.11.0