Bugzilla – Attachment 98435 Details for
Bug 23673
Separate time sent from time created in message_queue table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23673: Set updated_on=time_queued on DB update
Bug-23673-Set-updatedontimequeued-on-DB-update.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2020-02-05 08:50:37 UTC
(
hide
)
Description:
Bug 23673: Set updated_on=time_queued on DB update
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-05 08:50:37 UTC
Size:
1.04 KB
patch
obsolete
>From 875da6e8a8dd054088c554704013cb4afebfb879 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 5 Feb 2020 09:47:47 +0100 >Subject: [PATCH] Bug 23673: Set updated_on=time_queued on DB update > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > installer/data/mysql/atomicupdate/bug-23673.perl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/installer/data/mysql/atomicupdate/bug-23673.perl b/installer/data/mysql/atomicupdate/bug-23673.perl >index 64c52ef5d9..faa5a88e8d 100644 >--- a/installer/data/mysql/atomicupdate/bug-23673.perl >+++ b/installer/data/mysql/atomicupdate/bug-23673.perl >@@ -5,6 +5,7 @@ if( CheckVersion( $DBversion ) ) { > > if( !column_exists( 'message_queue', 'updated_on' ) ) { > $dbh->do("ALTER TABLE message_queue ADD COLUMN updated_on timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP AFTER time_queued"); >+ $dbh->do("UPDATE message_queue SET updated_on=time_queued"); > } > > SetVersion( $DBversion ); >-- >2.11.0
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 23673
:
94503
|
94504
|
94954
|
96232
|
96346
|
96347
|
96391
|
96392
|
96451
|
96452
|
96643
|
98090
|
98091
|
98419
|
98420
|
98431
|
98432
|
98433
|
98434
| 98435