This commit is contained in:
Manish Verma
2016-12-13 18:18:25 +05:30
parent fc98add11c
commit 2d8e640e9b
2314 changed files with 97798 additions and 75664 deletions

View File

@@ -0,0 +1,102 @@
--
-- Alter users table
--
ALTER TABLE `users` ADD `is_delete` BOOLEAN NOT NULL DEFAULT FALSE AFTER `remember_token`;
-- ---------------------------------------------------------------------------------------
--
-- Update table templates
--
UPDATE `templates`
SET `message` = '<div>Hello {!!$ticket_agent_name!!},<br /><br /><b>Ticket No:</b> {!!$ticket_number!!}<br />Has been assigned to you by {!!$ticket_assigner!!} <br/> Please check and resppond on the ticket.<br /> Link: {!!$ticket_link!!}<br /><br />Thank You<br />Kind Regards,<br /> {!!$system_from!!}</div>'
WHERE `type` = 1;
-- --------------------------------------------------------------------------------------
--
-- Alter ticket_attechment table
--
ALTER TABLE `ticket_attachment` ADD `path` VARCHAR(255) NULL DEFAULT NULL AFTER `file`, ADD `driver` VARCHAR(255) NULL DEFAULT NULL AFTER `path`;
-- --------------------------------------------------------------------------------------
--
-- Update queue services tables
--
UPDATE `queue_services` SET `status` = 1 Where `name` LIKE 'Sync' OR `short_name` LIKE 'sync';
-- ----------------------------------------------------------------------------------------
--
-- Alter ticket priority color
--
UPDATE `ticket_priority`
SET `priority_color` = '#00a65a'
WHERE `ticket_priority`.`priority` = "Low";
UPDATE `ticket_priority`
SET `priority_color` = '#00bfef'
WHERE `ticket_priority`.`priority` = "Normal";
UPDATE `ticket_priority`
SET `priority_color` = '#f39c11'
WHERE `ticket_priority`.`priority` = "High";
UPDATE `ticket_priority`
SET `priority_color` = '#dd4b38'
WHERE `ticket_priority`.`priority` = "Emergency";
-- ---------------------------------------------------------------------------------------------
--
-- Table structure for table `common_settings`
--
DROP TABLE IF EXISTS `common_settings`;
CREATE TABLE `common_settings` (
`id` int(10) UNSIGNED NOT NULL,
`option_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`option_value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`optional_field` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `common_settings`
--
INSERT INTO `common_settings` (`id`, `option_name`, `option_value`, `status`, `optional_field`, `created_at`, `updated_at`) VALUES
(1, 'ticket_token_time_duration', '1', '', '', '2016-12-13 05:01:02', '2016-12-13 05:01:02'),
(2, 'enable_rtl', '', '', '', '2016-12-13 05:01:02', '2016-12-13 05:01:02'),
(3, 'user_set_ticket_status', '', '1', '', '2016-12-13 05:01:02', '2016-12-13 05:01:02'),
(4, 'send_otp', '', '0', '', '2016-12-13 05:01:02', '2016-12-13 05:01:02'),
(5, 'email_mandatory', '', '1', '', '2016-12-13 05:01:02', '2016-12-13 05:01:02'),
(6, 'user_priority', '', '0', '', '2016-12-13 05:01:02', '2016-12-13 05:10:14');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `common_settings`
--
ALTER TABLE `common_settings`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `common_settings`
--
ALTER TABLE `common_settings`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
-- -------------------------------------------------------------------------------