Lines 31-36
__PACKAGE__->table("tmp_holdsqueue");
Link Here
|
31 |
=head2 itemnumber |
31 |
=head2 itemnumber |
32 |
|
32 |
|
33 |
data_type: 'integer' |
33 |
data_type: 'integer' |
|
|
34 |
is_foreign_key: 1 |
34 |
is_nullable: 1 |
35 |
is_nullable: 1 |
35 |
|
36 |
|
36 |
=head2 barcode |
37 |
=head2 barcode |
Lines 111-117
__PACKAGE__->add_columns(
Link Here
|
111 |
"biblionumber", |
112 |
"biblionumber", |
112 |
{ data_type => "integer", is_nullable => 1 }, |
113 |
{ data_type => "integer", is_nullable => 1 }, |
113 |
"itemnumber", |
114 |
"itemnumber", |
114 |
{ data_type => "integer", is_nullable => 1 }, |
115 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
115 |
"barcode", |
116 |
"barcode", |
116 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
117 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
117 |
"surname", |
118 |
"surname", |
Lines 140-148
__PACKAGE__->add_columns(
Link Here
|
140 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
141 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
141 |
); |
142 |
); |
142 |
|
143 |
|
|
|
144 |
=head1 RELATIONS |
145 |
|
146 |
=head2 itemnumber |
147 |
|
148 |
Type: belongs_to |
149 |
|
150 |
Related object: L<Koha::Schema::Result::Item> |
151 |
|
152 |
=cut |
153 |
|
154 |
__PACKAGE__->belongs_to( |
155 |
"itemnumber", |
156 |
"Koha::Schema::Result::Item", |
157 |
{ itemnumber => "itemnumber" }, |
158 |
{ |
159 |
is_deferrable => 1, |
160 |
join_type => "LEFT", |
161 |
on_delete => "CASCADE", |
162 |
on_update => "CASCADE", |
163 |
}, |
164 |
); |
165 |
|
143 |
|
166 |
|
144 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 |
167 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-13 19:45:19 |
145 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1Wa4h3u3FePOhGPD8SHEWg |
168 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7btKvJE/ZvkG5IvPF3vHeQ |
146 |
|
169 |
|
147 |
|
170 |
|
148 |
# You can replace this text with custom content, and it will be preserved on regeneration |
171 |
# You can replace this text with custom content, and it will be preserved on regeneration |
149 |
- |
|
|