Lines 143-149
__PACKAGE__->table("aqorders");
Link Here
|
143 |
|
143 |
|
144 |
data_type: 'timestamp' |
144 |
data_type: 'timestamp' |
145 |
datetime_undef_if_invalid: 1 |
145 |
datetime_undef_if_invalid: 1 |
146 |
default_value: current_timestamp |
146 |
default_value: 'current_timestamp()' |
147 |
is_nullable: 0 |
147 |
is_nullable: 0 |
148 |
|
148 |
|
149 |
=head2 rrp |
149 |
=head2 rrp |
Lines 271-288
__PACKAGE__->table("aqorders");
Link Here
|
271 |
data_type: 'tinyint' |
271 |
data_type: 'tinyint' |
272 |
is_nullable: 1 |
272 |
is_nullable: 1 |
273 |
|
273 |
|
274 |
=head2 claims_count |
|
|
275 |
|
276 |
data_type: 'integer' |
277 |
default_value: 0 |
278 |
is_nullable: 1 |
279 |
|
280 |
=head2 claimed_date |
281 |
|
282 |
data_type: 'date' |
283 |
datetime_undef_if_invalid: 1 |
284 |
is_nullable: 1 |
285 |
|
286 |
=head2 subscriptionid |
274 |
=head2 subscriptionid |
287 |
|
275 |
|
288 |
data_type: 'integer' |
276 |
data_type: 'integer' |
Lines 371-377
__PACKAGE__->add_columns(
Link Here
|
371 |
{ |
359 |
{ |
372 |
data_type => "timestamp", |
360 |
data_type => "timestamp", |
373 |
datetime_undef_if_invalid => 1, |
361 |
datetime_undef_if_invalid => 1, |
374 |
default_value => \"current_timestamp", |
362 |
default_value => "current_timestamp()", |
375 |
is_nullable => 0, |
363 |
is_nullable => 0, |
376 |
}, |
364 |
}, |
377 |
"rrp", |
365 |
"rrp", |
Lines 416-425
__PACKAGE__->add_columns(
Link Here
|
416 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
404 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
417 |
"uncertainprice", |
405 |
"uncertainprice", |
418 |
{ data_type => "tinyint", is_nullable => 1 }, |
406 |
{ data_type => "tinyint", is_nullable => 1 }, |
419 |
"claims_count", |
|
|
420 |
{ data_type => "integer", default_value => 0, is_nullable => 1 }, |
421 |
"claimed_date", |
422 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
423 |
"subscriptionid", |
407 |
"subscriptionid", |
424 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
408 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
425 |
"parent_ordernumber", |
409 |
"parent_ordernumber", |
Lines 470-475
__PACKAGE__->has_many(
Link Here
|
470 |
{ cascade_copy => 0, cascade_delete => 0 }, |
454 |
{ cascade_copy => 0, cascade_delete => 0 }, |
471 |
); |
455 |
); |
472 |
|
456 |
|
|
|
457 |
=head2 aqorders_claims |
458 |
|
459 |
Type: has_many |
460 |
|
461 |
Related object: L<Koha::Schema::Result::AqordersClaim> |
462 |
|
463 |
=cut |
464 |
|
465 |
__PACKAGE__->has_many( |
466 |
"aqorders_claims", |
467 |
"Koha::Schema::Result::AqordersClaim", |
468 |
{ "foreign.ordernumber" => "self.ordernumber" }, |
469 |
{ cascade_copy => 0, cascade_delete => 0 }, |
470 |
); |
471 |
|
473 |
=head2 aqorders_items |
472 |
=head2 aqorders_items |
474 |
|
473 |
|
475 |
Type: has_many |
474 |
Type: has_many |
Lines 661-668
Composing rels: L</aqorder_users> -> borrowernumber
Link Here
|
661 |
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); |
660 |
__PACKAGE__->many_to_many("borrowernumbers", "aqorder_users", "borrowernumber"); |
662 |
|
661 |
|
663 |
|
662 |
|
664 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-31 11:51:37 |
663 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-17 14:58:50 |
665 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GQEXetlivZm7buQohl8m4A |
664 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B/pTQKIu8guDBN3uLBkI6Q |
666 |
|
665 |
|
667 |
__PACKAGE__->belongs_to( |
666 |
__PACKAGE__->belongs_to( |
668 |
"basket", |
667 |
"basket", |