From be2ccfb25761c88d9ab0162f88325264ab4b57c0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 26 Dec 2019 11:53:57 +0100 Subject: [PATCH] Bug 24289: DBIC changes Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- Koha/Schema/Result/Branch.pm | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index 73b50e581b..6680195079 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -631,6 +631,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 repeatable_holidays + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "repeatable_holidays", + "Koha::Schema::Result::RepeatableHoliday", + { "foreign.branchcode" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 reserves Type: has_many @@ -646,6 +661,21 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); +=head2 special_holidays + +Type: has_many + +Related object: L + +=cut + +__PACKAGE__->has_many( + "special_holidays", + "Koha::Schema::Result::SpecialHoliday", + { "foreign.branchcode" => "self.branchcode" }, + { cascade_copy => 0, cascade_delete => 0 }, +); + =head2 stockrotationstages Type: has_many @@ -707,8 +737,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-14 09:59:52 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vWDJAm3K2jiyRS3htyip6A +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-26 10:51:35 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vxx2lpU/W6cC5muhVAO1jw __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 } -- 2.39.5