From fb499bfea0b0a3b029aa5c8a00517b52d02e954e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 11 Jul 2022 15:47:46 +0100 Subject: [PATCH] Bug 12029: DBIC Schema Signed-off-by: Martin Renvoize Signed-off-by: Christopher Brannon --- Koha/Schema/Result/Message.pm | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Message.pm b/Koha/Schema/Result/Message.pm index 1ed5b0e16c..ecf7b55798 100644 --- a/Koha/Schema/Result/Message.pm +++ b/Koha/Schema/Result/Message.pm @@ -79,6 +79,14 @@ the date and time the message was written creator of message +=head2 patron_read_date + + data_type: 'timestamp' + datetime_undef_if_invalid: 1 + is_nullable: 1 + +date and time the patron dismissed the message + =cut __PACKAGE__->add_columns( @@ -101,6 +109,12 @@ __PACKAGE__->add_columns( }, "manager_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, + "patron_read_date", + { + data_type => "timestamp", + datetime_undef_if_invalid => 1, + is_nullable => 1, + }, ); =head1 PRIMARY KEY @@ -153,8 +167,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:EvxjiNgWGReZ9rEVmS5YVw +# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-11 14:46:25 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sV76ZU40dAuYXJEhxyDRZA sub koha_object_class { 'Koha::Patron::Message'; -- 2.30.2