Bug 18928: DBIC schema update
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 29 Apr 2019 15:03:13 +0000 (11:03 -0400)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Jul 2019 13:57:57 +0000 (14:57 +0100)
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha/Schema/Result/Branch.pm
Koha/Schema/Result/Itemtype.pm

index 532f3d0..b500147 100644 (file)
@@ -301,21 +301,6 @@ __PACKAGE__->has_many(
   { cascade_copy => 0, cascade_delete => 0 },
 );
 
-=head2 branch_item_rules
-
-Type: has_many
-
-Related object: L<Koha::Schema::Result::BranchItemRule>
-
-=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<Koha::Schema::Result::DefaultBranchCircRule>
-
-=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 }
index 37be850..f7f4fe1 100644 (file)
@@ -166,21 +166,6 @@ __PACKAGE__->set_primary_key("itemtype");
 
 =head1 RELATIONS
 
-=head2 branch_item_rules
-
-Type: has_many
-
-Related object: L<Koha::Schema::Result::BranchItemRule>
-
-=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<Koha::Schema::Result::DefaultBranchItemRule>
-
-=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;