Signed-off-by: Myka Kennedy Stephens <mkstephens@lancasterseminary.edu>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
--- /dev/null
+$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";
+}
`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`),