From 789e77a6715272ae2edddc6fd750177b48d97318 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 29 Apr 2019 11:03:13 -0400 Subject: [PATCH] Bug 18928: DBIC schema update Signed-off-by: Agustin Moyano Signed-off-by: Liz Rea Signed-off-by: Nick Clemens --- Koha/Schema/Result/Branch.pm | 34 ++-------------------------------- Koha/Schema/Result/Itemtype.pm | 34 ++-------------------------------- 2 files changed, 4 insertions(+), 64 deletions(-) diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm index 532f3d0665..b500147ea4 100644 --- a/Koha/Schema/Result/Branch.pm +++ b/Koha/Schema/Result/Branch.pm @@ -301,21 +301,6 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -=head2 branch_item_rules - -Type: has_many - -Related object: L - -=cut - -__PACKAGE__->has_many( - "branch_item_rules", - "Koha::Schema::Result::BranchItemRule", - { "foreign.branchcode" => "self.branchcode" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - =head2 branches_overdrive Type: might_have @@ -481,21 +466,6 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -=head2 default_branch_circ_rule - -Type: might_have - -Related object: L - -=cut - -__PACKAGE__->might_have( - "default_branch_circ_rule", - "Koha::Schema::Result::DefaultBranchCircRule", - { "foreign.branchcode" => "self.branchcode" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - =head2 edifact_eans Type: has_many @@ -677,8 +647,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pKohWwsuUHcZSlGDj7zmcw +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-29 15:02:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y+tNq5YiUeUOyAwB4r6GHw __PACKAGE__->add_columns( '+pickup_location' => { is_boolean => 1 } diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm index 37be85087c..f7f4fe1bf6 100644 --- a/Koha/Schema/Result/Itemtype.pm +++ b/Koha/Schema/Result/Itemtype.pm @@ -166,21 +166,6 @@ __PACKAGE__->set_primary_key("itemtype"); =head1 RELATIONS -=head2 branch_item_rules - -Type: has_many - -Related object: L - -=cut - -__PACKAGE__->has_many( - "branch_item_rules", - "Koha::Schema::Result::BranchItemRule", - { "foreign.itemtype" => "self.itemtype" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - =head2 circulation_rules Type: has_many @@ -196,21 +181,6 @@ __PACKAGE__->has_many( { cascade_copy => 0, cascade_delete => 0 }, ); -=head2 default_branch_item_rule - -Type: might_have - -Related object: L - -=cut - -__PACKAGE__->might_have( - "default_branch_item_rule", - "Koha::Schema::Result::DefaultBranchItemRule", - { "foreign.itemtype" => "self.itemtype" }, - { cascade_copy => 0, cascade_delete => 0 }, -); - =head2 old_reserves Type: has_many @@ -242,8 +212,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-07 17:30:46 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CDIOU6LmF7suaujk1NQOeg +# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-29 15:02:52 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X7Py35p8kotheBvJjuwDcA # Use the ItemtypeLocalization view to create the join on localization our $LANGUAGE; -- 2.11.0