Skip to content
Snippets Groups Projects
Commit cb56e5e6 authored by Peter Rotich's avatar Peter Rotich
Browse files

upgrader: Split change and drop into 2 statements

parent dcfa5527
No related branches found
No related tags found
No related merge requests found
......@@ -18,10 +18,12 @@ UPDATE `%TABLE_PREFIX%filter_rule`
-- Previously there was no primary key on the %ticket_email_info table, so
-- clean up any junk records before adding one
ALTER TABLE `%TABLE_PREFIX%ticket_email_info`
CHANGE `message_id` `thread_id` int(11) unsigned NOT NULL,
DROP INDEX `message_id`,
ADD INDEX `email_mid` (`email_mid`);
ALTER TABLE `%TABLE_PREFIX%ticket_email_info`
CHANGE `message_id` `thread_id` int(11) unsigned NOT NULL;
-- [#386](https://github.com/osTicket/osTicket-1.8/issues/386)
UPDATE `%TABLE_PREFIX%email_template`
SET `body` = REPLACE(`body`, '%{recipient}', '%{recipient.name}');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment