From 8dbf55d3cee1138b06d200b0cefc887bcc8b2a7b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 3 Mar 2026 08:18:11 +0000 Subject: [PATCH] Bug 40932: Automated Schema Update Sponsored-by: Westminster City Council Sponsored-by: Royal Borough of Kensington and Chelsea Sponsored-by: OpenFifth --- Koha/Schema/Result/AqordersItem.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/AqordersItem.pm b/Koha/Schema/Result/AqordersItem.pm index 147d8e8f33a..c96465aed51 100644 --- a/Koha/Schema/Result/AqordersItem.pm +++ b/Koha/Schema/Result/AqordersItem.pm @@ -47,6 +47,14 @@ the item number for this item (items.itemnumber) the date and time this order item was last touched +=head2 received + + data_type: 'datetime' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +Datetime the item was first physically received via circulation check-in + =cut __PACKAGE__->add_columns( @@ -61,6 +69,12 @@ __PACKAGE__->add_columns( default_value => \"current_timestamp", is_nullable => 0, }, + "received", + { + data_type => "datetime", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, ); =head1 PRIMARY KEY @@ -93,8 +107,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0qoEUMlkDZDBMxvaNwYtrA +# Created by DBIx::Class::Schema::Loader v0.07051 @ 2026-03-03 08:17:54 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5qahHUjyROwLiMKhacnyqw # You can replace this text with custom content, and it will be preserved on regeneration -- 2.53.0