Browse Source

Bug 18050: Add relation alias to schema

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Katrin Fischer 1 year ago
committed by Jonathan Druart
parent
commit
2800b53bdd
  1. 6
      Koha/Schema/Result/Aqbudget.pm

6
Koha/Schema/Result/Aqbudget.pm

@ -322,6 +322,12 @@ __PACKAGE__->many_to_many("borrowernumbers", "aqbudgetborrowers", "borrowernumbe
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-09-13 23:03:50
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kmzXRyD6aNqPr5C6u9GBHA
__PACKAGE__->belongs_to(
"budget",
"Koha::Schema::Result::Aqbudgetperiod",
{ "foreign.budget_period_id" => "self.budget_period_id" },
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
sub koha_object_class {
'Koha::Acquisition::Fund';

Loading…
Cancel
Save