Bugzilla – Attachment 137523 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: DBIC Schema
Bug-12029-DBIC-Schema.patch (text/plain), 1.50 KB, created by
Martin Renvoize (ashimema)
on 2022-07-11 14:58:23 UTC
(
hide
)
Description:
Bug 12029: DBIC Schema
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-07-11 14:58:23 UTC
Size:
1.50 KB
patch
obsolete
>From c4815fa457267a47cd2d6edb3c4991ef3ca0c769 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 11 Jul 2022 15:47:46 +0100 >Subject: [PATCH] Bug 12029: DBIC Schema > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > 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.20.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