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:
parent
58dfeff13a
commit
396402aa68
2 changed files with 14 additions and 0 deletions
|
@ -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';
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue