From c6b61468b4fee6458ee8739c9217208e8607fa86 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Mar 2024 15:51:44 +0100 Subject: [PATCH] Bug 36396: DBIC schema changes Sponsored-by: The Research University in the Helmholtz Association (KIT) Signed-off-by: Lukas Koszyk --- Koha/Schema/Result/SearchField.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm index 6cc906831e..677e146713 100644 --- a/Koha/Schema/Result/SearchField.pm +++ b/Koha/Schema/Result/SearchField.pm @@ -85,6 +85,14 @@ the order place of the field in facet list if faceted if marked this field is not editable or removable +=head2 authorised_value_category + + data_type: 'varchar' + is_nullable: 1 + size: 32 + +link to authorised value category + =cut __PACKAGE__->add_columns( @@ -123,6 +131,8 @@ __PACKAGE__->add_columns( { data_type => "tinyint", default_value => 1, is_nullable => 0 }, "mandatory", { data_type => "tinyint", is_nullable => 1 }, + "authorised_value_category", + { data_type => "varchar", is_nullable => 1, size => 32 }, ); =head1 PRIMARY KEY @@ -169,8 +179,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-18 15:10:43 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Uk5JsfPJo0XVvGfMfJg3cg +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2024-03-21 14:46:42 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/QKQuED5bWvSqfYSRYDuYA __PACKAGE__->add_columns( '+mandatory' => { is_boolean => 1 }, -- 2.30.2