Skip to content
Snippets Groups Projects
Commit 7778ae2b authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #3071 from protich/issue/upgrader+email_info


upgrader: Split change and drop into 2 statements

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents c7e3dbd9 cb56e5e6
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