Bug 30612: Update schema files

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Kyle Hall 2022-06-08 13:43:01 -04:00 committed by Tomas Cohen Arazi
parent 58dfeff13a
commit 396402aa68
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 14 additions and 0 deletions

View file

@ -403,6 +403,13 @@ __PACKAGE__->might_have(
{ cascade_copy => 0, cascade_delete => 0 },
);
__PACKAGE__->has_many(
"accountlines",
"Koha::Schema::Result::Accountline",
{ "foreign.issue_id" => "self.issue_id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
sub koha_object_class {
'Koha::Checkout';
}

View file

@ -366,6 +366,13 @@ Related object: L<Koha::Schema::Result::ReturnClaim>
=cut
__PACKAGE__->has_many(
"accountlines",
"Koha::Schema::Result::Accountline",
{ "foreign.issue_id" => "self.issue_id" },
{ cascade_copy => 0, cascade_delete => 0 },
);
__PACKAGE__->might_have(
"return_claim",
"Koha::Schema::Result::ReturnClaim",