|
Lines 95-105
__PACKAGE__->table("old_issues");
Link Here
|
| 95 |
datetime_undef_if_invalid: 1 |
95 |
datetime_undef_if_invalid: 1 |
| 96 |
is_nullable: 1 |
96 |
is_nullable: 1 |
| 97 |
|
97 |
|
| 98 |
=head2 onsite_checkout |
98 |
=head2 checkout_type |
| 99 |
|
99 |
|
| 100 |
data_type: 'integer' |
100 |
data_type: 'varchar' |
| 101 |
default_value: 0 |
101 |
is_foreign_key: 1 |
| 102 |
is_nullable: 0 |
102 |
is_nullable: 1 |
|
|
103 |
size: 80 |
| 103 |
|
104 |
|
| 104 |
=head2 note |
105 |
=head2 note |
| 105 |
|
106 |
|
|
Lines 165-172
__PACKAGE__->add_columns(
Link Here
|
| 165 |
datetime_undef_if_invalid => 1, |
166 |
datetime_undef_if_invalid => 1, |
| 166 |
is_nullable => 1, |
167 |
is_nullable => 1, |
| 167 |
}, |
168 |
}, |
| 168 |
"onsite_checkout", |
169 |
"checkout_type", |
| 169 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
170 |
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 80 }, |
| 170 |
"note", |
171 |
"note", |
| 171 |
{ data_type => "longtext", is_nullable => 1 }, |
172 |
{ data_type => "longtext", is_nullable => 1 }, |
| 172 |
"notedate", |
173 |
"notedate", |
|
Lines 213-218
__PACKAGE__->belongs_to(
Link Here
|
| 213 |
}, |
214 |
}, |
| 214 |
); |
215 |
); |
| 215 |
|
216 |
|
|
|
217 |
=head2 checkout_type |
| 218 |
|
| 219 |
Type: belongs_to |
| 220 |
|
| 221 |
Related object: L<Koha::Schema::Result::AuthorisedValue> |
| 222 |
|
| 223 |
=cut |
| 224 |
|
| 225 |
__PACKAGE__->belongs_to( |
| 226 |
"checkout_type", |
| 227 |
"Koha::Schema::Result::AuthorisedValue", |
| 228 |
{ authorised_value => "checkout_type" }, |
| 229 |
{ |
| 230 |
is_deferrable => 1, |
| 231 |
join_type => "LEFT", |
| 232 |
on_delete => "SET NULL", |
| 233 |
on_update => "CASCADE", |
| 234 |
}, |
| 235 |
); |
| 236 |
|
| 216 |
=head2 itemnumber |
237 |
=head2 itemnumber |
| 217 |
|
238 |
|
| 218 |
Type: belongs_to |
239 |
Type: belongs_to |
|
Lines 234-245
__PACKAGE__->belongs_to(
Link Here
|
| 234 |
); |
255 |
); |
| 235 |
|
256 |
|
| 236 |
|
257 |
|
| 237 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44 |
258 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-01 16:24:27 |
| 238 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A |
259 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LQNWHEvYKH767RYxYfYPHw |
| 239 |
|
260 |
|
| 240 |
__PACKAGE__->add_columns( |
261 |
__PACKAGE__->add_columns( |
| 241 |
'+auto_renew' => { is_boolean => 1 }, |
262 |
'+auto_renew' => { is_boolean => 1 }, |
| 242 |
'+onsite_checkout' => { is_boolean => 1 } |
|
|
| 243 |
); |
263 |
); |
| 244 |
|
264 |
|
| 245 |
__PACKAGE__->belongs_to( |
265 |
__PACKAGE__->belongs_to( |
| 246 |
- |
|
|