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

Add `pid` index for %ticket_thread

And rearrange files to work with the new layout for the finalized upgrader
parent 7ae845ec
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,9 @@ ALTER TABLE `%TABLE_PREFIX%email_filter`
ADD `canned_response_id` int(11) unsigned NOT NULL default '0'
AFTER `disable_autoresponder`;
-- Add index for linking responses to messages quickly
ALTER TABLE `%TABLE_PREFIX%ticket_thread` ADD KEY `pid` (`pid`);
-- Finished with patch
UPDATE `%TABLE_PREFIX%config`
SET `schema_signature`='71e05961fdb7a993a21704ae513512bc';
SET `schema_signature`='435c62c3b23795529bcfae7e7371d82e';
......@@ -63,7 +63,7 @@
#Current version && schema signature (Changes from version to version)
define('THIS_VERSION','1.7-DPR4'); //Shown on admin panel
define('SCHEMA_SIGNATURE','71e05961fdb7a993a21704ae513512bc'); //MD5 signature of the db schema. (used to trigger upgrades)
define('SCHEMA_SIGNATURE','435c62c3b23795529bcfae7e7371d82e'); //MD5 signature of the db schema. (used to trigger upgrades)
#load config info
$configfile='';
......
......@@ -660,6 +660,7 @@ CREATE TABLE `%TABLE_PREFIX%ticket_thread` (
PRIMARY KEY (`id`),
KEY `ticket_id` (`ticket_id`),
KEY `staff_id` (`staff_id`),
KEY `pid` (`pid`),
FULLTEXT KEY `body` (`body`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
......
b16d6d6021962e9e8674b6a81d9609bd
435c62c3b23795529bcfae7e7371d82e
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