View | Details | Raw Unified | Return to bug 40529
Collapse All | Expand All

(-)a/Koha/Schema/Result/HoldGroup.pm (-6 / +6 lines)
Lines 95-111 __PACKAGE__->belongs_to( Link Here
95
  },
95
  },
96
);
96
);
97
97
98
=head2 hold_group_target_hold
98
=head2 hold_groups_target_hold
99
99
100
Type: might_have
100
Type: might_have
101
101
102
Related object: L<Koha::Schema::Result::HoldGroupTargetHold>
102
Related object: L<Koha::Schema::Result::HoldGroupsTargetHold>
103
103
104
=cut
104
=cut
105
105
106
__PACKAGE__->might_have(
106
__PACKAGE__->might_have(
107
  "hold_group_target_hold",
107
  "hold_groups_target_hold",
108
  "Koha::Schema::Result::HoldGroupTargetHold",
108
  "Koha::Schema::Result::HoldGroupsTargetHold",
109
  { "foreign.hold_group_id" => "self.hold_group_id" },
109
  { "foreign.hold_group_id" => "self.hold_group_id" },
110
  { cascade_copy => 0, cascade_delete => 0 },
110
  { cascade_copy => 0, cascade_delete => 0 },
111
);
111
);
Lines 141-148 __PACKAGE__->has_many( Link Here
141
);
141
);
142
142
143
143
144
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-29 16:44:27
144
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-03 12:49:32
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5QXHYebj61H0y9VqNzlUSA
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a4b4MmUFpJoAkn7HbN++6A
146
146
147
147
148
# You can replace this text with custom code or comments, and it will be preserved on regeneration
148
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/HoldGroupTargetHold.pm (-10 / +10 lines)
Lines 1-12 Link Here
1
use utf8;
1
use utf8;
2
package Koha::Schema::Result::HoldGroupTargetHold;
2
package Koha::Schema::Result::HoldGroupsTargetHold;
3
3
4
# Created by DBIx::Class::Schema::Loader
4
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
6
7
=head1 NAME
7
=head1 NAME
8
8
9
Koha::Schema::Result::HoldGroupTargetHold
9
Koha::Schema::Result::HoldGroupsTargetHold
10
10
11
=cut
11
=cut
12
12
Lines 15-25 use warnings; Link Here
15
15
16
use base 'DBIx::Class::Core';
16
use base 'DBIx::Class::Core';
17
17
18
=head1 TABLE: C<hold_group_target_holds>
18
=head1 TABLE: C<hold_groups_target_holds>
19
19
20
=cut
20
=cut
21
21
22
__PACKAGE__->table("hold_group_target_holds");
22
__PACKAGE__->table("hold_groups_target_holds");
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
Lines 70-76 __PACKAGE__->set_primary_key("hold_group_id", "reserve_id"); Link Here
70
70
71
=head1 UNIQUE CONSTRAINTS
71
=head1 UNIQUE CONSTRAINTS
72
72
73
=head2 C<hold_group_id>
73
=head2 C<uq_hold_group_target_holds_hold_group_id>
74
74
75
=over 4
75
=over 4
76
76
Lines 80-88 __PACKAGE__->set_primary_key("hold_group_id", "reserve_id"); Link Here
80
80
81
=cut
81
=cut
82
82
83
__PACKAGE__->add_unique_constraint("hold_group_id", ["hold_group_id"]);
83
__PACKAGE__->add_unique_constraint("uq_hold_group_target_holds_hold_group_id", ["hold_group_id"]);
84
84
85
=head2 C<reserve_id>
85
=head2 C<uq_hold_group_target_holds_reserve_id>
86
86
87
=over 4
87
=over 4
88
88
Lines 92-98 __PACKAGE__->add_unique_constraint("hold_group_id", ["hold_group_id"]); Link Here
92
92
93
=cut
93
=cut
94
94
95
__PACKAGE__->add_unique_constraint("reserve_id", ["reserve_id"]);
95
__PACKAGE__->add_unique_constraint("uq_hold_group_target_holds_reserve_id", ["reserve_id"]);
96
96
97
=head1 RELATIONS
97
=head1 RELATIONS
98
98
Lines 127-134 __PACKAGE__->belongs_to( Link Here
127
);
127
);
128
128
129
129
130
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-23 13:01:15
130
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-03 12:49:32
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NtAC7d08ku24na/QpXzS1g
131
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EcoFIWRBGVt/lqf0nL6TaQ
132
132
133
133
134
# You can replace this text with custom code or comments, and it will be preserved on regeneration
134
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Reserve.pm (-7 / +6 lines)
Lines 440-456 __PACKAGE__->belongs_to( Link Here
440
  },
440
  },
441
);
441
);
442
442
443
=head2 hold_group_target_hold
443
=head2 hold_groups_target_hold
444
444
445
Type: might_have
445
Type: might_have
446
446
447
Related object: L<Koha::Schema::Result::HoldGroupTargetHold>
447
Related object: L<Koha::Schema::Result::HoldGroupsTargetHold>
448
448
449
=cut
449
=cut
450
450
451
__PACKAGE__->might_have(
451
__PACKAGE__->might_have(
452
  "hold_group_target_hold",
452
  "hold_groups_target_hold",
453
  "Koha::Schema::Result::HoldGroupTargetHold",
453
  "Koha::Schema::Result::HoldGroupsTargetHold",
454
  { "foreign.reserve_id" => "self.reserve_id" },
454
  { "foreign.reserve_id" => "self.reserve_id" },
455
  { cascade_copy => 0, cascade_delete => 0 },
455
  { cascade_copy => 0, cascade_delete => 0 },
456
);
456
);
Lines 516-523 __PACKAGE__->belongs_to( Link Here
516
);
516
);
517
517
518
518
519
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-23 13:01:15
519
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-11-03 12:49:32
520
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gThGGm5pjnkd2qyr8GWdCw
520
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fFALXRvgTXlIrfGQJlAbhw
521
521
522
__PACKAGE__->belongs_to(
522
__PACKAGE__->belongs_to(
523
  "item",
523
  "item",
524
- 

Return to bug 40529