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 |
default_value: 'C' |
|
|
102 |
is_foreign_key: 1 |
102 |
is_nullable: 0 |
103 |
is_nullable: 0 |
|
|
104 |
size: 80 |
103 |
|
105 |
|
104 |
=head2 note |
106 |
=head2 note |
105 |
|
107 |
|
Lines 165-172
__PACKAGE__->add_columns(
Link Here
|
165 |
datetime_undef_if_invalid => 1, |
167 |
datetime_undef_if_invalid => 1, |
166 |
is_nullable => 1, |
168 |
is_nullable => 1, |
167 |
}, |
169 |
}, |
168 |
"onsite_checkout", |
170 |
"checkout_type", |
169 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
171 |
{ |
|
|
172 |
data_type => "varchar", |
173 |
default_value => "C", |
174 |
is_foreign_key => 1, |
175 |
is_nullable => 0, |
176 |
size => 80, |
177 |
}, |
170 |
"note", |
178 |
"note", |
171 |
{ data_type => "longtext", is_nullable => 1 }, |
179 |
{ data_type => "longtext", is_nullable => 1 }, |
172 |
"notedate", |
180 |
"notedate", |
Lines 213-218
__PACKAGE__->belongs_to(
Link Here
|
213 |
}, |
221 |
}, |
214 |
); |
222 |
); |
215 |
|
223 |
|
|
|
224 |
=head2 checkout_type |
225 |
|
226 |
Type: belongs_to |
227 |
|
228 |
Related object: L<Koha::Schema::Result::AuthorisedValue> |
229 |
|
230 |
=cut |
231 |
|
232 |
__PACKAGE__->belongs_to( |
233 |
"checkout_type", |
234 |
"Koha::Schema::Result::AuthorisedValue", |
235 |
{ authorised_value => "checkout_type" }, |
236 |
{ is_deferrable => 1, on_delete => "RESTRICT", on_update => "CASCADE" }, |
237 |
); |
238 |
|
216 |
=head2 itemnumber |
239 |
=head2 itemnumber |
217 |
|
240 |
|
218 |
Type: belongs_to |
241 |
Type: belongs_to |
Lines 234-245
__PACKAGE__->belongs_to(
Link Here
|
234 |
); |
257 |
); |
235 |
|
258 |
|
236 |
|
259 |
|
237 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44 |
260 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-08 16:40:45 |
238 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E2N2paWcCHg916100ry+2A |
261 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:75LxdVEvKFyi0RFqGzin5g |
239 |
|
262 |
|
240 |
__PACKAGE__->add_columns( |
263 |
__PACKAGE__->add_columns( |
241 |
'+auto_renew' => { is_boolean => 1 }, |
264 |
'+auto_renew' => { is_boolean => 1 }, |
242 |
'+onsite_checkout' => { is_boolean => 1 } |
|
|
243 |
); |
265 |
); |
244 |
|
266 |
|
245 |
__PACKAGE__->belongs_to( |
267 |
__PACKAGE__->belongs_to( |
246 |
- |
|
|