Bugzilla – Attachment 134547 Details for
Bug 23486
TrackLastPatronActivityTriggers should have an option for patron creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23486: (follow-up) Correct Schema
Bug-23486-follow-up-Correct-Schema.patch (text/plain), 1.15 KB, created by
Nick Clemens (kidclamp)
on 2022-05-03 15:20:00 UTC
(
hide
)
Description:
Bug 23486: (follow-up) Correct Schema
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2022-05-03 15:20:00 UTC
Size:
1.15 KB
patch
obsolete
>From 4510afa76efb5677ec0214f787f6b79b655ebc9d Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Tue, 3 May 2022 15:18:08 +0000 >Subject: [PATCH] Bug 23486: (follow-up) Correct Schema > >It seems the generated schema handles timestamp incorrectly - this will allow for testing >--- > Koha/Schema/Result/Borrower.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index c19d3f3f31..689a825bca 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -573,7 +573,7 @@ time of last change could be useful for synchronization with external systems (a > > data_type: 'datetime' > datetime_undef_if_invalid: 1 >- default_value: 'current_timestamp()' >+ default_value: 'current_timestamp' > is_nullable: 1 > > last time a patron has been seen (connected at the OPAC or staff interface) >@@ -804,7 +804,7 @@ __PACKAGE__->add_columns( > { > data_type => "datetime", > datetime_undef_if_invalid => 1, >- default_value => "current_timestamp()", >+ default_value => \"current_timestamp", > is_nullable => 1, > }, > "lang", >-- >2.30.2
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 23486
:
131657
|
131658
|
132222
|
134540
|
134547
|
134549
|
134550
|
134551
|
134963
|
134964
|
148780
|
148781
|
149273
|
149274
|
150119
|
150120
|
171829
|
172820
|
172927
|
172928
|
174080
|
174081