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

(-)a/Koha/Schema/Result/Branch.pm (-17 / +2 lines)
Lines 286-306 __PACKAGE__->has_many( Link Here
286
  { cascade_copy => 0, cascade_delete => 0 },
286
  { cascade_copy => 0, cascade_delete => 0 },
287
);
287
);
288
288
289
=head2 branch_borrower_circ_rules
290
291
Type: has_many
292
293
Related object: L<Koha::Schema::Result::BranchBorrowerCircRule>
294
295
=cut
296
297
__PACKAGE__->has_many(
298
  "branch_borrower_circ_rules",
299
  "Koha::Schema::Result::BranchBorrowerCircRule",
300
  { "foreign.branchcode" => "self.branchcode" },
301
  { cascade_copy => 0, cascade_delete => 0 },
302
);
303
304
=head2 branch_item_rules
289
=head2 branch_item_rules
305
290
306
Type: has_many
291
Type: has_many
Lines 662-669 __PACKAGE__->has_many( Link Here
662
);
647
);
663
648
664
649
665
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
650
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-12-06 15:22:30
666
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0yMUX1UukdV7eMol06JXTQ
651
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y6GFWRKodrYvhKbHKt1W4w
667
652
668
653
669
# You can replace this text with custom code or comments, and it will be preserved on regeneration
654
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)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 @ 2018-12-06 15:22:30
286
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yvHcgnSv1RXNMXJixVtt0Q
256
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DHXn60S03kQTnrR1Z2R3sw
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 @ 2018-12-06 15:22:30
114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wnrxD1/tp8X01YHmys02lg
100
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c82nLHhC2nHg71Ko09+8Ig
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 (-16 / +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 @ 2018-12-06 15:22:30
102
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqBrj0c9h9c0eBlC0kG51w
88
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Evgaod0Xff86V1frQ3y6kw
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
(-)a/Koha/Schema/Result/Issuingrule.pm (-17 / +2 lines)
Lines 103-118 __PACKAGE__->table("issuingrules"); Link Here
103
  is_nullable: 1
103
  is_nullable: 1
104
  size: 100
104
  size: 100
105
105
106
=head2 maxissueqty
107
108
  data_type: 'integer'
109
  is_nullable: 1
110
111
=head2 maxonsiteissueqty
112
113
  data_type: 'integer'
114
  is_nullable: 1
115
116
=head2 issuelength
106
=head2 issuelength
117
107
118
  data_type: 'integer'
108
  data_type: 'integer'
Lines 263-272 __PACKAGE__->add_columns( Link Here
263
  { data_type => "integer", is_nullable => 1 },
253
  { data_type => "integer", is_nullable => 1 },
264
  "chargename",
254
  "chargename",
265
  { data_type => "varchar", is_nullable => 1, size => 100 },
255
  { data_type => "varchar", is_nullable => 1, size => 100 },
266
  "maxissueqty",
267
  { data_type => "integer", is_nullable => 1 },
268
  "maxonsiteissueqty",
269
  { data_type => "integer", is_nullable => 1 },
270
  "issuelength",
256
  "issuelength",
271
  { data_type => "integer", is_nullable => 1 },
257
  { data_type => "integer", is_nullable => 1 },
272
  "lengthunit",
258
  "lengthunit",
Lines 336-343 __PACKAGE__->add_columns( Link Here
336
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
322
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
337
323
338
324
339
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-11-08 17:41:17
325
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-12-06 15:22:31
340
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vOr4mEAacS5WKLQifgT8EA
326
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jnLS+wtLSrftx44HEeWQTQ
341
327
342
328
343
# You can replace this text with custom code or comments, and it will be preserved on regeneration
329
# You can replace this text with custom code or comments, and it will be preserved on regeneration
344
- 

Return to bug 18925