From 43fd80634cc1cae15eea38941a4f3b3c666a175e Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 9 Jun 2023 14:15:17 +0000 Subject: [PATCH] Bug 33970: [DONT PUSH] dbic file --- Koha/Schema/Result/Illrequestattribute.pm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Koha/Schema/Result/Illrequestattribute.pm b/Koha/Schema/Result/Illrequestattribute.pm index c5e7af75d3..4e8792ecb2 100644 --- a/Koha/Schema/Result/Illrequestattribute.pm +++ b/Koha/Schema/Result/Illrequestattribute.pm @@ -32,6 +32,14 @@ __PACKAGE__->table("illrequestattributes"); ILL request number +=head2 backend + + data_type: 'varchar' + is_nullable: 0 + size: 80 + +API ILL backend name + =head2 type data_type: 'varchar' @@ -65,6 +73,8 @@ __PACKAGE__->add_columns( is_foreign_key => 1, is_nullable => 0, }, + "backend", + { data_type => "varchar", is_nullable => 0, size => 80 }, "type", { data_type => "varchar", is_nullable => 0, size => 200 }, "value", @@ -79,13 +89,15 @@ __PACKAGE__->add_columns( =item * L +=item * L + =item * L =back =cut -__PACKAGE__->set_primary_key("illrequest_id", "type"); +__PACKAGE__->set_primary_key("illrequest_id", "backend", "type"); =head1 RELATIONS @@ -105,8 +117,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qNhL5kiGVR8WroCHQY5DyQ +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-06-09 11:54:42 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ow8+a/KMNgMqYLdECtKY+g __PACKAGE__->add_columns( '+readonly' => { is_boolean => 1 } -- 2.30.2