SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
-- --------------------------------------------------------
-- Table structure for table `agent_activity`
CREATE TABLE `agent_activity` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`agent_id` int(11) NOT NULL,
`ticket_id` int(11) NOT NULL,
`agent_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`customer_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`thread_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` datetime NOT NULL,
KEY `IDX_9AA510CE3414710B` (`agent_id`),
KEY `IDX_9AA510CE700047D2` (`ticket_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `announcement`
CREATE TABLE `announcement` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` int(11) NOT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`promo_text` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`promo_tag` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`tag_color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`link_text` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`link_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`is_active` tinyint(1) NOT NULL,
`created_at` datetime DEFAULT NULL,
`updated_at` datetime DEFAULT NULL,
KEY `IDX_4DB9D91CFE54D947` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `migration_versions`
CREATE TABLE `migration_versions` (
`version` varchar(14) COLLATE utf8mb4_unicode_ci NOT NULL,
`executed_at` datetime NOT NULL COMMENT '(DC2Type:datetime_immutable)',
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Dumping data for table `migration_versions`
INSERT INTO `migration_versions` VALUES
('[[version]]', '[[regtime]]');
-- --------------------------------------------------------
-- Table structure for table `recaptcha`
CREATE TABLE `recaptcha` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`site_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`secret_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_active` tinyint(1) DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_admin_support_groups`
CREATE TABLE `uv_admin_support_groups` (
`adminUserInstanceId` int(11) NOT NULL,
`supportGroupId` int(11) NOT NULL,
PRIMARY KEY (`adminUserInstanceId`,`supportGroupId`),
KEY `IDX_215FF93837B7A2F1` (`adminUserInstanceId`),
KEY `IDX_215FF93853F5B65F` (`supportGroupId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_article`
CREATE TABLE `uv_article` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`meta_description` text COLLATE utf8mb4_unicode_ci,
`keywords` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`viewed` int(11) DEFAULT NULL,
`status` int(11) DEFAULT '0',
`date_added` datetime NOT NULL,
`date_updated` datetime NOT NULL,
`stared` int(11) DEFAULT NULL,
`meta_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
KEY `search_idx` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_article_category`
CREATE TABLE `uv_article_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_article_feedback`
CREATE TABLE `uv_article_feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) DEFAULT NULL,
`user_id` int(11) DEFAULT NULL,
`is_helpful` tinyint(1) NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci,
`created_at` datetime NOT NULL,
KEY `IDX_BCB7F9147294869C` (`article_id`),
KEY `IDX_BCB7F914A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_article_history`
CREATE TABLE `uv_article_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`user_id` int(11) NOT NULL,
`content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`date_added` datetime NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_article_tags`
CREATE TABLE `uv_article_tags` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`tag_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_article_view_log`
CREATE TABLE `uv_article_view_log` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`article_id` int(11) DEFAULT NULL,
`viewed_at` datetime NOT NULL,
KEY `IDX_8F76FF11A76ED395` (`user_id`),
KEY `IDX_8F76FF117294869C` (`article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_email_templates`
CREATE TABLE `uv_email_templates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`template_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_predefined` tinyint(1) NOT NULL DEFAULT '1',
KEY `IDX_784A0D85A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=12 ;
-- Dumping data for table `uv_email_templates`
INSERT INTO `uv_email_templates` VALUES
(1, NULL, 'User Forgot Password', 'Update your {%global.companyName%} helpdesk password', ' <p></p>\n <p></p>\n <p></p>\n <p></p>\n <p style="text-align: center; ">{%global.companyLogo%}</p>\n <p style="text-align: center; ">\n <br />\n </p>\n <p>Hi {%user.userName%},\n <br />\n </p>\n <p>\n <br />\n </p>\n <p>You recently requested to reset your password for your {%global.companyName%} account. Click the link to reset it {%user.forgotPasswordLink%}</p>\n <p>\n <br />\n </p>\n <p>If you did not request a password reset, please ignore this mail or revert back to let us know.</p>\n <div>\n <br />\n </div>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}</p>\n <p></p>\n <p></p>', 'user', 1),
(2, NULL, 'Agent Reply To The Customer''s ticket', 'New Reply Added on ticket #{% ticket.id %}', ' <p></p>\n <p></p>\n <p></p>\n <p></p>\n <p style="text-align: center">{%global.companyLogo%}</p>\n <p style="text-align: center">\n <br>\n </p>\n <p style="text-align: center">\n <span style="font-size: 18px">\n <b style="font-weight:bold">New Response!!</b>\n </span>\n </p>\n <span style="font-size: 18px">\n <b style="font-weight:bold"> </b>\n </span>\n <p>\n <br>\n </p>\n <p></p>\n <p></p> Hello {%ticket.customerName%},\n <p></p>\n <p></p>\n <p>\n <span style="line-height: 1.42857">\n <br>\n </span>\n </p>\n <p>\n <span style="line-height: 1.42857">A reply has been added by the </span>{%ticket.agentName%} on your ticket {%ticket.id%}. Kindly follow this link {%ticket.customerLink%}\n to get the insight of the message.\n <span style="line-height: 1.42857"> </span>\n </p>\n <p>\n <span style="line-height: 1.42857">\n <br>\n </span>\n </p>\n <p>\n <span style="line-height: 1.42857">Here go the ticket message:</span>\n </p>\n <p>{%ticket.threadMessage%}{%ticket.attachments%}\n <br>\n </p>\n <p></p>\n <p></p>\n <p>\n <br>\n </p>\n <p></p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}\n <br>\n </p>\n <br>\n <p></p>\n <p></p>\n <p></p>\n <p></p>\n <p></p>', 'ticket', 1),
(3, NULL, 'Ticket generated by customer', 'A new ticket #{%ticket.id%} has been generated by {%ticket.customerName%}', '<p></p>\n<p></p>\n<p style="text-align: center; ">{%global.companyLogo%}</p>\n<p style="text-align: center; ">\n <br />\n</p>\n<p style="text-align: center; ">\n <b>\n <span style="font-size: 18px;">Ticket generated!!</span>\n </b>\n</p>\n<br />Hello {%ticket.agentName%},\n<p></p>\n<p>\n <br />\n</p>\n<p>A new ticket {%ticket.id%} has been generated by {%ticket.customerName%} from the id {%ticket.customerEmail%}. Hit on the link provided so that you can have the access to the ticket {%ticket.agentLink%}.</p>\n<p>\n <br />\n</p>\n<p>Here goes the ticket message:</p>\n<p>{%ticket.threadMessage%}\n {%ticket.attachments%}\n <br />\n</p>\n<p>\n <br />\n</p>\n<p>\n <br />\n</p> Thanks and Regards\n<p></p>\n<p>{%global.companyName%}\n <br />\n</p>\n<p></p>\n<p></p>', 'ticket', 1),
(4, NULL, 'Agent Account Created', 'Welcome to {%global.companyName%} Helpdesk Support System', ' <p></p>\n <p></p>\n <p></p>\n <p style="text-align: center; ">{%global.companyLogo%}</p>\n <p style="text-align: center; ">\n <span style="font-size: 18px;">\n <b>Thank you for joining!!</b>\n </span>\n </p>\n <p style="text-align: center; ">\n <i>\n <br />\n </i>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Hello {%user.userName%},</p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Your account has been successfully created.</p>\n <p style="margin-bottom: 0cm; line-height: 100%"\n align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <span style="line-height: 100%;">Click on the link to set your password </span>{%user.accountValidationLink%}\n <span style="line-height: 100%;"> and get started with the </span>{%global.companyName%}\n <span style="line-height: 100%;"> services.</span>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <span style="line-height: 100%;">\n <br />\n </span>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Thanks and Regards\n <br />\n </p>\n <p>{%global.companyName%}</p>\n <p>\n <br />\n </p>\n <p></p>', 'user', 1),
(5, NULL, 'Ticket Assign', 'Ticket #{% ticket.id %} assign to you', ' <p></p>\n <p style="text-align: center;">{%global.companyLogo%}</p>\n <p style="text-align: center;">\n <br />\n </p>\n <p style="text-align: center;">\n <b>\n <span style="font-size: 18px;">Ticket assigned- Get ready!!</span>\n </b>\n </p>\n <p style="text-align: center; ">\n <br />\n </p> Hello {%ticket.agentName%},\n <br />\n <br />\n <p></p>\n <p>A ticket {%ticket.id%} has been assigned to you. You are requested to follow this link {%ticket.agentLink%} to get the\n access of the ticket.</p>\n <p>\n <br />\n </p>\n <p>Here go the ticket message:</p>\n <p>{%ticket.message%}\n <br />\n </p>\n <p>\n <br />\n </p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}\n <br />\n </p>\n <p></p>\n <p>\n <br />\n </p>\n <p></p>\n <p>\n <br />\n </p>\n <p></p>\n <p></p>\n <p></p>\n <p></p>', 'ticket', 1),
(6, NULL, 'Customer Reply To The Agent', 'Customer Reply Ticket #{% ticket.id %}', ' <p></p>\n <p></p>\n <p style="text-align: center; ">{%global.companyLogo%}</p>\n <p style="text-align: center; ">\n <br />\n </p>\n <p style="text-align: center; ">\n <b>\n <span style="font-size: 18px;">New Response!!</span>\n </b>\n </p>\n <p style="text-align: center; ">\n <b>\n <span style="font-size: 18px;">\n <br />\n </span>\n </b>\n </p> Hello {%ticket.agentName%},</p>\n <p></p>\n <p>\n <br />\n </p>\n <p></p>\n <p></p>\n <p>\n <span style="line-height: 1.42857143;">New reply have been added to ticket #{%ticket.id%} you can login to ticket system through this link {%ticket.agentLink%}.</span>\n </p>\n <p>\n <span style="line-height: 1.42857143;"> </span>\n </p>\n <p>\n <span style="line-height: 1.42857143;">Customer reply:\n <br />\n </span>{%ticket.threadMessage%}{%ticket.attachments%}</p>\n <p>\n <br />\n </p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}\n <br />\n </p>\n <p>\n <br />\n </p>\n <p></p>', 'ticket', 1),
(7, NULL, 'Ticket generated success mail to customer', 'New ticket #{% ticket.id %} Received', '<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p style="text-align: center;">{%global.companyLogo%}</p>\n<p style="text-align: center;">\n <br />\n</p>\n<p style="text-align: center;">\n <b>\n <span style="font-size: 18px;">Ticket generated!!</span>\n </b>\n</p>\n<p style="text-align: center; ">\n <br />\n</p>\n<br />\n<p></p>\n<p>Hello {%ticket.customerName%},</p>\n<p>\n <br />\n</p>\n<p></p>\n<p>Thank you so much for taking the time to connect us!</p>\n<p>\n <br />\n</p>\n<p>Your ticket #{%ticket.id%} has been received. You can check ticket through this link {%ticket.customerLink%} and you can also reply via this email.</p>\n<p>\n<p>\n <br />\n</p>\n<p>Our support staff will get back to you shortly (it might take a bit longer on evenings and weekends). Feel free to ask for any support request we will be happy to help.</p>\n<p>\n<span style="line-height: 1.42857143;">\n</p>\n<p>Here go the ticket message:</p>\n<p>{%ticket.threadMessage%}\n {%ticket.attachments%}\n <br />\n</p>\n<p>\n <br />\n</p>\n<p>Thanks and Regards</p>\n<p>{%global.companyName%}\n <br />\n</p>\n<br />\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>\n<p></p>', 'ticket', 1),
(8, NULL, 'Customer Account Created', 'Welcome to {%global.companyName%} Helpdesk', ' <p></p>\n <p></p>\n <p></p>\n <p style="text-align: center; ">{%global.companyLogo%}</p>\n <p style="text-align: center; ">\n <br />\n </p>\n <p style="text-align: center; ">\n <span style="font-size: 18px;">\n <b>Thank you for joining!!</b>\n </span>\n </p>\n <p style="text-align: center; ">\n <i>\n <br />\n </i>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Hello {%user.userName%},</p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Your account has been successfully created. We welcome you to the community of {%global.companyName%}.</p>\n <p style="margin-bottom: 0cm; line-height: 100%"\n align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">It is our privilege to have you as our customer. We are pretty much sure that you will love the fact that how simple it is\n to get started with the services. We are dedicated to making your working life simpler.</p>\n <p style="margin-bottom: 0cm; line-height: 100%"\n align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <span style="line-height: 100%;">Click on the link to set your password </span>{%user.accountValidationLink%}\n <span style="line-height: 100%;"> and get started with the </span>{%global.companyName%}\n <span style="line-height: 100%;"> services.</span>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <span style="line-height: 100%;">\n <br />\n </span>\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Hoping that you will enjoy this experience.</p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">\n <br />\n </p>\n <p style="margin-bottom: 0cm; line-height: 100%" align="left">Thanks and Regards\n <br />\n </p>\n <p>{%global.companyName%}</p>\n <p>\n <br />\n </p>\n <p></p>', 'user', 1),
(9, NULL, 'Collaborator added to ticket', 'A new Collaborator have been added', ' <p> </p>\n <p> </p>\n <p> </p>\n <p style="text-align: center;">{%global.companyLogo%}</p>\n <p style="text-align: center;"> </p>\n <p style="text-align: center;"><span style="font-size: 18px;"> <strong>Thank you for joining!!</strong> </span></p>\n <p style="text-align: center;"><em> <br /> </em></p>\n <p style="margin-bottom: 0cm; line-height: 100%;" align="left">Hello {%ticket.collaboratorName%},</p>\n <p style="margin-bottom: 0cm; line-height: 100%;" align="left"> </p>\n <p> </p>\n <p>Collaborator of the ticket #{%ticket.id%} has added a reply. You can check the ticket from here {%ticket.customerLink%}</p>\n <p> </p>\n <p>Here go the message:</p>\n <p>{%ticket.threadMessage%}</p>\n <p> </p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}</p>\n <p> </p>\n <p> </p>\n <p> </p>', 'ticket', 1),
(10, NULL, 'Collaborator Reply To The Agent', 'Collaborator Reply Ticket #{% ticket.id %}', ' <p> </p>\n <p> </p>\n <p style="text-align: center;">{%global.companyLogo%}</p>\n <p style="text-align: center;"> </p>\n <p style="text-align: center;"><strong> <span style="font-size: 18px;">New Response!!</span> </strong></p>\n <p style="text-align: center;"><strong> <span style="font-size: 18px;"> <br /> </span> </strong></p>\n <p>Hello {%ticket.agentName%},</p>\n <p> </p>\n <p>Collaborator of the ticket #{%ticket.id%} has added a reply. You can check the ticket from here {%ticket.agentLink%}.</p>\n <p> </p>\n <p>Here go the message:</p>\n <p>{%ticket.threadMessage%}{%ticket.attachments%}</p>\n <p> </p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}</p>\n <p> </p>', 'ticket', 1),
(11, NULL, 'Collaborator Reply To The Customer', 'Collaborator Reply Ticket #{% ticket.id %}', ' <p> </p>\n <p> </p>\n <p style="text-align: center;">{%global.companyLogo%}</p>\n <p style="text-align: center;"> </p>\n <p style="text-align: center;"><strong> <span style="font-size: 18px;">New Response!!</span> </strong></p>\n <p style="text-align: center;"><strong> <span style="font-size: 18px;"> <br /> </span> </strong></p>\n <p>Hello {%ticket.agentName%},</p>\n <p> </p>\n <p>Collaborator of the ticket #{%ticket.id%} has added a reply. You can check the ticket from here {%ticket.customerLink%}.</p>\n <p> </p>\n <p>Here go the message:</p>\n <p>{%ticket.threadMessage%}{%ticket.attachments%}</p>\n <p> </p>\n <p>Thanks and Regards</p>\n <p>{%global.companyName%}</p>\n <p> </p>', 'ticket', 1);
-- --------------------------------------------------------
-- Table structure for table `uv_lead_support_teams`
CREATE TABLE `uv_lead_support_teams` (
`leadUserInstanceId` int(11) NOT NULL,
`supportTeamId` int(11) NOT NULL,
PRIMARY KEY (`leadUserInstanceId`,`supportTeamId`),
KEY `IDX_8B5F844DD397BD7C` (`leadUserInstanceId`),
KEY `IDX_8B5F844DA77C7023` (`supportTeamId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_prepared_responses`
CREATE TABLE `uv_prepared_responses` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'public',
`actions` longtext COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '(DC2Type:array)',
`status` tinyint(1) DEFAULT '1',
`date_added` datetime NOT NULL,
`date_updated` datetime NOT NULL,
KEY `IDX_8AB5F066A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_prepared_response_support_groups`
CREATE TABLE `uv_prepared_response_support_groups` (
`group_id` int(11) NOT NULL,
`savedReply_id` int(11) NOT NULL,
PRIMARY KEY (`savedReply_id`,`group_id`),
KEY `IDX_A22590198D3102C3` (`savedReply_id`),
KEY `IDX_A2259019FE54D947` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_prepared_response_support_teams`
CREATE TABLE `uv_prepared_response_support_teams` (
`subgroup_id` int(11) NOT NULL,
`savedReply_id` int(11) NOT NULL,
PRIMARY KEY (`savedReply_id`,`subgroup_id`),
KEY `IDX_B6897DEB8D3102C3` (`savedReply_id`),
KEY `IDX_B6897DEBF5C464CE` (`subgroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_related_articles`
CREATE TABLE `uv_related_articles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`article_id` int(11) NOT NULL,
`related_article_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_saved_filters`
CREATE TABLE `uv_saved_filters` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`filtering` longtext COLLATE utf8mb4_unicode_ci,
`route` varchar(190) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`date_added` datetime NOT NULL,
`date_updated` datetime NOT NULL,
KEY `IDX_E1BFBAF7A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_saved_replies`
CREATE TABLE `uv_saved_replies` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`subject` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`template_id` int(11) DEFAULT NULL,
`is_predefind` tinyint(1) DEFAULT '1',
`message_inline` longtext COLLATE utf8mb4_unicode_ci,
`template_for` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
KEY `IDX_39C8BA50A76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_saved_replies_groups`
CREATE TABLE `uv_saved_replies_groups` (
`group_id` int(11) NOT NULL,
`savedReply_id` int(11) NOT NULL,
PRIMARY KEY (`savedReply_id`,`group_id`),
KEY `IDX_C59C13668D3102C3` (`savedReply_id`),
KEY `IDX_C59C1366FE54D947` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_saved_replies_teams`
CREATE TABLE `uv_saved_replies_teams` (
`subgroup_id` int(11) NOT NULL,
`savedReply_id` int(11) NOT NULL,
PRIMARY KEY (`savedReply_id`,`subgroup_id`),
KEY `IDX_D240CE708D3102C3` (`savedReply_id`),
KEY `IDX_D240CE70F5C464CE` (`subgroup_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_solutions`
CREATE TABLE `uv_solutions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`visibility` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`sort_order` int(11) NOT NULL DEFAULT '5',
`date_added` datetime NOT NULL,
`date_updated` datetime NOT NULL,
`solution_image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_solution_category`
CREATE TABLE `uv_solution_category` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sort_order` int(11) DEFAULT '1',
`sorting` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'ascending',
`date_added` datetime NOT NULL,
`status` int(11) DEFAULT '0',
`date_updated` datetime NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_solution_category_mapping`
CREATE TABLE `uv_solution_category_mapping` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`solution_id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_support_group`
CREATE TABLE `uv_support_group` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`created_at` datetime NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
`user_view` tinyint(1) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ;
-- Dumping data for table `uv_support_group`
INSERT INTO `uv_support_group` VALUES
(1, 'Default', 'Account Owner', '[[regtime]]', 1, 0);
-- --------------------------------------------------------
-- Table structure for table `uv_support_groups_teams`
CREATE TABLE `uv_support_groups_teams` (
`supportGroup_id` int(11) NOT NULL,
`supportTeam_id` int(11) NOT NULL,
PRIMARY KEY (`supportGroup_id`,`supportTeam_id`),
KEY `IDX_761A315DCE5F5290` (`supportGroup_id`),
KEY `IDX_761A315D9718E641` (`supportTeam_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --------------------------------------------------------
-- Table structure for table `uv_support_label`
CREATE TABLE `uv_support_label` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(11) DEFAULT NULL,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`color_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
KEY `IDX_EFD454DDA76ED395` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `uv_support_privilege`
CREATE TABLE `uv_support_privilege` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`privileges` longtext COLLATE utf8mb4_unicode_ci COMMENT '(DC2Type:array)',
`created_at` datetime DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ;
-- Dumping data for table `uv_support_privilege`
INSERT INTO `uv_support_privilege` VALUES
(1, 'Default Privileges', 'Default Privileges', 'a:1:{i:0;s:19:"ROLE_AGENT_ADD_NOTE";}', '[[regtime]]');
-- --------------------------------------------------------