Bugzilla – Attachment 148608 Details for
Bug 12029
Patrons should be able to delete their patron messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12029: Schema updates
Bug-12029-Schema-updates.patch (text/plain), 1.52 KB, created by
Jonathan Druart
on 2023-03-23 13:01:57 UTC
(
hide
)
Description:
Bug 12029: Schema updates
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-03-23 13:01:57 UTC
Size:
1.52 KB
patch
obsolete
>From 7afb079370b13832c8c4e94154e87c2a0cd1232d 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.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 1ed5b0e16c6..af24b63a146 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.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12029
:
130514
|
130515
|
130516
|
132918
|
132949
|
137434
|
137435
|
137518
|
137519
|
137520
|
137521
|
137522
|
137523
|
137646
|
137647
|
137648
|
146706
|
146707
|
146708
|
146709
|
147521
|
147522
|
147523
|
147524
|
147525
|
148607
| 148608 |
148609
|
148610
|
148611