From cb986e17d77a6284b9bd440ec95583a13db44b6c Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 18 Jul 2022 12:07:42 -0300 Subject: [PATCH] Bug 28854: DBIC update Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/ReturnClaim.pm | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/ReturnClaim.pm b/Koha/Schema/Result/ReturnClaim.pm index 19e93f90df..3bedf15463 100644 --- a/Koha/Schema/Result/ReturnClaim.pm +++ b/Koha/Schema/Result/ReturnClaim.pm @@ -170,6 +170,22 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("id"); +=head1 UNIQUE CONSTRAINTS + +=head2 C + +=over 4 + +=item * L + +=item * L + +=back + +=cut + +__PACKAGE__->add_unique_constraint("item_issue", ["itemnumber", "issue_id"]); + =head1 RELATIONS =head2 borrowernumber @@ -263,8 +279,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-13 13:32:00 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WEoUNRgXEivVbg7+Oixv1g +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-18 15:06:21 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Xj7Juwt0e0wxEf+CZRfyMQ =head2 checkout -- 2.39.5