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

(-)a/Koha/Schema/Result/Branch.pm (-2 / +17 lines)
Lines 361-366 __PACKAGE__->has_many( Link Here
361
  { cascade_copy => 0, cascade_delete => 0 },
361
  { cascade_copy => 0, cascade_delete => 0 },
362
);
362
);
363
363
364
=head2 circulation_rules
365
366
Type: has_many
367
368
Related object: L<Koha::Schema::Result::CirculationRule>
369
370
=cut
371
372
__PACKAGE__->has_many(
373
  "circulation_rules",
374
  "Koha::Schema::Result::CirculationRule",
375
  { "foreign.branchcode" => "self.branchcode" },
376
  { cascade_copy => 0, cascade_delete => 0 },
377
);
378
364
=head2 club_enrollments
379
=head2 club_enrollments
365
380
366
Type: has_many
381
Type: has_many
Lines 617-624 __PACKAGE__->has_many( Link Here
617
);
632
);
618
633
619
634
620
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-06 16:28:49
635
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-29 17:29:04
621
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:N0tdcSAb4bMht/i0chipYQ
636
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TdCV8mkKeahtG+DifEIH5A
622
637
623
638
624
# You can replace this text with custom code or comments, and it will be preserved on regeneration
639
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/BranchBorrowerCircRule.pm (-9 / +2 lines)
Lines 47-57 __PACKAGE__->table("branch_borrower_circ_rules"); Link Here
47
  data_type: 'integer'
47
  data_type: 'integer'
48
  is_nullable: 1
48
  is_nullable: 1
49
49
50
=head2 max_holds
51
52
  data_type: 'integer'
53
  is_nullable: 1
54
55
=cut
50
=cut
56
51
57
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
Lines 63-70 __PACKAGE__->add_columns( Link Here
63
  { data_type => "integer", is_nullable => 1 },
58
  { data_type => "integer", is_nullable => 1 },
64
  "maxonsiteissueqty",
59
  "maxonsiteissueqty",
65
  { data_type => "integer", is_nullable => 1 },
60
  { data_type => "integer", is_nullable => 1 },
66
  "max_holds",
67
  { data_type => "integer", is_nullable => 1 },
68
);
61
);
69
62
70
=head1 PRIMARY KEY
63
=head1 PRIMARY KEY
Lines 114-121 __PACKAGE__->belongs_to( Link Here
114
);
107
);
115
108
116
109
117
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-25 15:10:08
110
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-29 17:29:04
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lgs8B3omV3Au570af/VF2g
111
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+MNZAKqU6GDK/Bslt9cR4g
119
112
120
113
121
# You can replace this text with custom content, and it will be preserved on regeneration
114
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Category.pm (-2 / +17 lines)
Lines 251-256 __PACKAGE__->has_many( Link Here
251
  { cascade_copy => 0, cascade_delete => 0 },
251
  { cascade_copy => 0, cascade_delete => 0 },
252
);
252
);
253
253
254
=head2 circulation_rules
255
256
Type: has_many
257
258
Related object: L<Koha::Schema::Result::CirculationRule>
259
260
=cut
261
262
__PACKAGE__->has_many(
263
  "circulation_rules",
264
  "Koha::Schema::Result::CirculationRule",
265
  { "foreign.categorycode" => "self.categorycode" },
266
  { cascade_copy => 0, cascade_delete => 0 },
267
);
268
254
=head2 default_borrower_circ_rule
269
=head2 default_borrower_circ_rule
255
270
256
Type: might_have
271
Type: might_have
Lines 267-274 __PACKAGE__->might_have( Link Here
267
);
282
);
268
283
269
284
270
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
285
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-29 17:29:04
271
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TGAiiFICSjlKNvnfa87kFQ
286
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I3VQpfQsul8S/g9DZJrCLA
272
287
273
288
274
# You can replace this text with custom content, and it will be preserved on regeneration
289
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/DefaultBorrowerCircRule.pm (-9 / +2 lines)
Lines 40-50 __PACKAGE__->table("default_borrower_circ_rules"); Link Here
40
  data_type: 'integer'
40
  data_type: 'integer'
41
  is_nullable: 1
41
  is_nullable: 1
42
42
43
=head2 max_holds
44
45
  data_type: 'integer'
46
  is_nullable: 1
47
48
=cut
43
=cut
49
44
50
__PACKAGE__->add_columns(
45
__PACKAGE__->add_columns(
Lines 54-61 __PACKAGE__->add_columns( Link Here
54
  { data_type => "integer", is_nullable => 1 },
49
  { data_type => "integer", is_nullable => 1 },
55
  "maxonsiteissueqty",
50
  "maxonsiteissueqty",
56
  { data_type => "integer", is_nullable => 1 },
51
  { data_type => "integer", is_nullable => 1 },
57
  "max_holds",
58
  { data_type => "integer", is_nullable => 1 },
59
);
52
);
60
53
61
=head1 PRIMARY KEY
54
=head1 PRIMARY KEY
Lines 88-95 __PACKAGE__->belongs_to( Link Here
88
);
81
);
89
82
90
83
91
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-25 15:10:09
84
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-29 17:29:04
92
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hv9wFvd5mb8Ch7RPCZynoA
85
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R0Yg31SdKMhs7wUyetMtTA
93
86
94
87
95
# You can replace this text with custom content, and it will be preserved on regeneration
88
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Itemtype.pm (-3 / +17 lines)
Lines 165-170 __PACKAGE__->has_many( Link Here
165
  { cascade_copy => 0, cascade_delete => 0 },
165
  { cascade_copy => 0, cascade_delete => 0 },
166
);
166
);
167
167
168
=head2 circulation_rules
169
170
Type: has_many
171
172
Related object: L<Koha::Schema::Result::CirculationRule>
173
174
=cut
175
176
__PACKAGE__->has_many(
177
  "circulation_rules",
178
  "Koha::Schema::Result::CirculationRule",
179
  { "foreign.itemtype" => "self.itemtype" },
180
  { cascade_copy => 0, cascade_delete => 0 },
181
);
182
168
=head2 default_branch_item_rule
183
=head2 default_branch_item_rule
169
184
170
Type: might_have
185
Type: might_have
Lines 211-218 __PACKAGE__->has_many( Link Here
211
);
226
);
212
227
213
228
214
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
229
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-29 17:29:04
215
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cNP7/nYGdVeKZ8L7sp1+FQ
230
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OpZLneGL0vjLu3LRPJPCWw
216
231
217
# Use the ItemtypeLocalization view to create the join on localization
232
# Use the ItemtypeLocalization view to create the join on localization
218
our $LANGUAGE;
233
our $LANGUAGE;
219
- 

Return to bug 18887