From a931a0e099134a925b4caac5d6e7095baadf4d59 Mon Sep 17 00:00:00 2001
From: Aleisha Amohia <aleishaamohia@hotmail.com>
Date: Wed, 15 Feb 2023 18:12:43 +1300
Subject: [PATCH] Bug 12029: Schema updates
Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
---
Koha/Schema/Result/Message.pm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/Koha/Schema/Result/Message.pm b/Koha/Schema/Result/Message.pm
index 1ed5b0e16c..af24b63a14 100644
--- a/Koha/Schema/Result/Message.pm
+++ b/Koha/Schema/Result/Message.pm
@@ -79,6 +79,12 @@ 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
+
=cut
__PACKAGE__->add_columns(
@@ -101,6 +107,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 +165,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.07046 @ 2023-02-15 18:12:29
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jYdlUfl4OWj8Ovv+ROjSgg
sub koha_object_class {
'Koha::Patron::Message';
--
2.30.2