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

upgrader: Add official upgrade path for CC

parent 09e59849
No related branches found
No related tags found
No related merge requests found
1b0fce992f6c7ed37a9b2914f86775d4
ed60ba203a473f4f32ac49eb45db16c7
/**
* @version v1.8.1 Collaboration (CC/BCC support)
* @signature f353145f8f4f48ea7f0d8e87083bb57c
* @version v1.8 - Collaboration
* @signature ed60ba203a473f4f32ac49eb45db16c7
* @title Add support for ticket collaborators
*
* Adds the database structure for collaboration table
*
......@@ -12,7 +13,8 @@ CREATE TABLE `%TABLE_PREFIX%ticket_collaborator` (
`isactive` tinyint(1) unsigned NOT NULL DEFAULT '1',
`ticket_id` int(11) unsigned NOT NULL DEFAULT '0',
`user_id` int(11) unsigned NOT NULL DEFAULT '0',
`role` char(1) NOT NULL DEFAULT 'E',
-- M => (message) clients, N => (note) 3rd-Party, R => (reply) external authority
`role` char(1) NOT NULL DEFAULT 'M',
`updated` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `collab` (`ticket_id`,`user_id`)
......@@ -21,5 +23,5 @@ CREATE TABLE `%TABLE_PREFIX%ticket_collaborator` (
-- Finish
UPDATE `%TABLE_PREFIX%config`
SET `value` = 'f353145f8f4f48ea7f0d8e87083bb57c'
SET `value` = 'ed60ba203a473f4f32ac49eb45db16c7'
WHERE `key` = 'schema_signature' AND `namespace` = 'core';
......@@ -627,7 +627,8 @@ CREATE TABLE `%TABLE_PREFIX%ticket_collaborator` (
`isactive` tinyint(1) unsigned NOT NULL DEFAULT '1',
`ticket_id` int(11) unsigned NOT NULL DEFAULT '0',
`user_id` int(11) unsigned NOT NULL DEFAULT '0',
`role` char(1) NOT NULL DEFAULT 'E',
-- M => (message) clients, N => (note) 3rd-Party, R => (reply) external authority
`role` char(1) NOT NULL DEFAULT 'M',
`updated` datetime NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `collab` (`ticket_id`,`user_id`)
......
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