From 195419931d2eee6c25e93ca87551b55a84f8e0e6 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 Signed-off-by: Martin Renvoize --- 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 54e1f30d07e..0ac2626b87f 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( @@ -124,6 +132,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 @@ -170,8 +180,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-04-30 09:10:16 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NE6QXq/8skTxjjoK15fYrg +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-07 09:45:57 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WPJEu04y32zDMr+vnK5og __PACKAGE__->add_columns( '+mandatory' => { is_boolean => 1 }, -- 2.45.0