|
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 |