Bugzilla – Attachment 100931 Details for
Bug 10269
Add a way to utilise a specific replyto email address for some notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10269: Add reply_address field to message_queue table
Bug-10269-Add-replyaddress-field-to-messagequeue-t.patch (text/plain), 1.78 KB, created by
Jonathan Druart
on 2020-03-18 09:48:08 UTC
(
hide
)
Description:
Bug 10269: Add reply_address field to message_queue table
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-18 09:48:08 UTC
Size:
1.78 KB
patch
obsolete
>From f7ebb9e2a6f65eb706ffcf35582603c38e5f0640 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 25 Feb 2020 09:42:20 +0000 >Subject: [PATCH] Bug 10269: Add reply_address field to message_queue table > >Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > installer/data/mysql/atomicupdate/bug_10269.perl | 9 +++++++++ > installer/data/mysql/kohastructure.sql | 1 + > 2 files changed, 10 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_10269.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_10269.perl b/installer/data/mysql/atomicupdate/bug_10269.perl >new file mode 100644 >index 0000000000..0d52232169 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_10269.perl >@@ -0,0 +1,9 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ if (!column_exists('message_queue', 'reply_address')) { >+ $dbh->do('ALTER TABLE message_queue ADD COLUMN reply_address LONGTEXT AFTER from_address'); >+ } >+ >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 22821 - Add reply_address to message_queue)\n"; >+} >diff --git a/installer/data/mysql/kohastructure.sql b/installer/data/mysql/kohastructure.sql >index 0f092725b5..b5538d7cb2 100644 >--- a/installer/data/mysql/kohastructure.sql >+++ b/installer/data/mysql/kohastructure.sql >@@ -2380,6 +2380,7 @@ CREATE TABLE `message_queue` ( > `updated_on` timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, > `to_address` LONGTEXT, > `from_address` LONGTEXT, >+ `reply_address` LONGTEXT, > `content_type` MEDIUMTEXT, > PRIMARY KEY `message_id` (`message_id`), > KEY `borrowernumber` (`borrowernumber`), >-- >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 10269
:
99905
|
99906
|
99907
| 100931 |
100932
|
100933