Skip to content
Snippets Groups Projects
Commit f7ed656d authored by aydreeihn's avatar aydreeihn
Browse files

Spelling Mistake:

For thread events, the referral state was spelled as 'reffered' instead of 'referred'. This needed to be changed to save to the database correctly. A new patch file has been added to correct the schema signature.
parent a24cafea
No related branches found
No related tags found
No related merge requests found
70921d5c3920ab240b08bdd55bc894c8 192aeec968ad819b88c49d7e0fecd723
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @version v1.11.0 * @version v1.11.0
* @title Add ticket referral * @title Add ticket referral
* *
* This patch adds a table for thread referral as well as thread event states of reffered and deleted * This patch adds a table for thread referral as well as thread event states of referred and deleted
*/ */
CREATE TABLE `%TABLE_PREFIX%thread_referral` ( CREATE TABLE `%TABLE_PREFIX%thread_referral` (
...@@ -18,7 +18,7 @@ CREATE TABLE `%TABLE_PREFIX%thread_referral` ( ...@@ -18,7 +18,7 @@ CREATE TABLE `%TABLE_PREFIX%thread_referral` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8; ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `%TABLE_PREFIX%thread_event` ALTER TABLE `%TABLE_PREFIX%thread_event`
CHANGE `state` `state` enum('created','closed','reopened','assigned','transferred', 'reffered', 'overdue','edited','viewed','error','collab','resent', 'deleted') NOT NULL; CHANGE `state` `state` enum('created','closed','reopened','assigned','transferred', 'referred', 'overdue','edited','viewed','error','collab','resent', 'deleted') NOT NULL;
-- Finished with patch -- Finished with patch
......
/**
* @signature 192aeec968ad819b88c49d7e0fecd723
* @version v1.11.0
* @title Final Revisions
*
* This patch is for final revisions needed for v1.11
*/
ALTER TABLE `%TABLE_PREFIX%thread_event`
CHANGE `state` `state` enum('created','closed','reopened','assigned','transferred', 'referred', 'overdue','edited','viewed','error','collab','resent', 'deleted') NOT NULL;
-- Finished with patch
UPDATE `%TABLE_PREFIX%config`
SET `value` = '192aeec968ad819b88c49d7e0fecd723'
WHERE `key` = 'schema_signature' AND `namespace` = 'core';
...@@ -718,7 +718,7 @@ CREATE TABLE `%TABLE_PREFIX%thread_event` ( ...@@ -718,7 +718,7 @@ CREATE TABLE `%TABLE_PREFIX%thread_event` (
`team_id` int(11) unsigned NOT NULL, `team_id` int(11) unsigned NOT NULL,
`dept_id` int(11) unsigned NOT NULL, `dept_id` int(11) unsigned NOT NULL,
`topic_id` int(11) unsigned NOT NULL, `topic_id` int(11) unsigned NOT NULL,
`state` enum('created','closed','reopened','assigned','transferred', 'reffered', 'overdue','edited','viewed','error','collab','resent', 'deleted') NOT NULL, `state` enum('created','closed','reopened','assigned','transferred', 'referred', 'overdue','edited','viewed','error','collab','resent', 'deleted') NOT NULL,
`data` varchar(1024) DEFAULT NULL COMMENT 'Encoded differences', `data` varchar(1024) DEFAULT NULL COMMENT 'Encoded differences',
`username` varchar(128) NOT NULL default 'SYSTEM', `username` varchar(128) NOT NULL default 'SYSTEM',
`uid` int(11) unsigned DEFAULT NULL, `uid` int(11) unsigned DEFAULT NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment