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

(-)a/Koha/Schema/Result/Desk.pm (-2 / +17 lines)
Lines 83-91 __PACKAGE__->belongs_to( Link Here
83
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
83
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
84
);
84
);
85
85
86
=head2 reserves
86
87
87
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-10-02 13:43:57
88
Type: has_many
88
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IklOycKlChqv9Tftm8rjqA
89
90
Related object: L<Koha::Schema::Result::Reserve>
91
92
=cut
93
94
__PACKAGE__->has_many(
95
  "reserves",
96
  "Koha::Schema::Result::Reserve",
97
  { "foreign.desk_id" => "self.desk_id" },
98
  { cascade_copy => 0, cascade_delete => 0 },
99
);
100
101
102
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2020-09-14 18:41:21
103
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hc4PhUNsnk6tkmh0oI790w
89
104
90
105
91
# You can replace this text with custom code or comments, and it will be preserved on regeneration
106
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/OldReserve.pm (-2 / +9 lines)
Lines 52-57 __PACKAGE__->table("old_reserves"); Link Here
52
  is_nullable: 1
52
  is_nullable: 1
53
  size: 10
53
  size: 10
54
54
55
=head2 desk_id
56
57
  data_type: 'integer'
58
  is_nullable: 1
59
55
=head2 notificationdate
60
=head2 notificationdate
56
61
57
  data_type: 'date'
62
  data_type: 'date'
Lines 169-174 __PACKAGE__->add_columns( Link Here
169
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
174
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
170
  "branchcode",
175
  "branchcode",
171
  { data_type => "varchar", is_nullable => 1, size => 10 },
176
  { data_type => "varchar", is_nullable => 1, size => 10 },
177
  "desk_id",
178
  { data_type => "integer", is_nullable => 1 },
172
  "notificationdate",
179
  "notificationdate",
173
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
180
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
174
  "reminderdate",
181
  "reminderdate",
Lines 314-321 __PACKAGE__->belongs_to( Link Here
314
);
321
);
315
322
316
323
317
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-31 14:16:48
324
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2020-09-14 18:41:21
318
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DnOerXRIsIGIRKl9I0HZUQ
325
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:27y0XaLBE4Jgf2sDxKdBIA
319
326
320
__PACKAGE__->add_columns(
327
__PACKAGE__->add_columns(
321
    '+item_level_hold' => { is_boolean => 1 },
328
    '+item_level_hold' => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Reserve.pm (-3 / +30 lines)
Lines 56-61 __PACKAGE__->table("reserves"); Link Here
56
  is_nullable: 1
56
  is_nullable: 1
57
  size: 10
57
  size: 10
58
58
59
=head2 desk_id
60
61
  data_type: 'integer'
62
  is_foreign_key: 1
63
  is_nullable: 1
64
59
=head2 notificationdate
65
=head2 notificationdate
60
66
61
  data_type: 'date'
67
  data_type: 'date'
Lines 183-188 __PACKAGE__->add_columns( Link Here
183
  },
189
  },
184
  "branchcode",
190
  "branchcode",
185
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
191
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
192
  "desk_id",
193
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
186
  "notificationdate",
194
  "notificationdate",
187
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
195
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
188
  "reminderdate",
196
  "reminderdate",
Lines 312-317 __PACKAGE__->has_many( Link Here
312
  { cascade_copy => 0, cascade_delete => 0 },
320
  { cascade_copy => 0, cascade_delete => 0 },
313
);
321
);
314
322
323
=head2 desk
324
325
Type: belongs_to
326
327
Related object: L<Koha::Schema::Result::Desk>
328
329
=cut
330
331
__PACKAGE__->belongs_to(
332
  "desk",
333
  "Koha::Schema::Result::Desk",
334
  { desk_id => "desk_id" },
335
  {
336
    is_deferrable => 1,
337
    join_type     => "LEFT",
338
    on_delete     => "CASCADE",
339
    on_update     => "CASCADE",
340
  },
341
);
342
315
=head2 itemnumber
343
=head2 itemnumber
316
344
317
Type: belongs_to
345
Type: belongs_to
Lines 353-360 __PACKAGE__->belongs_to( Link Here
353
);
381
);
354
382
355
383
356
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-31 14:16:48
384
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2020-09-14 18:41:21
357
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:goRy3ZQWpGNmicok5Av37Q
385
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cFrUf7wFugFlTAOApDihFA
358
386
359
__PACKAGE__->belongs_to(
387
__PACKAGE__->belongs_to(
360
  "item",
388
  "item",
361
- 

Return to bug 24412