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

(-)a/Koha/Schema/Result/Reserve.pm (-11 / +12 lines)
Lines 60-67 foreign key from the biblio table defining which bib record this hold is on Link Here
60
=head2 branchcode
60
=head2 branchcode
61
61
62
  data_type: 'varchar'
62
  data_type: 'varchar'
63
  default_value: 0
63
  is_foreign_key: 1
64
  is_foreign_key: 1
64
  is_nullable: 1
65
  is_nullable: 0
65
  size: 10
66
  size: 10
66
67
67
foreign key from the branches table defining which branch the patron wishes to pick this hold up at
68
foreign key from the branches table defining which branch the patron wishes to pick this hold up at
Lines 236-242 __PACKAGE__->add_columns( Link Here
236
    is_nullable    => 0,
237
    is_nullable    => 0,
237
  },
238
  },
238
  "branchcode",
239
  "branchcode",
239
  { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
240
  {
241
    data_type => "varchar",
242
    default_value => 0,
243
    is_foreign_key => 1,
244
    is_nullable => 0,
245
    size => 10,
246
  },
240
  "desk_id",
247
  "desk_id",
241
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
248
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
242
  "notificationdate",
249
  "notificationdate",
Lines 347-358 __PACKAGE__->belongs_to( Link Here
347
  "branchcode",
354
  "branchcode",
348
  "Koha::Schema::Result::Branch",
355
  "Koha::Schema::Result::Branch",
349
  { branchcode => "branchcode" },
356
  { branchcode => "branchcode" },
350
  {
357
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
351
    is_deferrable => 1,
352
    join_type     => "LEFT",
353
    on_delete     => "CASCADE",
354
    on_update     => "CASCADE",
355
  },
356
);
358
);
357
359
358
=head2 club_holds_to_patron_holds
360
=head2 club_holds_to_patron_holds
Lines 431-438 __PACKAGE__->belongs_to( Link Here
431
);
433
);
432
434
433
435
434
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-28 20:08:09
436
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-01 14:52:08
435
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Q8/GFCOkXdn+jg69HZ0GQ
437
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvHwCkW9pQCFBc1wX9f2vg
436
438
437
__PACKAGE__->belongs_to(
439
__PACKAGE__->belongs_to(
438
  "item",
440
  "item",
439
- 

Return to bug 31086