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

(-)a/Koha/Schema/Result/Branch.pm (-17 / +2 lines)
Lines 301-321 __PACKAGE__->has_many( Link Here
301
  { cascade_copy => 0, cascade_delete => 0 },
301
  { cascade_copy => 0, cascade_delete => 0 },
302
);
302
);
303
303
304
=head2 branch_borrower_circ_rules
305
306
Type: has_many
307
308
Related object: L<Koha::Schema::Result::BranchBorrowerCircRule>
309
310
=cut
311
312
__PACKAGE__->has_many(
313
  "branch_borrower_circ_rules",
314
  "Koha::Schema::Result::BranchBorrowerCircRule",
315
  { "foreign.branchcode" => "self.branchcode" },
316
  { cascade_copy => 0, cascade_delete => 0 },
317
);
318
319
=head2 branch_item_rules
304
=head2 branch_item_rules
320
305
321
Type: has_many
306
Type: has_many
Lines 677-684 __PACKAGE__->has_many( Link Here
677
);
662
);
678
663
679
664
680
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-03 16:10:04
665
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-02-21 16:09:24
681
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WyXH3sMlyuJIx0fd31RswA
666
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:me6JZfevrwug6fYFIjOm9A
682
667
683
__PACKAGE__->add_columns(
668
__PACKAGE__->add_columns(
684
    '+pickup_location' => { is_boolean => 1 }
669
    '+pickup_location' => { is_boolean => 1 }
(-)a/Koha/Schema/Result/Category.pm (-32 / +2 lines)
Lines 221-241 __PACKAGE__->has_many( Link Here
221
  { cascade_copy => 0, cascade_delete => 0 },
221
  { cascade_copy => 0, cascade_delete => 0 },
222
);
222
);
223
223
224
=head2 branch_borrower_circ_rules
225
226
Type: has_many
227
228
Related object: L<Koha::Schema::Result::BranchBorrowerCircRule>
229
230
=cut
231
232
__PACKAGE__->has_many(
233
  "branch_borrower_circ_rules",
234
  "Koha::Schema::Result::BranchBorrowerCircRule",
235
  { "foreign.categorycode" => "self.categorycode" },
236
  { cascade_copy => 0, cascade_delete => 0 },
237
);
238
239
=head2 categories_branches
224
=head2 categories_branches
240
225
241
Type: has_many
226
Type: has_many
Lines 266-289 __PACKAGE__->has_many( Link Here
266
  { cascade_copy => 0, cascade_delete => 0 },
251
  { cascade_copy => 0, cascade_delete => 0 },
267
);
252
);
268
253
269
=head2 default_borrower_circ_rule
270
271
Type: might_have
272
273
Related object: L<Koha::Schema::Result::DefaultBorrowerCircRule>
274
275
=cut
276
277
__PACKAGE__->might_have(
278
  "default_borrower_circ_rule",
279
  "Koha::Schema::Result::DefaultBorrowerCircRule",
280
  { "foreign.categorycode" => "self.categorycode" },
281
  { cascade_copy => 0, cascade_delete => 0 },
282
);
283
284
254
285
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17
255
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-02-21 16:09:24
286
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yvHcgnSv1RXNMXJixVtt0Q
256
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ib2CtbAEKhVo3Vg2XaWy5A
287
257
288
258
289
# You can replace this text with custom content, and it will be preserved on regeneration
259
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/DefaultBranchCircRule.pm (-16 / +2 lines)
Lines 30-45 __PACKAGE__->table("default_branch_circ_rules"); Link Here
30
  is_nullable: 0
30
  is_nullable: 0
31
  size: 10
31
  size: 10
32
32
33
=head2 maxissueqty
34
35
  data_type: 'integer'
36
  is_nullable: 1
37
38
=head2 maxonsiteissueqty
39
40
  data_type: 'integer'
41
  is_nullable: 1
42
43
=head2 holdallowed
33
=head2 holdallowed
44
34
45
  data_type: 'tinyint'
35
  data_type: 'tinyint'
Lines 63-72 __PACKAGE__->table("default_branch_circ_rules"); Link Here
63
__PACKAGE__->add_columns(
53
__PACKAGE__->add_columns(
64
  "branchcode",
54
  "branchcode",
65
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
55
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
66
  "maxissueqty",
67
  { data_type => "integer", is_nullable => 1 },
68
  "maxonsiteissueqty",
69
  { data_type => "integer", is_nullable => 1 },
70
  "holdallowed",
56
  "holdallowed",
71
  { data_type => "tinyint", is_nullable => 1 },
57
  { data_type => "tinyint", is_nullable => 1 },
72
  "hold_fulfillment_policy",
58
  "hold_fulfillment_policy",
Lines 110-117 __PACKAGE__->belongs_to( Link Here
110
);
96
);
111
97
112
98
113
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
99
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-02-21 16:09:24
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wnrxD1/tp8X01YHmys02lg
100
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eED0imWaP/nM2wvY1fJX+A
115
101
116
102
117
# You can replace this text with custom content, and it will be preserved on regeneration
103
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/DefaultCircRule.pm (-17 / +2 lines)
Lines 30-45 __PACKAGE__->table("default_circ_rules"); Link Here
30
  extra: {list => ["singleton"]}
30
  extra: {list => ["singleton"]}
31
  is_nullable: 0
31
  is_nullable: 0
32
32
33
=head2 maxissueqty
34
35
  data_type: 'integer'
36
  is_nullable: 1
37
38
=head2 maxonsiteissueqty
39
40
  data_type: 'integer'
41
  is_nullable: 1
42
43
=head2 holdallowed
33
=head2 holdallowed
44
34
45
  data_type: 'integer'
35
  data_type: 'integer'
Lines 68-77 __PACKAGE__->add_columns( Link Here
68
    extra => { list => ["singleton"] },
58
    extra => { list => ["singleton"] },
69
    is_nullable => 0,
59
    is_nullable => 0,
70
  },
60
  },
71
  "maxissueqty",
72
  { data_type => "integer", is_nullable => 1 },
73
  "maxonsiteissueqty",
74
  { data_type => "integer", is_nullable => 1 },
75
  "holdallowed",
61
  "holdallowed",
76
  { data_type => "integer", is_nullable => 1 },
62
  { data_type => "integer", is_nullable => 1 },
77
  "hold_fulfillment_policy",
63
  "hold_fulfillment_policy",
Lines 98-105 __PACKAGE__->add_columns( Link Here
98
__PACKAGE__->set_primary_key("singleton");
84
__PACKAGE__->set_primary_key("singleton");
99
85
100
86
101
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
87
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-02-21 16:09:24
102
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqBrj0c9h9c0eBlC0kG51w
88
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WinyXjeSncCAKva1kNTDeQ
103
89
104
90
105
# You can replace this text with custom content, and it will be preserved on regeneration
91
# You can replace this text with custom content, and it will be preserved on regeneration
106
- 

Return to bug 18925