Lines 97-106
__PACKAGE__->table("old_issues");
Link Here
|
97 |
|
97 |
|
98 |
=head2 checkout_type |
98 |
=head2 checkout_type |
99 |
|
99 |
|
100 |
data_type: 'enum' |
100 |
data_type: 'varchar' |
101 |
default_value: 'CHECKOUT' |
101 |
default_value: 'CHECKOUT' |
102 |
extra: {list => ["CHECKOUT","ONSITE"]} |
102 |
is_foreign_key: 1 |
103 |
is_nullable: 0 |
103 |
is_nullable: 0 |
|
|
104 |
size: 80 |
104 |
|
105 |
|
105 |
=head2 note |
106 |
=head2 note |
106 |
|
107 |
|
Lines 168-177
__PACKAGE__->add_columns(
Link Here
|
168 |
}, |
169 |
}, |
169 |
"checkout_type", |
170 |
"checkout_type", |
170 |
{ |
171 |
{ |
171 |
data_type => "enum", |
172 |
data_type => "varchar", |
172 |
default_value => "CHECKOUT", |
173 |
default_value => "CHECKOUT", |
173 |
extra => { list => ["CHECKOUT", "ONSITE"] }, |
174 |
is_foreign_key => 1, |
174 |
is_nullable => 0, |
175 |
is_nullable => 0, |
|
|
176 |
size => 80, |
175 |
}, |
177 |
}, |
176 |
"note", |
178 |
"note", |
177 |
{ data_type => "longtext", is_nullable => 1 }, |
179 |
{ data_type => "longtext", is_nullable => 1 }, |
Lines 219-224
__PACKAGE__->belongs_to(
Link Here
|
219 |
}, |
221 |
}, |
220 |
); |
222 |
); |
221 |
|
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 |
|
222 |
=head2 itemnumber |
239 |
=head2 itemnumber |
223 |
|
240 |
|
224 |
Type: belongs_to |
241 |
Type: belongs_to |
Lines 240-247
__PACKAGE__->belongs_to(
Link Here
|
240 |
); |
257 |
); |
241 |
|
258 |
|
242 |
|
259 |
|
243 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-09 19:47:02 |
260 |
# Created by DBIx::Class::Schema::Loader v0.07048 @ 2020-04-09 20:37:11 |
244 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J7jzh/kOsynQr52uSGxQ/A |
261 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gyjaefP3JtK14XMHw2QyTg |
245 |
|
262 |
|
246 |
__PACKAGE__->add_columns( |
263 |
__PACKAGE__->add_columns( |
247 |
'+auto_renew' => { is_boolean => 1 } |
264 |
'+auto_renew' => { is_boolean => 1 } |
248 |
- |
|
|