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 161-166
__PACKAGE__->add_columns(
Link Here
|
161 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
167 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
162 |
"biblionumber", |
168 |
"biblionumber", |
163 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
169 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
170 |
"volume_id", |
171 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
164 |
"branchcode", |
172 |
"branchcode", |
165 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
173 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
166 |
"notificationdate", |
174 |
"notificationdate", |
Lines 305-313
__PACKAGE__->belongs_to(
Link Here
|
305 |
}, |
313 |
}, |
306 |
); |
314 |
); |
307 |
|
315 |
|
|
|
316 |
=head2 volume |
317 |
|
318 |
Type: belongs_to |
319 |
|
320 |
Related object: L<Koha::Schema::Result::Volume> |
321 |
|
322 |
=cut |
323 |
|
324 |
__PACKAGE__->belongs_to( |
325 |
"volume", |
326 |
"Koha::Schema::Result::Volume", |
327 |
{ id => "volume_id" }, |
328 |
{ |
329 |
is_deferrable => 1, |
330 |
join_type => "LEFT", |
331 |
on_delete => "SET NULL", |
332 |
on_update => "SET NULL", |
333 |
}, |
334 |
); |
335 |
|
308 |
|
336 |
|
309 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-08-25 13:08:15 |
337 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-25 14:45:34 |
310 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PtDLEieaxS+76FD0H943Zg |
338 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mKbtcdxSEzY3eetqVB9ZaA |
311 |
|
339 |
|
312 |
__PACKAGE__->add_columns( |
340 |
__PACKAGE__->add_columns( |
313 |
'+item_level_hold' => { is_boolean => 1 }, |
341 |
'+item_level_hold' => { is_boolean => 1 }, |