Lines 119-124
__PACKAGE__->table("illrequests");
Link Here
|
119 |
is_nullable: 1 |
119 |
is_nullable: 1 |
120 |
size: 20 |
120 |
size: 20 |
121 |
|
121 |
|
|
|
122 |
=head2 status_alias |
123 |
|
124 |
data_type: 'integer' |
125 |
is_foreign_key: 1 |
126 |
is_nullable: 1 |
127 |
|
122 |
=cut |
128 |
=cut |
123 |
|
129 |
|
124 |
__PACKAGE__->add_columns( |
130 |
__PACKAGE__->add_columns( |
Lines 164-169
__PACKAGE__->add_columns(
Link Here
|
164 |
{ data_type => "varchar", is_nullable => 1, size => 50 }, |
170 |
{ data_type => "varchar", is_nullable => 1, size => 50 }, |
165 |
"backend", |
171 |
"backend", |
166 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
172 |
{ data_type => "varchar", is_nullable => 1, size => 20 }, |
|
|
173 |
"status_alias", |
174 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
167 |
); |
175 |
); |
168 |
|
176 |
|
169 |
=head1 PRIMARY KEY |
177 |
=head1 PRIMARY KEY |
Lines 230-238
__PACKAGE__->has_many(
Link Here
|
230 |
{ cascade_copy => 0, cascade_delete => 0 }, |
238 |
{ cascade_copy => 0, cascade_delete => 0 }, |
231 |
); |
239 |
); |
232 |
|
240 |
|
|
|
241 |
=head2 status_alias |
242 |
|
243 |
Type: belongs_to |
244 |
|
245 |
Related object: L<Koha::Schema::Result::AuthorisedValue> |
246 |
|
247 |
=cut |
248 |
|
249 |
__PACKAGE__->belongs_to( |
250 |
"status_alias", |
251 |
"Koha::Schema::Result::AuthorisedValue", |
252 |
{ id => "status_alias" }, |
253 |
{ |
254 |
is_deferrable => 1, |
255 |
join_type => "LEFT", |
256 |
on_delete => "SET NULL", |
257 |
on_update => "RESTRICT", |
258 |
}, |
259 |
); |
260 |
|
233 |
|
261 |
|
234 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53 |
262 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-05-15 15:13:30 |
235 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Rh8DSs3xj3KRmyd7WNGDAg |
263 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6QhckQiaGlBTB9TEPvXadg |
236 |
|
264 |
|
237 |
|
265 |
|
238 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
266 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
239 |
- |
|
|