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 172-177
__PACKAGE__->add_columns(
Link Here
|
172 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
178 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
173 |
"biblionumber", |
179 |
"biblionumber", |
174 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
180 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
181 |
"volume_id", |
182 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
175 |
"branchcode", |
183 |
"branchcode", |
176 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
184 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
177 |
"desk_id", |
185 |
"desk_id", |
Lines 320-328
__PACKAGE__->belongs_to(
Link Here
|
320 |
}, |
328 |
}, |
321 |
); |
329 |
); |
322 |
|
330 |
|
|
|
331 |
=head2 volume |
332 |
|
333 |
Type: belongs_to |
334 |
|
335 |
Related object: L<Koha::Schema::Result::Volume> |
336 |
|
337 |
=cut |
338 |
|
339 |
__PACKAGE__->belongs_to( |
340 |
"volume", |
341 |
"Koha::Schema::Result::Volume", |
342 |
{ id => "volume_id" }, |
343 |
{ |
344 |
is_deferrable => 1, |
345 |
join_type => "LEFT", |
346 |
on_delete => "SET NULL", |
347 |
on_update => "SET NULL", |
348 |
}, |
349 |
); |
350 |
|
323 |
|
351 |
|
324 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-11-06 11:00:40 |
352 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-11-13 16:19:46 |
325 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7weIpuc0RpZ/MxFn94E8dg |
353 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QsAkhw9ZKahdMfjpwqlyGQ |
326 |
|
354 |
|
327 |
__PACKAGE__->belongs_to( |
355 |
__PACKAGE__->belongs_to( |
328 |
"item", |
356 |
"item", |