Lines 46-51
__PACKAGE__->table("old_reserves");
Link Here
|
46 |
is_foreign_key: 1 |
46 |
is_foreign_key: 1 |
47 |
is_nullable: 1 |
47 |
is_nullable: 1 |
48 |
|
48 |
|
|
|
49 |
=head2 volume_id |
50 |
|
51 |
data_type: 'integer' |
52 |
is_foreign_key: 1 |
53 |
is_nullable: 1 |
54 |
|
49 |
=head2 branchcode |
55 |
=head2 branchcode |
50 |
|
56 |
|
51 |
data_type: 'varchar' |
57 |
data_type: 'varchar' |
Lines 155-160
__PACKAGE__->add_columns(
Link Here
|
155 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
161 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
156 |
"biblionumber", |
162 |
"biblionumber", |
157 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
163 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
164 |
"volume_id", |
165 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
158 |
"branchcode", |
166 |
"branchcode", |
159 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
167 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
160 |
"notificationdate", |
168 |
"notificationdate", |
Lines 297-305
__PACKAGE__->belongs_to(
Link Here
|
297 |
}, |
305 |
}, |
298 |
); |
306 |
); |
299 |
|
307 |
|
|
|
308 |
=head2 volume |
309 |
|
310 |
Type: belongs_to |
311 |
|
312 |
Related object: L<Koha::Schema::Result::Volume> |
313 |
|
314 |
=cut |
315 |
|
316 |
__PACKAGE__->belongs_to( |
317 |
"volume", |
318 |
"Koha::Schema::Result::Volume", |
319 |
{ id => "volume_id" }, |
320 |
{ |
321 |
is_deferrable => 1, |
322 |
join_type => "LEFT", |
323 |
on_delete => "SET NULL", |
324 |
on_update => "SET NULL", |
325 |
}, |
326 |
); |
327 |
|
300 |
|
328 |
|
301 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 |
329 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-25 17:26:16 |
302 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug |
330 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hOQW/9nUtYONepwVA5At7A |
303 |
|
331 |
|
304 |
sub koha_object_class { |
332 |
sub koha_object_class { |
305 |
'Koha::Old::Hold'; |
333 |
'Koha::Old::Hold'; |