diff --git a/DB/demodatabase.sql b/DB/demodatabase.sql
index b447c289f..45b42a788 100644
--- a/DB/demodatabase.sql
+++ b/DB/demodatabase.sql
@@ -1,11 +1,11 @@
-- phpMyAdmin SQL Dump
--- version 4.1.14
--- http://www.phpmyadmin.net
+-- version 4.6.4
+-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
--- Generation Time: Dec 13, 2016 at 10:36 AM
--- Server version: 5.6.17
--- PHP Version: 5.5.12
+-- Generation Time: Jan 03, 2017 at 06:22 AM
+-- Server version: 5.7.14
+-- PHP Version: 5.6.25
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
@@ -14,10 +14,10 @@ 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 */;
+/*!40101 SET NAMES utf8mb4 */;
--
--- Database: `community`
+-- Database: `final`
--
-- --------------------------------------------------------
@@ -26,14 +26,13 @@ SET time_zone = "+00:00";
-- Table structure for table `api_settings`
--
-CREATE TABLE IF NOT EXISTS `api_settings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `api_settings` (
+ `id` int(10) UNSIGNED NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -41,15 +40,14 @@ CREATE TABLE IF NOT EXISTS `api_settings` (
-- Table structure for table `banlist`
--
-CREATE TABLE IF NOT EXISTS `banlist` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `banlist` (
+ `id` int(10) UNSIGNED NOT NULL,
`ban_status` tinyint(1) NOT NULL,
`email_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`internal_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -57,14 +55,13 @@ CREATE TABLE IF NOT EXISTS `banlist` (
-- Table structure for table `bar_notifications`
--
-CREATE TABLE IF NOT EXISTS `bar_notifications` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `bar_notifications` (
+ `id` int(10) UNSIGNED NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `bar_notifications`
@@ -79,16 +76,14 @@ INSERT INTO `bar_notifications` (`id`, `key`, `value`, `created_at`, `updated_at
-- Table structure for table `canned_response`
--
-CREATE TABLE IF NOT EXISTS `canned_response` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `user_id` int(10) unsigned NOT NULL,
+CREATE TABLE `canned_response` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `user_id` int(10) UNSIGNED NOT NULL,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`message` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `user_id` (`user_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -96,16 +91,15 @@ CREATE TABLE IF NOT EXISTS `canned_response` (
-- Table structure for table `common_settings`
--
-CREATE TABLE IF NOT EXISTS `common_settings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+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,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `common_settings`
@@ -126,14 +120,13 @@ INSERT INTO `common_settings` (`id`, `option_name`, `option_value`, `status`, `o
-- Table structure for table `conditions`
--
-CREATE TABLE IF NOT EXISTS `conditions` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `conditions` (
+ `id` int(10) UNSIGNED NOT NULL,
`job` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -141,8 +134,8 @@ CREATE TABLE IF NOT EXISTS `conditions` (
-- Table structure for table `country_code`
--
-CREATE TABLE IF NOT EXISTS `country_code` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `country_code` (
+ `id` int(10) UNSIGNED NOT NULL,
`iso` char(2) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
`nicename` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
@@ -150,9 +143,8 @@ CREATE TABLE IF NOT EXISTS `country_code` (
`numcode` smallint(6) NOT NULL,
`phonecode` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=240 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `country_code`
@@ -405,13 +397,12 @@ INSERT INTO `country_code` (`id`, `iso`, `name`, `nicename`, `iso3`, `numcode`,
-- Table structure for table `custom_forms`
--
-CREATE TABLE IF NOT EXISTS `custom_forms` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `custom_forms` (
+ `id` int(10) UNSIGNED NOT NULL,
`formname` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -419,8 +410,8 @@ CREATE TABLE IF NOT EXISTS `custom_forms` (
-- Table structure for table `custom_form_fields`
--
-CREATE TABLE IF NOT EXISTS `custom_form_fields` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `custom_form_fields` (
+ `id` int(10) UNSIGNED NOT NULL,
`forms_id` int(11) NOT NULL,
`label` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -428,9 +419,8 @@ CREATE TABLE IF NOT EXISTS `custom_form_fields` (
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`required` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -438,11 +428,10 @@ CREATE TABLE IF NOT EXISTS `custom_form_fields` (
-- Table structure for table `date_format`
--
-CREATE TABLE IF NOT EXISTS `date_format` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=10 ;
+CREATE TABLE `date_format` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `format` varchar(255) COLLATE utf8_unicode_ci NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `date_format`
@@ -465,11 +454,10 @@ INSERT INTO `date_format` (`id`, `format`) VALUES
-- Table structure for table `date_time_format`
--
-CREATE TABLE IF NOT EXISTS `date_time_format` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=10 ;
+CREATE TABLE `date_time_format` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `format` varchar(255) COLLATE utf8_unicode_ci NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `date_time_format`
@@ -492,12 +480,12 @@ INSERT INTO `date_time_format` (`id`, `format`) VALUES
-- Table structure for table `department`
--
-CREATE TABLE IF NOT EXISTS `department` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `department` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `sla` int(10) unsigned DEFAULT NULL,
- `manager` int(10) unsigned DEFAULT NULL,
+ `sla` int(10) UNSIGNED DEFAULT NULL,
+ `manager` int(10) UNSIGNED DEFAULT NULL,
`ticket_assignment` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`outgoing_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`template_set` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -508,11 +496,8 @@ CREATE TABLE IF NOT EXISTS `department` (
`group_access` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`department_sign` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `sla` (`sla`),
- KEY `manager_2` (`manager`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `department`
@@ -529,13 +514,13 @@ INSERT INTO `department` (`id`, `name`, `type`, `sla`, `manager`, `ticket_assign
-- Table structure for table `emails`
--
-CREATE TABLE IF NOT EXISTS `emails` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `emails` (
+ `id` int(10) UNSIGNED NOT NULL,
`email_address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `department` int(10) unsigned DEFAULT NULL,
- `priority` int(10) unsigned DEFAULT NULL,
- `help_topic` int(10) unsigned DEFAULT NULL,
+ `department` int(10) UNSIGNED DEFAULT NULL,
+ `priority` int(10) UNSIGNED DEFAULT NULL,
+ `help_topic` int(10) UNSIGNED DEFAULT NULL,
`user_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`fetching_host` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -561,13 +546,8 @@ CREATE TABLE IF NOT EXISTS `emails` (
`authentication` tinyint(1) NOT NULL,
`header_spoofing` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `department` (`department`,`priority`,`help_topic`),
- KEY `department_2` (`department`,`priority`,`help_topic`),
- KEY `priority` (`priority`),
- KEY `help_topic` (`help_topic`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -575,14 +555,13 @@ CREATE TABLE IF NOT EXISTS `emails` (
-- Table structure for table `failed_jobs`
--
-CREATE TABLE IF NOT EXISTS `failed_jobs` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `failed_jobs` (
+ `id` int(10) UNSIGNED NOT NULL,
`connection` text COLLATE utf8_unicode_ci NOT NULL,
`queue` text COLLATE utf8_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8_unicode_ci NOT NULL,
- `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -590,16 +569,15 @@ CREATE TABLE IF NOT EXISTS `failed_jobs` (
-- Table structure for table `faveo_mails`
--
-CREATE TABLE IF NOT EXISTS `faveo_mails` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `faveo_mails` (
+ `id` int(10) UNSIGNED NOT NULL,
`email_id` int(11) NOT NULL,
`drive` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -607,15 +585,14 @@ CREATE TABLE IF NOT EXISTS `faveo_mails` (
-- Table structure for table `faveo_queues`
--
-CREATE TABLE IF NOT EXISTS `faveo_queues` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `faveo_queues` (
+ `id` int(10) UNSIGNED NOT NULL,
`service_id` int(11) NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -623,17 +600,15 @@ CREATE TABLE IF NOT EXISTS `faveo_queues` (
-- Table structure for table `field_values`
--
-CREATE TABLE IF NOT EXISTS `field_values` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `field_id` int(10) unsigned DEFAULT NULL,
- `child_id` int(10) unsigned DEFAULT NULL,
+CREATE TABLE `field_values` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `field_id` int(10) UNSIGNED DEFAULT NULL,
+ `child_id` int(10) UNSIGNED DEFAULT NULL,
`field_key` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`field_value` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `field_values_field_id_foreign` (`field_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -641,8 +616,8 @@ CREATE TABLE IF NOT EXISTS `field_values` (
-- Table structure for table `groups`
--
-CREATE TABLE IF NOT EXISTS `groups` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `groups` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`group_status` tinyint(1) NOT NULL,
`can_create_ticket` tinyint(1) NOT NULL,
@@ -659,9 +634,8 @@ CREATE TABLE IF NOT EXISTS `groups` (
`department_access` tinyint(1) NOT NULL,
`admin_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `groups`
@@ -678,16 +652,13 @@ INSERT INTO `groups` (`id`, `name`, `group_status`, `can_create_ticket`, `can_ed
-- Table structure for table `group_assign_department`
--
-CREATE TABLE IF NOT EXISTS `group_assign_department` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `group_id` int(10) unsigned NOT NULL,
- `department_id` int(10) unsigned NOT NULL,
+CREATE TABLE `group_assign_department` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `group_id` int(10) UNSIGNED NOT NULL,
+ `department_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `group_id` (`group_id`),
- KEY `department_id` (`department_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -695,32 +666,25 @@ CREATE TABLE IF NOT EXISTS `group_assign_department` (
-- Table structure for table `help_topic`
--
-CREATE TABLE IF NOT EXISTS `help_topic` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `help_topic` (
+ `id` int(10) UNSIGNED NOT NULL,
`topic` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`parent_topic` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `custom_form` int(10) unsigned DEFAULT NULL,
- `department` int(10) unsigned DEFAULT NULL,
- `ticket_status` int(10) unsigned DEFAULT NULL,
- `priority` int(10) unsigned DEFAULT NULL,
- `sla_plan` int(10) unsigned DEFAULT NULL,
+ `custom_form` int(10) UNSIGNED DEFAULT NULL,
+ `department` int(10) UNSIGNED DEFAULT NULL,
+ `ticket_status` int(10) UNSIGNED DEFAULT NULL,
+ `priority` int(10) UNSIGNED DEFAULT NULL,
+ `sla_plan` int(10) UNSIGNED DEFAULT NULL,
`thank_page` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`ticket_num_format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`internal_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`type` tinyint(1) NOT NULL,
- `auto_assign` int(10) unsigned DEFAULT NULL,
+ `auto_assign` int(10) UNSIGNED DEFAULT NULL,
`auto_response` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `custom_form` (`custom_form`),
- KEY `department` (`department`),
- KEY `ticket_status` (`ticket_status`),
- KEY `priority` (`priority`),
- KEY `sla_plan` (`sla_plan`),
- KEY `auto_assign_2` (`auto_assign`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `help_topic`
@@ -737,18 +701,16 @@ INSERT INTO `help_topic` (`id`, `topic`, `parent_topic`, `custom_form`, `departm
-- Table structure for table `jobs`
--
-CREATE TABLE IF NOT EXISTS `jobs` (
- `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `jobs` (
+ `id` bigint(20) UNSIGNED NOT NULL,
`queue` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`payload` longtext COLLATE utf8_unicode_ci NOT NULL,
- `attempts` tinyint(3) unsigned NOT NULL,
- `reserved` tinyint(3) unsigned NOT NULL,
- `reserved_at` int(10) unsigned DEFAULT NULL,
- `available_at` int(10) unsigned NOT NULL,
- `created_at` int(10) unsigned NOT NULL,
- PRIMARY KEY (`id`),
- KEY `jobs_queue_reserved_reserved_at_index` (`queue`,`reserved`,`reserved_at`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `attempts` tinyint(3) UNSIGNED NOT NULL,
+ `reserved` tinyint(3) UNSIGNED NOT NULL,
+ `reserved_at` int(10) UNSIGNED DEFAULT NULL,
+ `available_at` int(10) UNSIGNED NOT NULL,
+ `created_at` int(10) UNSIGNED NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -756,8 +718,8 @@ CREATE TABLE IF NOT EXISTS `jobs` (
-- Table structure for table `kb_article`
--
-CREATE TABLE IF NOT EXISTS `kb_article` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_article` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` text COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
@@ -765,9 +727,8 @@ CREATE TABLE IF NOT EXISTS `kb_article` (
`type` tinyint(1) NOT NULL,
`publish_time` datetime DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_article`
@@ -776,7 +737,7 @@ CREATE TABLE IF NOT EXISTS `kb_article` (
INSERT INTO `kb_article` (`id`, `name`, `slug`, `description`, `status`, `type`, `publish_time`, `created_at`, `updated_at`) VALUES
(1, 'DISCLAIMERS', 'disclaimers', '
ABC clothing.com does not promise that the site will be inoffensive, error-free or uninterrupted, or that it will provide specific information from use of the site or any content, search, or link on it. The site and its content are delivered on an “as-is” and “as-available” basis. ABC clothing.com cannot ensure that files you download from the site will be free of viruses or contamination or destructive features.
\r\n\r\n
Thebclothing.com disclaims all warranties, express or implied, including any implied warranties of merchantability and fitness for a particular purpose. ABC clothing.com will not be liable for any damages of any kind arising from the use of this site, including, without limitation, direct, indirect, incidental, and punitive and consequential damages.
\r\n\r\n
ABC clothing.com disclaims any and all liability for the acts, omissions, and conduct of any third-party users, ABC clothing.com users, advertisers, and/or sponsors on the Site, in connection with the Site, or other-wise related to your use of the Site. ABC clothing.com is not responsible for the products, services, actions, or failure to act of any third party in connection with or referenced on the Site. Without limiting the fore-going, you may report the misconduct of users and/or third-party advertisers or service and/or product providers referenced on or included in the Site to ABC clothing.com at Support@abcclothing.com
\r\n\r\n
ABC clothing.com may investigate the claim and take appropriate action, at its sole discretion.
\r\n\r\n
For any query kindly drop mail us on Support@abcclothing.com.
Paris takes its fashion very, very seriously. So seriously, in fact, that wearing the wrong thing has actually caused a riot.
\r\n\r\n
In 1911, two rival Parisian couture houses launched their "trouser skirts," an innovation in fashion that trod the very fixed line between the genders and seemed to promise greater flexibility for women in general. There were two different versions of the trouser skirt: One was a sort of baggy pant with a very low hanging crotch, described as "a sack with holes made for the legs to go through," not unlike the fashions on high streets today, and the other a pair of the same kind of pants topped with an over-skirt, again, not unlike high street fashions of today. Both versions were launched by models at the opening day of racing season to general revulsion and disgust, but thankfully, no violence.
\r\n\r\n
It wasn''t until the ladies attempted to promenade their future fashions on the boulevards that the fisticuffs started—at the Place de l''Opera, the poor models were attacked by a jeering mob of fashion Philistines, who pulled their hair, trampled their hats, and reduced them to tears. A squad of police officers on bicycles were dispatched to rescue the girls and escort them to safety.
Paris takes its fashion very, very seriously. So seriously, in fact, that wearing the wrong thing has actually caused a riot.
\r\n\r\n
In 1911, two rival Parisian couture houses launched their "trouser skirts," an innovation in fashion that trod the very fixed line between the genders and seemed to promise greater flexibility for women in general. There were two different versions of the trouser skirt: One was a sort of baggy pant with a very low hanging crotch, described as "a sack with holes made for the legs to go through," not unlike the fashions on high streets today, and the other a pair of the same kind of pants topped with an over-skirt, again, not unlike high street fashions of today. Both versions were launched by models at the opening day of racing season to general revulsion and disgust, but thankfully, no violence.
\r\n\r\n
It wasn\'t until the ladies attempted to promenade their future fashions on the boulevards that the fisticuffs started—at the Place de l\'Opera, the poor models were attacked by a jeering mob of fashion Philistines, who pulled their hair, trampled their hats, and reduced them to tears. A squad of police officers on bicycles were dispatched to rescue the girls and escort them to safety.
We accept all major Indian and International Credit/ Debit Cards, and Net Banking with over 40 Banks.
\r\n\r\n
NO Cash on Delivery (as random people order and share false addresses for fun)
\r\n\r\n
Yes, shopping at our e-store is 100% safe. All payment requests are directed to the secured PayU Payment Gateway. This gives you the highest level of protection possible whenever you use credit cards or make other financial or confidential transactions over the Internet.
\r\n\r\n
You can be assured that our e-store offers you the highest standards of security currently available on the net so as to ensure that your shopping experience is private, safe and secure.
The ABC Clothing collects your basic information to service your requests. This basic information is gathered when you purchase products/Gift card vouchers or when you sign up for e-mail notifications. Information gathered from you includes your name, mailing address, e-mail and phone number. Only when you place an order, your card information is requested and is submitted via the highest level of encryption to make sure of the greatest amount of safety and security. Reason why we gather this information:
\r\n\r\n
To process your order. \r\nShipping and Customer Service. \r\nWe also use the information to upgrade our products, customer services, website content and navigation.
\r\n\r\n
Internal Record Keeping. \r\nWe at The ABC Clothing respect that you do not want your personal information shared with other companies. The information you provide shall, therefore, be only used to process your order and customer support. The ABC Clothing does not share, sell or rent customer information to any other company.
We ship worldwide. We use FedEx/DTDC for shipping.
\r\n\r\n
Standard Shipping is usually 3-7 Working days for orders within India and 12-15 Working days for International Orders, but usually faster. IF your order doesn’t reach you in time, you may write to us at support@abcclothing.com
\r\n\r\n
International Orders
\r\n\r\n
For international orders, please note, your shipping will be calculated at the time of Check out only, this is a System Generated amount, based on your Zip Code, Region and Order Weight. (Approx Costs Rs.1250-1500 for 500 gms – International Shipment, subject to region)
\r\n\r\n
Tracking
\r\n\r\n
For tracking your order go to the following website, it will require your tracking ID which is sent via mail in your invoice.
\r\n', 1, 1, '2016-12-13 08:58:00', '2016-12-13 03:29:34', '2016-12-13 03:29:34'),
@@ -788,16 +749,13 @@ INSERT INTO `kb_article` (`id`, `name`, `slug`, `description`, `status`, `type`,
-- Table structure for table `kb_article_relationship`
--
-CREATE TABLE IF NOT EXISTS `kb_article_relationship` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `article_id` int(10) unsigned NOT NULL,
- `category_id` int(10) unsigned NOT NULL,
+CREATE TABLE `kb_article_relationship` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `article_id` int(10) UNSIGNED NOT NULL,
+ `category_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `article_relationship_article_id_foreign` (`article_id`),
- KEY `article_relationship_category_id_foreign` (`category_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_article_relationship`
@@ -818,17 +776,16 @@ INSERT INTO `kb_article_relationship` (`id`, `article_id`, `category_id`, `creat
-- Table structure for table `kb_category`
--
-CREATE TABLE IF NOT EXISTS `kb_category` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_category` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`parent` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_category`
@@ -844,19 +801,17 @@ INSERT INTO `kb_category` (`id`, `name`, `slug`, `description`, `status`, `paren
-- Table structure for table `kb_comment`
--
-CREATE TABLE IF NOT EXISTS `kb_comment` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `article_id` int(10) unsigned NOT NULL,
+CREATE TABLE `kb_comment` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `article_id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`comment` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `comment_article_id_foreign` (`article_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -864,17 +819,16 @@ CREATE TABLE IF NOT EXISTS `kb_comment` (
-- Table structure for table `kb_pages`
--
-CREATE TABLE IF NOT EXISTS `kb_pages` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_pages` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`visibility` tinyint(1) NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -882,13 +836,12 @@ CREATE TABLE IF NOT EXISTS `kb_pages` (
-- Table structure for table `kb_settings`
--
-CREATE TABLE IF NOT EXISTS `kb_settings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_settings` (
+ `id` int(10) UNSIGNED NOT NULL,
`pagination` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_settings`
@@ -903,12 +856,11 @@ INSERT INTO `kb_settings` (`id`, `pagination`, `created_at`, `updated_at`) VALUE
-- Table structure for table `languages`
--
-CREATE TABLE IF NOT EXISTS `languages` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `languages` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `locale` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=10 ;
+ `locale` varchar(255) COLLATE utf8_unicode_ci NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `languages`
@@ -931,16 +883,15 @@ INSERT INTO `languages` (`id`, `name`, `locale`) VALUES
-- Table structure for table `login_attempts`
--
-CREATE TABLE IF NOT EXISTS `login_attempts` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `login_attempts` (
+ `id` int(10) UNSIGNED NOT NULL,
`User` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`IP` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`Attempts` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`LastLogin` datetime NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `login_attempts`
@@ -955,13 +906,12 @@ INSERT INTO `login_attempts` (`id`, `User`, `IP`, `Attempts`, `LastLogin`, `crea
-- Table structure for table `log_notification`
--
-CREATE TABLE IF NOT EXISTS `log_notification` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `log_notification` (
+ `id` int(10) UNSIGNED NOT NULL,
`log` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `log_notification`
@@ -976,12 +926,11 @@ INSERT INTO `log_notification` (`id`, `log`, `created_at`, `updated_at`) VALUES
-- Table structure for table `mailbox_protocol`
--
-CREATE TABLE IF NOT EXISTS `mailbox_protocol` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `mailbox_protocol` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `value` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
+ `value` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `mailbox_protocol`
@@ -999,14 +948,13 @@ INSERT INTO `mailbox_protocol` (`id`, `name`, `value`) VALUES
-- Table structure for table `mail_services`
--
-CREATE TABLE IF NOT EXISTS `mail_services` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `mail_services` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `mail_services`
@@ -1026,7 +974,7 @@ INSERT INTO `mail_services` (`id`, `name`, `short_name`, `created_at`, `updated_
-- Table structure for table `migrations`
--
-CREATE TABLE IF NOT EXISTS `migrations` (
+CREATE TABLE `migrations` (
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1141,15 +1089,14 @@ INSERT INTO `migrations` (`migration`, `batch`) VALUES
-- Table structure for table `notifications`
--
-CREATE TABLE IF NOT EXISTS `notifications` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `notifications` (
+ `id` int(10) UNSIGNED NOT NULL,
`model_id` int(11) NOT NULL,
`userid_created` int(11) NOT NULL,
`type_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `notifications`
@@ -1170,15 +1117,14 @@ INSERT INTO `notifications` (`id`, `model_id`, `userid_created`, `type_id`, `cre
-- Table structure for table `notification_types`
--
-CREATE TABLE IF NOT EXISTS `notification_types` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `notification_types` (
+ `id` int(10) UNSIGNED NOT NULL,
`message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`icon_class` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `notification_types`
@@ -1195,19 +1141,17 @@ INSERT INTO `notification_types` (`id`, `message`, `type`, `icon_class`, `create
-- Table structure for table `organization`
--
-CREATE TABLE IF NOT EXISTS `organization` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `organization` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `head` int(10) unsigned DEFAULT NULL,
+ `head` int(10) UNSIGNED DEFAULT NULL,
`internal_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `head` (`head`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1215,12 +1159,10 @@ CREATE TABLE IF NOT EXISTS `organization` (
-- Table structure for table `password_resets`
--
-CREATE TABLE IF NOT EXISTS `password_resets` (
+CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- KEY `password_resets_email_index` (`email`),
- KEY `password_resets_token_index` (`token`)
+ `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1229,15 +1171,14 @@ CREATE TABLE IF NOT EXISTS `password_resets` (
-- Table structure for table `plugins`
--
-CREATE TABLE IF NOT EXISTS `plugins` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `plugins` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1245,15 +1186,14 @@ CREATE TABLE IF NOT EXISTS `plugins` (
-- Table structure for table `queue_services`
--
-CREATE TABLE IF NOT EXISTS `queue_services` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `queue_services` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `queue_services`
@@ -1273,8 +1213,8 @@ INSERT INTO `queue_services` (`id`, `name`, `short_name`, `status`, `created_at`
-- Table structure for table `ratings`
--
-CREATE TABLE IF NOT EXISTS `ratings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `ratings` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`display_order` int(11) NOT NULL,
`allow_modification` int(11) NOT NULL,
@@ -1282,9 +1222,8 @@ CREATE TABLE IF NOT EXISTS `ratings` (
`rating_area` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`restrict` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `ratings`
@@ -1300,16 +1239,15 @@ INSERT INTO `ratings` (`id`, `name`, `display_order`, `allow_modification`, `rat
-- Table structure for table `rating_ref`
--
-CREATE TABLE IF NOT EXISTS `rating_ref` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `rating_ref` (
+ `id` int(10) UNSIGNED NOT NULL,
`rating_id` int(11) NOT NULL,
`ticket_id` int(11) NOT NULL,
`thread_id` int(11) NOT NULL,
`rating_value` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1317,8 +1255,8 @@ CREATE TABLE IF NOT EXISTS `rating_ref` (
-- Table structure for table `settings_alert_notice`
--
-CREATE TABLE IF NOT EXISTS `settings_alert_notice` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_alert_notice` (
+ `id` int(10) UNSIGNED NOT NULL,
`ticket_status` tinyint(1) NOT NULL,
`ticket_admin_email` tinyint(1) NOT NULL,
`ticket_department_manager` tinyint(1) NOT NULL,
@@ -1349,9 +1287,8 @@ CREATE TABLE IF NOT EXISTS `settings_alert_notice` (
`sql_error` tinyint(1) NOT NULL,
`excessive_failure` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_alert_notice`
@@ -1366,17 +1303,16 @@ INSERT INTO `settings_alert_notice` (`id`, `ticket_status`, `ticket_admin_email`
-- Table structure for table `settings_auto_response`
--
-CREATE TABLE IF NOT EXISTS `settings_auto_response` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_auto_response` (
+ `id` int(10) UNSIGNED NOT NULL,
`new_ticket` tinyint(1) NOT NULL,
`agent_new_ticket` tinyint(1) NOT NULL,
`submitter` tinyint(1) NOT NULL,
`participants` tinyint(1) NOT NULL,
`overlimit` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_auto_response`
@@ -1391,8 +1327,8 @@ INSERT INTO `settings_auto_response` (`id`, `new_ticket`, `agent_new_ticket`, `s
-- Table structure for table `settings_company`
--
-CREATE TABLE IF NOT EXISTS `settings_company` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_company` (
+ `id` int(10) UNSIGNED NOT NULL,
`company_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1403,9 +1339,8 @@ CREATE TABLE IF NOT EXISTS `settings_company` (
`logo` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`use_logo` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_company`
@@ -1420,8 +1355,8 @@ INSERT INTO `settings_company` (`id`, `company_name`, `website`, `phone`, `addre
-- Table structure for table `settings_email`
--
-CREATE TABLE IF NOT EXISTS `settings_email` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_email` (
+ `id` int(10) UNSIGNED NOT NULL,
`template` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`sys_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`alert_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1435,9 +1370,8 @@ CREATE TABLE IF NOT EXISTS `settings_email` (
`email_collaborator` tinyint(1) NOT NULL,
`attachment` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_email`
@@ -1452,17 +1386,15 @@ INSERT INTO `settings_email` (`id`, `template`, `sys_email`, `alert_email`, `adm
-- Table structure for table `settings_ratings`
--
-CREATE TABLE IF NOT EXISTS `settings_ratings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_ratings` (
+ `id` int(10) UNSIGNED NOT NULL,
`rating_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`publish` int(11) NOT NULL,
`modify` int(11) NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `settings_ratings_slug_unique` (`slug`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1470,17 +1402,16 @@ CREATE TABLE IF NOT EXISTS `settings_ratings` (
-- Table structure for table `settings_security`
--
-CREATE TABLE IF NOT EXISTS `settings_security` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_security` (
+ `id` int(10) UNSIGNED NOT NULL,
`lockout_message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`backlist_offender` int(11) NOT NULL,
`backlist_threshold` int(11) NOT NULL,
`lockout_period` int(11) NOT NULL,
`days_to_keep_logs` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_security`
@@ -1495,8 +1426,8 @@ INSERT INTO `settings_security` (`id`, `lockout_message`, `backlist_offender`, `
-- Table structure for table `settings_system`
--
-CREATE TABLE IF NOT EXISTS `settings_system` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_system` (
+ `id` int(10) UNSIGNED NOT NULL,
`status` tinyint(1) NOT NULL,
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1508,21 +1439,16 @@ CREATE TABLE IF NOT EXISTS `settings_system` (
`api_key_mandatory` int(11) NOT NULL,
`api_key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name_format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `time_farmat` int(10) unsigned DEFAULT NULL,
- `date_format` int(10) unsigned DEFAULT NULL,
- `date_time_format` int(10) unsigned DEFAULT NULL,
+ `time_farmat` int(10) UNSIGNED DEFAULT NULL,
+ `date_format` int(10) UNSIGNED DEFAULT NULL,
+ `date_time_format` int(10) UNSIGNED DEFAULT NULL,
`day_date_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `time_zone` int(10) unsigned DEFAULT NULL,
+ `time_zone` int(10) UNSIGNED DEFAULT NULL,
`content` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `time_farmat` (`time_farmat`),
- KEY `date_format` (`date_format`),
- KEY `date_time_format` (`date_time_format`),
- KEY `time_zone` (`time_zone`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_system`
@@ -1530,7 +1456,8 @@ CREATE TABLE IF NOT EXISTS `settings_system` (
INSERT INTO `settings_system` (`id`, `status`, `url`, `name`, `department`, `page_size`, `log_level`, `purge_log`, `api_enable`, `api_key_mandatory`, `api_key`, `name_format`, `time_farmat`, `date_format`, `date_time_format`, `day_date_time`, `time_zone`, `content`, `version`, `created_at`, `updated_at`) VALUES
(1, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 32, '', '', '2016-12-13 03:19:29', '2016-12-13 03:19:29'),
-(2, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 79, '', '1.0.8.0', '2016-12-13 03:19:53', '2016-12-13 03:19:53');
+(2, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 79, '', '1.0.8.0', '2016-12-13 03:19:53', '2016-12-13 03:19:53'),
+(3, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 14, '', '1.9.2', '2017-01-03 06:17:47', '2017-01-03 06:17:47');
-- --------------------------------------------------------
@@ -1538,8 +1465,8 @@ INSERT INTO `settings_system` (`id`, `status`, `url`, `name`, `department`, `pag
-- Table structure for table `settings_ticket`
--
-CREATE TABLE IF NOT EXISTS `settings_ticket` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_ticket` (
+ `id` int(10) UNSIGNED NOT NULL,
`num_format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`num_sequence` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`priority` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1558,9 +1485,8 @@ CREATE TABLE IF NOT EXISTS `settings_ticket` (
`client_update` tinyint(1) NOT NULL,
`max_file_size` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_ticket`
@@ -1575,8 +1501,8 @@ INSERT INTO `settings_ticket` (`id`, `num_format`, `num_sequence`, `priority`, `
-- Table structure for table `sla_plan`
--
-CREATE TABLE IF NOT EXISTS `sla_plan` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `sla_plan` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`grace_period` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`admin_note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1584,9 +1510,8 @@ CREATE TABLE IF NOT EXISTS `sla_plan` (
`transient` tinyint(1) NOT NULL,
`ticket_overdue` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `sla_plan`
@@ -1603,15 +1528,14 @@ INSERT INTO `sla_plan` (`id`, `name`, `grace_period`, `admin_note`, `status`, `t
-- Table structure for table `social_media`
--
-CREATE TABLE IF NOT EXISTS `social_media` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `social_media` (
+ `id` int(10) UNSIGNED NOT NULL,
`provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1619,18 +1543,16 @@ CREATE TABLE IF NOT EXISTS `social_media` (
-- Table structure for table `teams`
--
-CREATE TABLE IF NOT EXISTS `teams` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `teams` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
- `team_lead` int(10) unsigned DEFAULT NULL,
+ `team_lead` int(10) UNSIGNED DEFAULT NULL,
`assign_alert` tinyint(1) NOT NULL,
`admin_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `team_lead` (`team_lead`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `teams`
@@ -1647,16 +1569,13 @@ INSERT INTO `teams` (`id`, `name`, `status`, `team_lead`, `assign_alert`, `admin
-- Table structure for table `team_assign_agent`
--
-CREATE TABLE IF NOT EXISTS `team_assign_agent` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `team_id` int(10) unsigned DEFAULT NULL,
- `agent_id` int(10) unsigned DEFAULT NULL,
+CREATE TABLE `team_assign_agent` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `team_id` int(10) UNSIGNED DEFAULT NULL,
+ `agent_id` int(10) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `team_id` (`team_id`),
- KEY `agent_id` (`agent_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `team_assign_agent`
@@ -1672,17 +1591,16 @@ INSERT INTO `team_assign_agent` (`id`, `team_id`, `agent_id`, `created_at`, `upd
-- Table structure for table `template`
--
-CREATE TABLE IF NOT EXISTS `template` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `template` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`template_set_to_clone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`language` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`internal_note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1690,8 +1608,8 @@ CREATE TABLE IF NOT EXISTS `template` (
-- Table structure for table `templates`
--
-CREATE TABLE IF NOT EXISTS `templates` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `templates` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`variable` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` int(11) NOT NULL,
@@ -1700,9 +1618,8 @@ CREATE TABLE IF NOT EXISTS `templates` (
`description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`set_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=14 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `templates`
@@ -1716,12 +1633,13 @@ INSERT INTO `templates` (`id`, `name`, `variable`, `type`, `subject`, `message`,
(5, 'This template is for sending notice to agent on new ticket creation', '0', 5, '', '
Hello {!!$ticket_agent_name!!},
New ticket {!!$ticket_number!!}created
From Name: {!!$ticket_client_name!!} E-mail: {!!$ticket_client_email!!}
{!!$content!!}
Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(6, 'This template is for sending notice to client on new ticket created by agent in name of client', '0', 6, '', '
{!!$content!!}
{!!$agent_sign!!}
You can check the status of or update this ticket online at: {!!$system_link!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(7, 'This template is for sending notice to client on new registration during new ticket creation for un registered clients', '1', 7, 'Registration Confirmation', '
Hello {!!$user!!},
This email is confirmation that you are now registered at our helpdesk.
Registered Email: {!!$email_address!!}
Password: {!!$user_password!!}
You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}
Thank You.
Kind Regards,
{!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
-(8, 'This template is for sending notice to any user about reset password option', '1', 8, 'Reset your Password', 'Hello {!!$user!!},
You asked to reset your password. To do so, please click this link:
{!!$password_reset_link!!}
This will let you change your password to something new. If you didn''t ask for this, don''t worry, we''ll keep your password safe.
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
+(8, 'This template is for sending notice to any user about reset password option', '1', 8, 'Reset your Password', 'Hello {!!$user!!},
You asked to reset your password. To do so, please click this link:
{!!$password_reset_link!!}
This will let you change your password to something new. If you didn\'t ask for this, don\'t worry, we\'ll keep your password safe.
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(9, 'This template is for sending notice to client when a reply made to his/her ticket', '0', 9, '', '
{!!$content!!}
{!!$agent_sign!!}
Ticket Details
Ticket ID: {!!$ticket_number!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(10, 'This template is for sending notice to agent when ticket reply is made by client on a ticket', '0', 10, '', '
Hello {!!$ticket_agent_name!!}, A reply been made to ticket {!!$ticket_number!!} From Name: {!!$ticket_client_name!!} E-mail: {!!$ticket_client_email!!} {!!$content!!} Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(11, 'This template is for sending notice to client about registration confirmation link', '1', 11, 'Verify your email address', '
Hello {!!$user!!},
This email is confirmation that you are now registered at our helpdesk.
Registered Email: {!!$email_address!!}
Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}
Thank You.
Kind Regards,
{!!$system_from!!}
', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
(12, 'This template is for sending notice to team when ticket is assigned to team', '1', 12, '', '
Hello {!!$ticket_agent_name!!},
Ticket No: {!!$ticket_number!!} Has been assigned to your team : {!!$team!!} by {!!$ticket_assigner!!}
Thank You Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
-(13, 'This template is for sending notice to client when password is changed', '1', 13, 'Verify your email address', 'Hello {!!$user!!},
Your password is successfully changed.Your new password is : {!!$user_password!!}
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52');
+(13, 'This template is for sending notice to client when password is changed', '1', 13, 'Verify your email address', 'Hello {!!$user!!},
Your password is successfully changed.Your new password is : {!!$user_password!!}
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
+(14, 'This template is to notify users when their tickets are merged.', '1', 14, 'Your tickets have been merged.', '
Hello {!!$user!!},
Your ticket(s) with ticket number {!!$merged_ticket_numbers!!} have been closed and merged with {!!$ticket_number!!}.
Possible reasons for merging tickets
Tickets are duplicate
Tickets state the same issue
Another member from your organization has created a ticket for the same issue
Click here to login to your account and check your tickets.
ABC clothing.com does not promise that the site will be inoffensive, error-free or uninterrupted, or that it will provide specific information from use of the site or any content, search, or link on it. The site and its content are delivered on an “as-is” and “as-available” basis. ABC clothing.com cannot ensure that files you download from the site will be free of viruses or contamination or destructive features.
\r\n\r\n
Thebclothing.com disclaims all warranties, express or implied, including any implied warranties of merchantability and fitness for a particular purpose. ABC clothing.com will not be liable for any damages of any kind arising from the use of this site, including, without limitation, direct, indirect, incidental, and punitive and consequential damages.
\r\n\r\n
ABC clothing.com disclaims any and all liability for the acts, omissions, and conduct of any third-party users, ABC clothing.com users, advertisers, and/or sponsors on the Site, in connection with the Site, or other-wise related to your use of the Site. ABC clothing.com is not responsible for the products, services, actions, or failure to act of any third party in connection with or referenced on the Site. Without limiting the fore-going, you may report the misconduct of users and/or third-party advertisers or service and/or product providers referenced on or included in the Site to ABC clothing.com at Support@abcclothing.com
\r\n\r\n
ABC clothing.com may investigate the claim and take appropriate action, at its sole discretion.
\r\n\r\n
For any query kindly drop mail us on Support@abcclothing.com.
Paris takes its fashion very, very seriously. So seriously, in fact, that wearing the wrong thing has actually caused a riot.
\r\n\r\n
In 1911, two rival Parisian couture houses launched their "trouser skirts," an innovation in fashion that trod the very fixed line between the genders and seemed to promise greater flexibility for women in general. There were two different versions of the trouser skirt: One was a sort of baggy pant with a very low hanging crotch, described as "a sack with holes made for the legs to go through," not unlike the fashions on high streets today, and the other a pair of the same kind of pants topped with an over-skirt, again, not unlike high street fashions of today. Both versions were launched by models at the opening day of racing season to general revulsion and disgust, but thankfully, no violence.
\r\n\r\n
It wasn''t until the ladies attempted to promenade their future fashions on the boulevards that the fisticuffs started—at the Place de l''Opera, the poor models were attacked by a jeering mob of fashion Philistines, who pulled their hair, trampled their hats, and reduced them to tears. A squad of police officers on bicycles were dispatched to rescue the girls and escort them to safety.
Paris takes its fashion very, very seriously. So seriously, in fact, that wearing the wrong thing has actually caused a riot.
\r\n\r\n
In 1911, two rival Parisian couture houses launched their "trouser skirts," an innovation in fashion that trod the very fixed line between the genders and seemed to promise greater flexibility for women in general. There were two different versions of the trouser skirt: One was a sort of baggy pant with a very low hanging crotch, described as "a sack with holes made for the legs to go through," not unlike the fashions on high streets today, and the other a pair of the same kind of pants topped with an over-skirt, again, not unlike high street fashions of today. Both versions were launched by models at the opening day of racing season to general revulsion and disgust, but thankfully, no violence.
\r\n\r\n
It wasn\'t until the ladies attempted to promenade their future fashions on the boulevards that the fisticuffs started—at the Place de l\'Opera, the poor models were attacked by a jeering mob of fashion Philistines, who pulled their hair, trampled their hats, and reduced them to tears. A squad of police officers on bicycles were dispatched to rescue the girls and escort them to safety.
We accept all major Indian and International Credit/ Debit Cards, and Net Banking with over 40 Banks.
\r\n\r\n
NO Cash on Delivery (as random people order and share false addresses for fun)
\r\n\r\n
Yes, shopping at our e-store is 100% safe. All payment requests are directed to the secured PayU Payment Gateway. This gives you the highest level of protection possible whenever you use credit cards or make other financial or confidential transactions over the Internet.
\r\n\r\n
You can be assured that our e-store offers you the highest standards of security currently available on the net so as to ensure that your shopping experience is private, safe and secure.
The ABC Clothing collects your basic information to service your requests. This basic information is gathered when you purchase products/Gift card vouchers or when you sign up for e-mail notifications. Information gathered from you includes your name, mailing address, e-mail and phone number. Only when you place an order, your card information is requested and is submitted via the highest level of encryption to make sure of the greatest amount of safety and security. Reason why we gather this information:
\r\n\r\n
To process your order. \r\nShipping and Customer Service. \r\nWe also use the information to upgrade our products, customer services, website content and navigation.
\r\n\r\n
Internal Record Keeping. \r\nWe at The ABC Clothing respect that you do not want your personal information shared with other companies. The information you provide shall, therefore, be only used to process your order and customer support. The ABC Clothing does not share, sell or rent customer information to any other company.
We ship worldwide. We use FedEx/DTDC for shipping.
\r\n\r\n
Standard Shipping is usually 3-7 Working days for orders within India and 12-15 Working days for International Orders, but usually faster. IF your order doesn’t reach you in time, you may write to us at support@abcclothing.com
\r\n\r\n
International Orders
\r\n\r\n
For international orders, please note, your shipping will be calculated at the time of Check out only, this is a System Generated amount, based on your Zip Code, Region and Order Weight. (Approx Costs Rs.1250-1500 for 500 gms – International Shipment, subject to region)
\r\n\r\n
Tracking
\r\n\r\n
For tracking your order go to the following website, it will require your tracking ID which is sent via mail in your invoice.
\r\n', 1, 1, '2016-12-13 08:58:00', '2016-12-13 03:29:34', '2016-12-13 03:29:34'),
@@ -788,16 +749,13 @@ INSERT INTO `kb_article` (`id`, `name`, `slug`, `description`, `status`, `type`,
-- Table structure for table `kb_article_relationship`
--
-CREATE TABLE IF NOT EXISTS `kb_article_relationship` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `article_id` int(10) unsigned NOT NULL,
- `category_id` int(10) unsigned NOT NULL,
+CREATE TABLE `kb_article_relationship` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `article_id` int(10) UNSIGNED NOT NULL,
+ `category_id` int(10) UNSIGNED NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `article_relationship_article_id_foreign` (`article_id`),
- KEY `article_relationship_category_id_foreign` (`category_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_article_relationship`
@@ -818,17 +776,16 @@ INSERT INTO `kb_article_relationship` (`id`, `article_id`, `category_id`, `creat
-- Table structure for table `kb_category`
--
-CREATE TABLE IF NOT EXISTS `kb_category` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_category` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`parent` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_category`
@@ -844,19 +801,17 @@ INSERT INTO `kb_category` (`id`, `name`, `slug`, `description`, `status`, `paren
-- Table structure for table `kb_comment`
--
-CREATE TABLE IF NOT EXISTS `kb_comment` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `article_id` int(10) unsigned NOT NULL,
+CREATE TABLE `kb_comment` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `article_id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`comment` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `comment_article_id_foreign` (`article_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -864,17 +819,16 @@ CREATE TABLE IF NOT EXISTS `kb_comment` (
-- Table structure for table `kb_pages`
--
-CREATE TABLE IF NOT EXISTS `kb_pages` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_pages` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`visibility` tinyint(1) NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`description` text COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -882,13 +836,12 @@ CREATE TABLE IF NOT EXISTS `kb_pages` (
-- Table structure for table `kb_settings`
--
-CREATE TABLE IF NOT EXISTS `kb_settings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `kb_settings` (
+ `id` int(10) UNSIGNED NOT NULL,
`pagination` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `kb_settings`
@@ -903,12 +856,11 @@ INSERT INTO `kb_settings` (`id`, `pagination`, `created_at`, `updated_at`) VALUE
-- Table structure for table `languages`
--
-CREATE TABLE IF NOT EXISTS `languages` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `languages` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `locale` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=10 ;
+ `locale` varchar(255) COLLATE utf8_unicode_ci NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `languages`
@@ -931,16 +883,15 @@ INSERT INTO `languages` (`id`, `name`, `locale`) VALUES
-- Table structure for table `login_attempts`
--
-CREATE TABLE IF NOT EXISTS `login_attempts` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `login_attempts` (
+ `id` int(10) UNSIGNED NOT NULL,
`User` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`IP` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`Attempts` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`LastLogin` datetime NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `login_attempts`
@@ -955,13 +906,12 @@ INSERT INTO `login_attempts` (`id`, `User`, `IP`, `Attempts`, `LastLogin`, `crea
-- Table structure for table `log_notification`
--
-CREATE TABLE IF NOT EXISTS `log_notification` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `log_notification` (
+ `id` int(10) UNSIGNED NOT NULL,
`log` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `log_notification`
@@ -976,12 +926,11 @@ INSERT INTO `log_notification` (`id`, `log`, `created_at`, `updated_at`) VALUES
-- Table structure for table `mailbox_protocol`
--
-CREATE TABLE IF NOT EXISTS `mailbox_protocol` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `mailbox_protocol` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `value` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;
+ `value` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `mailbox_protocol`
@@ -999,14 +948,13 @@ INSERT INTO `mailbox_protocol` (`id`, `name`, `value`) VALUES
-- Table structure for table `mail_services`
--
-CREATE TABLE IF NOT EXISTS `mail_services` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `mail_services` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `mail_services`
@@ -1026,7 +974,7 @@ INSERT INTO `mail_services` (`id`, `name`, `short_name`, `created_at`, `updated_
-- Table structure for table `migrations`
--
-CREATE TABLE IF NOT EXISTS `migrations` (
+CREATE TABLE `migrations` (
`migration` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -1141,15 +1089,14 @@ INSERT INTO `migrations` (`migration`, `batch`) VALUES
-- Table structure for table `notifications`
--
-CREATE TABLE IF NOT EXISTS `notifications` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `notifications` (
+ `id` int(10) UNSIGNED NOT NULL,
`model_id` int(11) NOT NULL,
`userid_created` int(11) NOT NULL,
`type_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=8 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `notifications`
@@ -1170,15 +1117,14 @@ INSERT INTO `notifications` (`id`, `model_id`, `userid_created`, `type_id`, `cre
-- Table structure for table `notification_types`
--
-CREATE TABLE IF NOT EXISTS `notification_types` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `notification_types` (
+ `id` int(10) UNSIGNED NOT NULL,
`message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`icon_class` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `notification_types`
@@ -1195,19 +1141,17 @@ INSERT INTO `notification_types` (`id`, `message`, `type`, `icon_class`, `create
-- Table structure for table `organization`
--
-CREATE TABLE IF NOT EXISTS `organization` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `organization` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`address` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `head` int(10) unsigned DEFAULT NULL,
+ `head` int(10) UNSIGNED DEFAULT NULL,
`internal_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `head` (`head`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1215,12 +1159,10 @@ CREATE TABLE IF NOT EXISTS `organization` (
-- Table structure for table `password_resets`
--
-CREATE TABLE IF NOT EXISTS `password_resets` (
+CREATE TABLE `password_resets` (
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`token` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- KEY `password_resets_email_index` (`email`),
- KEY `password_resets_token_index` (`token`)
+ `created_at` datetime NOT NULL DEFAULT '0000-00-00 00:00:00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1229,15 +1171,14 @@ CREATE TABLE IF NOT EXISTS `password_resets` (
-- Table structure for table `plugins`
--
-CREATE TABLE IF NOT EXISTS `plugins` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `plugins` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`path` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1245,15 +1186,14 @@ CREATE TABLE IF NOT EXISTS `plugins` (
-- Table structure for table `queue_services`
--
-CREATE TABLE IF NOT EXISTS `queue_services` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `queue_services` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`short_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=7 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `queue_services`
@@ -1273,8 +1213,8 @@ INSERT INTO `queue_services` (`id`, `name`, `short_name`, `status`, `created_at`
-- Table structure for table `ratings`
--
-CREATE TABLE IF NOT EXISTS `ratings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `ratings` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`display_order` int(11) NOT NULL,
`allow_modification` int(11) NOT NULL,
@@ -1282,9 +1222,8 @@ CREATE TABLE IF NOT EXISTS `ratings` (
`rating_area` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`restrict` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `ratings`
@@ -1300,16 +1239,15 @@ INSERT INTO `ratings` (`id`, `name`, `display_order`, `allow_modification`, `rat
-- Table structure for table `rating_ref`
--
-CREATE TABLE IF NOT EXISTS `rating_ref` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `rating_ref` (
+ `id` int(10) UNSIGNED NOT NULL,
`rating_id` int(11) NOT NULL,
`ticket_id` int(11) NOT NULL,
`thread_id` int(11) NOT NULL,
`rating_value` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1317,8 +1255,8 @@ CREATE TABLE IF NOT EXISTS `rating_ref` (
-- Table structure for table `settings_alert_notice`
--
-CREATE TABLE IF NOT EXISTS `settings_alert_notice` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_alert_notice` (
+ `id` int(10) UNSIGNED NOT NULL,
`ticket_status` tinyint(1) NOT NULL,
`ticket_admin_email` tinyint(1) NOT NULL,
`ticket_department_manager` tinyint(1) NOT NULL,
@@ -1349,9 +1287,8 @@ CREATE TABLE IF NOT EXISTS `settings_alert_notice` (
`sql_error` tinyint(1) NOT NULL,
`excessive_failure` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_alert_notice`
@@ -1366,17 +1303,16 @@ INSERT INTO `settings_alert_notice` (`id`, `ticket_status`, `ticket_admin_email`
-- Table structure for table `settings_auto_response`
--
-CREATE TABLE IF NOT EXISTS `settings_auto_response` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_auto_response` (
+ `id` int(10) UNSIGNED NOT NULL,
`new_ticket` tinyint(1) NOT NULL,
`agent_new_ticket` tinyint(1) NOT NULL,
`submitter` tinyint(1) NOT NULL,
`participants` tinyint(1) NOT NULL,
`overlimit` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_auto_response`
@@ -1391,8 +1327,8 @@ INSERT INTO `settings_auto_response` (`id`, `new_ticket`, `agent_new_ticket`, `s
-- Table structure for table `settings_company`
--
-CREATE TABLE IF NOT EXISTS `settings_company` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_company` (
+ `id` int(10) UNSIGNED NOT NULL,
`company_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`website` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`phone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1403,9 +1339,8 @@ CREATE TABLE IF NOT EXISTS `settings_company` (
`logo` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`use_logo` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_company`
@@ -1420,8 +1355,8 @@ INSERT INTO `settings_company` (`id`, `company_name`, `website`, `phone`, `addre
-- Table structure for table `settings_email`
--
-CREATE TABLE IF NOT EXISTS `settings_email` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_email` (
+ `id` int(10) UNSIGNED NOT NULL,
`template` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`sys_email` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`alert_email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1435,9 +1370,8 @@ CREATE TABLE IF NOT EXISTS `settings_email` (
`email_collaborator` tinyint(1) NOT NULL,
`attachment` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_email`
@@ -1452,17 +1386,15 @@ INSERT INTO `settings_email` (`id`, `template`, `sys_email`, `alert_email`, `adm
-- Table structure for table `settings_ratings`
--
-CREATE TABLE IF NOT EXISTS `settings_ratings` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_ratings` (
+ `id` int(10) UNSIGNED NOT NULL,
`rating_name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`publish` int(11) NOT NULL,
`modify` int(11) NOT NULL,
`slug` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- UNIQUE KEY `settings_ratings_slug_unique` (`slug`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1470,17 +1402,16 @@ CREATE TABLE IF NOT EXISTS `settings_ratings` (
-- Table structure for table `settings_security`
--
-CREATE TABLE IF NOT EXISTS `settings_security` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_security` (
+ `id` int(10) UNSIGNED NOT NULL,
`lockout_message` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`backlist_offender` int(11) NOT NULL,
`backlist_threshold` int(11) NOT NULL,
`lockout_period` int(11) NOT NULL,
`days_to_keep_logs` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_security`
@@ -1495,8 +1426,8 @@ INSERT INTO `settings_security` (`id`, `lockout_message`, `backlist_offender`, `
-- Table structure for table `settings_system`
--
-CREATE TABLE IF NOT EXISTS `settings_system` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_system` (
+ `id` int(10) UNSIGNED NOT NULL,
`status` tinyint(1) NOT NULL,
`url` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1508,21 +1439,16 @@ CREATE TABLE IF NOT EXISTS `settings_system` (
`api_key_mandatory` int(11) NOT NULL,
`api_key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`name_format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `time_farmat` int(10) unsigned DEFAULT NULL,
- `date_format` int(10) unsigned DEFAULT NULL,
- `date_time_format` int(10) unsigned DEFAULT NULL,
+ `time_farmat` int(10) UNSIGNED DEFAULT NULL,
+ `date_format` int(10) UNSIGNED DEFAULT NULL,
+ `date_time_format` int(10) UNSIGNED DEFAULT NULL,
`day_date_time` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
- `time_zone` int(10) unsigned DEFAULT NULL,
+ `time_zone` int(10) UNSIGNED DEFAULT NULL,
`content` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`version` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `time_farmat` (`time_farmat`),
- KEY `date_format` (`date_format`),
- KEY `date_time_format` (`date_time_format`),
- KEY `time_zone` (`time_zone`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_system`
@@ -1530,7 +1456,8 @@ CREATE TABLE IF NOT EXISTS `settings_system` (
INSERT INTO `settings_system` (`id`, `status`, `url`, `name`, `department`, `page_size`, `log_level`, `purge_log`, `api_enable`, `api_key_mandatory`, `api_key`, `name_format`, `time_farmat`, `date_format`, `date_time_format`, `day_date_time`, `time_zone`, `content`, `version`, `created_at`, `updated_at`) VALUES
(1, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 32, '', '', '2016-12-13 03:19:29', '2016-12-13 03:19:29'),
-(2, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 79, '', '1.0.8.0', '2016-12-13 03:19:53', '2016-12-13 03:19:53');
+(2, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 79, '', '1.0.8.0', '2016-12-13 03:19:53', '2016-12-13 03:19:53'),
+(3, 1, '', '', '1', '', '', '', 0, 0, '', '', NULL, NULL, 1, '', 14, '', '1.9.2', '2017-01-03 06:17:47', '2017-01-03 06:17:47');
-- --------------------------------------------------------
@@ -1538,8 +1465,8 @@ INSERT INTO `settings_system` (`id`, `status`, `url`, `name`, `department`, `pag
-- Table structure for table `settings_ticket`
--
-CREATE TABLE IF NOT EXISTS `settings_ticket` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `settings_ticket` (
+ `id` int(10) UNSIGNED NOT NULL,
`num_format` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`num_sequence` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`priority` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1558,9 +1485,8 @@ CREATE TABLE IF NOT EXISTS `settings_ticket` (
`client_update` tinyint(1) NOT NULL,
`max_file_size` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `settings_ticket`
@@ -1575,8 +1501,8 @@ INSERT INTO `settings_ticket` (`id`, `num_format`, `num_sequence`, `priority`, `
-- Table structure for table `sla_plan`
--
-CREATE TABLE IF NOT EXISTS `sla_plan` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `sla_plan` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`grace_period` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`admin_note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
@@ -1584,9 +1510,8 @@ CREATE TABLE IF NOT EXISTS `sla_plan` (
`transient` tinyint(1) NOT NULL,
`ticket_overdue` tinyint(1) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `sla_plan`
@@ -1603,15 +1528,14 @@ INSERT INTO `sla_plan` (`id`, `name`, `grace_period`, `admin_note`, `status`, `t
-- Table structure for table `social_media`
--
-CREATE TABLE IF NOT EXISTS `social_media` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `social_media` (
+ `id` int(10) UNSIGNED NOT NULL,
`provider` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`key` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1619,18 +1543,16 @@ CREATE TABLE IF NOT EXISTS `social_media` (
-- Table structure for table `teams`
--
-CREATE TABLE IF NOT EXISTS `teams` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `teams` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
- `team_lead` int(10) unsigned DEFAULT NULL,
+ `team_lead` int(10) UNSIGNED DEFAULT NULL,
`assign_alert` tinyint(1) NOT NULL,
`admin_notes` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `team_lead` (`team_lead`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `teams`
@@ -1647,16 +1569,13 @@ INSERT INTO `teams` (`id`, `name`, `status`, `team_lead`, `assign_alert`, `admin
-- Table structure for table `team_assign_agent`
--
-CREATE TABLE IF NOT EXISTS `team_assign_agent` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
- `team_id` int(10) unsigned DEFAULT NULL,
- `agent_id` int(10) unsigned DEFAULT NULL,
+CREATE TABLE `team_assign_agent` (
+ `id` int(10) UNSIGNED NOT NULL,
+ `team_id` int(10) UNSIGNED DEFAULT NULL,
+ `agent_id` int(10) UNSIGNED DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`),
- KEY `team_id` (`team_id`),
- KEY `agent_id` (`agent_id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=3 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `team_assign_agent`
@@ -1672,17 +1591,16 @@ INSERT INTO `team_assign_agent` (`id`, `team_id`, `agent_id`, `created_at`, `upd
-- Table structure for table `template`
--
-CREATE TABLE IF NOT EXISTS `template` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `template` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`status` tinyint(1) NOT NULL,
`template_set_to_clone` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`language` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`internal_note` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- --------------------------------------------------------
@@ -1690,8 +1608,8 @@ CREATE TABLE IF NOT EXISTS `template` (
-- Table structure for table `templates`
--
-CREATE TABLE IF NOT EXISTS `templates` (
- `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+CREATE TABLE `templates` (
+ `id` int(10) UNSIGNED NOT NULL,
`name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`variable` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`type` int(11) NOT NULL,
@@ -1700,9 +1618,8 @@ CREATE TABLE IF NOT EXISTS `templates` (
`description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`set_id` int(11) NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
- `updated_at` timestamp NULL DEFAULT NULL,
- PRIMARY KEY (`id`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=14 ;
+ `updated_at` timestamp NULL DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--
-- Dumping data for table `templates`
@@ -1716,12 +1633,13 @@ INSERT INTO `templates` (`id`, `name`, `variable`, `type`, `subject`, `message`,
(5, 'This template is for sending notice to agent on new ticket creation', '0', 5, '', '
Hello {!!$ticket_agent_name!!},
New ticket {!!$ticket_number!!}created
From Name: {!!$ticket_client_name!!} E-mail: {!!$ticket_client_email!!}
{!!$content!!}
Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(6, 'This template is for sending notice to client on new ticket created by agent in name of client', '0', 6, '', '
{!!$content!!}
{!!$agent_sign!!}
You can check the status of or update this ticket online at: {!!$system_link!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(7, 'This template is for sending notice to client on new registration during new ticket creation for un registered clients', '1', 7, 'Registration Confirmation', '
Hello {!!$user!!},
This email is confirmation that you are now registered at our helpdesk.
Registered Email: {!!$email_address!!}
Password: {!!$user_password!!}
You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}
Thank You.
Kind Regards,
{!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
-(8, 'This template is for sending notice to any user about reset password option', '1', 8, 'Reset your Password', 'Hello {!!$user!!},
You asked to reset your password. To do so, please click this link:
{!!$password_reset_link!!}
This will let you change your password to something new. If you didn''t ask for this, don''t worry, we''ll keep your password safe.
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
+(8, 'This template is for sending notice to any user about reset password option', '1', 8, 'Reset your Password', 'Hello {!!$user!!},
You asked to reset your password. To do so, please click this link:
{!!$password_reset_link!!}
This will let you change your password to something new. If you didn\'t ask for this, don\'t worry, we\'ll keep your password safe.
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(9, 'This template is for sending notice to client when a reply made to his/her ticket', '0', 9, '', '
{!!$content!!}
{!!$agent_sign!!}
Ticket Details
Ticket ID: {!!$ticket_number!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(10, 'This template is for sending notice to agent when ticket reply is made by client on a ticket', '0', 10, '', '
Hello {!!$ticket_agent_name!!}, A reply been made to ticket {!!$ticket_number!!} From Name: {!!$ticket_client_name!!} E-mail: {!!$ticket_client_email!!} {!!$content!!} Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:51', '2016-12-13 03:19:51'),
(11, 'This template is for sending notice to client about registration confirmation link', '1', 11, 'Verify your email address', '
Hello {!!$user!!},
This email is confirmation that you are now registered at our helpdesk.
Registered Email: {!!$email_address!!}
Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}
Thank You.
Kind Regards,
{!!$system_from!!}
', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
(12, 'This template is for sending notice to team when ticket is assigned to team', '1', 12, '', '
Hello {!!$ticket_agent_name!!},
Ticket No: {!!$ticket_number!!} Has been assigned to your team : {!!$team!!} by {!!$ticket_assigner!!}
Thank You Kind Regards, {!!$system_from!!}
', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
-(13, 'This template is for sending notice to client when password is changed', '1', 13, 'Verify your email address', 'Hello {!!$user!!},
Your password is successfully changed.Your new password is : {!!$user_password!!}
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52');
+(13, 'This template is for sending notice to client when password is changed', '1', 13, 'Verify your email address', 'Hello {!!$user!!},
Your password is successfully changed.Your new password is : {!!$user_password!!}
Thank You.
Kind Regards, {!!$system_from!!}', '', 1, '2016-12-13 03:19:52', '2016-12-13 03:19:52'),
+(14, 'This template is to notify users when their tickets are merged.', '1', 14, 'Your tickets have been merged.', '
Hello {!!$user!!},
Your ticket(s) with ticket number {!!$merged_ticket_numbers!!} have been closed and merged with {!!$ticket_number!!}.
Possible reasons for merging tickets
Tickets are duplicate
Tickets state the same issue
Another member from your organization has created a ticket for the same issue
Click here to login to your account and check your tickets.
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem.
-
ERROR: Unknown Punctuation String @ 1264
-STR: ?,
-SQL: select
- `tickets`.`id`,
- `tickets`.`ticket_number`,
- `tickets`.`status`,
- `tickets`.`user_id`,
- `tickets`.`priority_id`,
- `tickets`.`assigned_to`,
- `ticket_thread`.`title`,
- max(ticket_thread.updated_at) as updated_at,
- COUNT(ticket_thread.updated_at) as countthread,
- `ticket_priority`.`priority`,
- `ticket_priority`.`priority_color`,
- `u`.`user_name` as `user_name`,
- `u`.`first_name` as `first_name`,
- `u`.`last_name` as `last_name`,
- `u1`.`user_name` as `assign_user_name`,
- `u1`.`first_name` as `assign_first_name`,
- `u1`.`last_name` as `assign_last_name`,
- COUNT(ticket_attachment.thread_id) as countattachment,
- COUNT(ticket_collaborator.ticket_id) as countcollaborator,
- `ticket_status`.`name` as `tickets_status`,
- `ticket_source`.`css_class` as `css`,
- substring_index(
- group_concat(
- ticket_thread.poster
- order by
- ticket_thread.updated_at desc
- ),
- ",",
- 1
- ) as last_replier,
- `label`.`value` as `label_values`,
- `tag`.`value` as `tag_values`
-from
- `tickets`
- left join `ticket_thread` on `tickets`.`id` = `ticket_thread`.`ticket_id`
- and `title` is not null
- and `ticket_thread`.`is_internal` <> ?
- inner join `ticket_status` on `ticket_status`.`id` = `tickets`.`status`
- and `ticket_status`.`id` in (?, ?)
- inner join `ticket_source` on `ticket_source`.`id` = `tickets`.`source`
- left join `ticket_priority` on `ticket_priority`.`priority_id` = `tickets`.`priority_id`
- left join `users` as `u` on `u`.`id` = `tickets`.`user_id`
- left join `users` as `u1` on `u1`.`id` = `tickets`.`assigned_to`
- left join `ticket_attachment` on `ticket_attachment`.`thread_id` = `ticket_thread`.`id`
- left join `filters` as `label` on `tickets`.`id` = `label`.`ticket_id`
- and `label`.`key` = ?
- left join `filters` as `tag` on `tickets`.`id` = `tag`.`ticket_id`
- and `tag`.`key` = ?
- left join `ticket_collaborator` on `ticket_collaborator`.`ticket_id` = `tickets`.`id`
-where
- FIND_IN_SET('on', 'tag.value')<> 0
-group by
- `tickets`.`id`
-
-
-
-
SQL query:
-
-
-select
- `tickets`.`id`,
- `tickets`.`ticket_number`,
- `tickets`.`status`,
- `tickets`.`user_id`,
- `tickets`.`priority_id`,
- `tickets`.`assigned_to`,
- `ticket_thread`.`title`,
- max(ticket_thread.updated_at) as updated_at,
- COUNT(ticket_thread.updated_at) as countthread,
- `ticket_priority`.`priority`,
- `ticket_priority`.`priority_color`,
- `u`.`user_name` as `user_name`,
- `u`.`first_name` as `first_name`,
- `u`.`last_name` as `last_name`,
- `u1`.`user_name` as `assign_user_name`,
- `u1`.`first_name` as `assign_first_name`,
- `u1`.`last_name` as `assign_last_name`,
- COUNT(ticket_attachment.thread_id) as countattachment,
- COUNT(ticket_collaborator.ticket_id) as countcollaborator,
- `ticket_status`.`name` as `tickets_status`,
- `ticket_source`.`css_class` as `css`,
- substring_index(
- group_concat(
- ticket_thread.poster
- order by
- ticket_thread.updated_at desc
- ),
- ",",
- 1
- ) as last_replier,
- `label`.`value` as `label_values`,
- `tag`.`value` as `tag_values`
-from
- `tickets`
- left join `ticket_thread` on `tickets`.`id` = `ticket_thread`.`ticket_id`
- and `title` is not null
- and `ticket_thread`.`is_internal` <> ?
- inner join `ticket_status` on `ticket_status`.`id` = `tickets`.`status`
- and `ticket_status`.`id` in (?, ?)
- inner join `ticket_source` on `ticket_source`.`id` = `tickets`.`source`
- left join `ticket_priority` on `ticket_priority`.`priority_id` = `tickets`.`priority_id`
- left join `users` as `u` on `u`.`id` = `tickets`.`user_id`
- left join `users` as `u1` on `u1`.`id` = `tickets`.`assigned_to`
- left join `ticket_attachment` on `ticket_attachment`.`thread_id` = `ticket_thread`.`id`
- left join `filters` as `label` on `tickets`.`id` = `label`.`ticket_id`
- and `label`.`key` = ?
- left join `filters` as `tag` on `tickets`.`id` = `tag`.`ticket_id`
- and `tag`.`key` = ?
- left join `ticket_collaborator` on `ticket_collaborator`.`ticket_id` = `tickets`.`id`
-where
- FIND_IN_SET('on', 'tag.value')<> 0
-group by
- `tickets`.`id`
-
-
- MySQL said:
-
-
-#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '?
- inner join `ticket_status` on `ticket_status`.`id` = `tickets`.`status`
- ' at line 38
-
-