INSERT INTO `tblsessions` (`tenant_id`, `id`, `ip_address`, `timestamp`, `data`) VALUES
(1, 'vsgvd51stmn376qfff7ot1pm8qpvdcuk', '203.192.225.151', 1589958640, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393935383634303b),
(1, 'vsk630m5etdfa9lbf4janmfthebf8beu', '1.186.196.207', 1590677525, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303637373532353b),
(1, 'vsmhc0jb4s8me8u8qr4v7nipfquvi3ik', '1.186.179.229', 1589832515, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393833323232343b4642524c485f73746174657c733a33323a223061383638373134386265366637666631663331633965393636353637356235223b73746166665f757365725f69647c733a313a2231223b73746166665f6c6f676765645f696e7c623a313b74656e616e745f69647c733a313a2231223b73657475702d6d656e752d6f70656e7c733a303a22223b7265645f75726c7c733a33343a2268747470733a2f2f6465762e6d792e636f6e74726163746f72706c75732e6170702f223b7461736b735f6b616e62616e5f766965777c733a343a2274727565223b),
(1, 'vsn7b4g756oc02em58guhq50g2v9jn2j', '203.192.225.80', 1590683224, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303638333232343b),
(1, 'vsnc73q5kvq4pc3sjs8ehf7bnnf3rb9g', '203.192.225.91', 1591394579, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313339343537393b),
(1, 'vsoc1gfqvki43ceou89odrreasei2ked', '203.192.225.80', 1590582612, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303538323631323b),
(1, 'vsqp4v8e6hfc4f0onblc49good18ukno', '203.192.225.140', 1590144301, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303134343330313b),
(1, 'vss5a6m9in7j41vq2djvdtmlqu3j38vp', '1.186.171.239', 1591185689, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313138353638393b69735f6d6f62696c657c623a313b7265645f75726c7c733a33343a2268747470733a2f2f6465762e6d792e636f6e74726163746f72706c75732e6170702f223b),
(1, 'vssm1uamaj1vtk24ughqgpta5oo40ffj', '1.186.197.152', 1588865016, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538383836353031363b),
(1, 'vssojbn92giucb05bb1u3kpo62tkd1l2', '171.51.202.18', 1590854586, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303835343538363b),
(1, 'vt1p35hve67mimq4j8ph7fr5co1bb0en', '103.87.31.149', 1590471860, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303437313836303b4642524c485f73746174657c733a33323a226638373839393330303337313337373163356362376438356537626538303935223b73746166665f757365725f69647c733a313a2231223b73746166665f6c6f676765645f696e7c623a313b74656e616e745f69647c733a313a2231223b73657475702d6d656e752d6f70656e7c733a303a22223b7265645f75726c7c733a33343a2268747470733a2f2f6465762e6d792e636f6e74726163746f72706c75732e6170702f223b),
(1, 'vtdafdcfgfat48rdm2nbpsovdtllnucn', '1.186.197.246', 1589372812, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393337323831323b),
(1, 'vth4iqqus9a0e0i8u582raqu023ekt78', '203.192.225.80', 1590671349, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303637313334393b),
(1, 'vtmjhg5mnemnnejeub6rnjea7ao1kk5j', '1.186.174.197', 1589580693, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393538303639323b),
(1, 'vtuv4sfr1aqicou9g1v4hpuqudu6efcp', '1.186.196.47', 1590602286, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303630323238363b),
(1, 'vtuvlhdoctl2uh0tcgc7pma9f746oq6a', '114.79.166.112', 1591345235, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313334353233353b),
(1, 'vu239tti7ml9ve0avkdkn68depamufja', '1.186.171.77', 1590704794, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303730343739343b4642524c485f73746174657c733a33323a223830306431656366363762393436326331623330653365383337633963373336223b73746166665f757365725f69647c733a313a2231223b73746166665f6c6f676765645f696e7c623a313b74656e616e745f69647c733a313a2231223b73657475702d6d656e752d6f70656e7c623a313b),
(1, 'vu389ndbv201h0aesdvinu8ij5eftsfq', '203.192.225.92', 1591287326, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313238373332363b),
(1, 'vu3h6haoencmds1gpbpo7mi3enhdhiva', '1.186.196.207', 1590677287, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303637373238373b),
(1, 'vu492d3tee7q1m9i1j28h8554ses7v13', '114.79.178.161', 1591004312, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313030343331323b),
(1, 'vu4s3m0pjcf2on4n9564gkpp8pn26e15', '203.192.225.92', 1591298694, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313239383639333b),
(1, 'vu8jfphqb1ms8s879dgsgsngppt406k2', '203.192.225.238', 1589983806, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393938333830363b),
(1, 'vufj5e4igpr2mkbed3qpshc2rt9hb17u', '1.186.198.36', 1589263869, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393236333836393b),
(1, 'vuhan7sagb05mtt5tl7bliad3vuu1iv9', '203.192.225.92', 1591300844, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313330303834343b),
(1, 'vuil5s8nt1t8vc8h3flbojtb72obdugr', '203.192.225.92', 1591346887, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313334363838373b),
(1, 'vup3d7qekm5th7in9f0c3gbdbuivh55a', '203.192.225.80', 1590671936, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303637313933363b),
(1, 'vurfn7tn4o9eonvlu7j3dqual2hijvbv', '203.192.225.140', 1590170781, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303137303738313b),
(1, 'vusj0osujsmbao80ipt637jicbk68e9b', '1.186.171.77', 1590768515, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303736383531353b),
(1, 'vutm4rijida064vrifhidug84ghun14e', '103.121.73.170', 1590697995, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303639373939353b),
(1, 'vv687ie159cdrbgdvo2vo26qmugsbd7b', '1.186.170.130', 1591212826, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313231323832363b4642524c485f73746174657c733a33323a226666303539333630383834303739616239383539393334636662383535386237223b7265645f75726c7c733a34393a2268747470733a2f2f6465762e6d792e636f6e74726163746f72706c75732e6170702f61646d696e2f657374696d61746573223b6170705f61646d696e7c4f3a383a22737464436c617373223a353a7b733a323a226964223b733a313a2231223b733a343a226e616d65223b733a31313a2253757065722041646d696e223b733a353a22656d61696c223b733a31353a2261646d696e40676d61696c2e636f6d223b733a383a2270617373776f7264223b733a36303a222432612430382458505a5957587866724e7a4e35727032467453756c75413670523355387073685a664d4d356150725243656d574d66543170544947223b733a363a22616374697665223b733a313a2231223b7d7573657269647c733a313a2231223b6170706c69636174696f6e5f61646d696e5f69647c4e3b6170706c69636174696f6e5f61646d696e5f6c6f676765645f696e7c623a313b73657475702d6d656e752d6f70656e7c733a303a22223b),
(1, 'vv6ackqcs1md2c54ao5fne61j505gu5n', '203.192.225.64', 1589809465, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393830393436353b),
(1, 'vv81amq77a43tqpe9gd3sll1c5m7p7nq', '1.186.175.12', 1591080789, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313038303738393b),
(1, 'vvaqnog2m2omjp3bfv2nq7erqgaoe8m9', '203.192.225.91', 1591383372, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313338333337323b),
(1, 'vvckluudc81v9suf3g9s4r5g2gqhqjb5', '103.121.72.224', 1591001212, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313030313231323b),
(1, 'vvd5v7jt9rjf7eg1n129qc3sd4h3lcl3', '114.79.166.112', 1591382559, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313338323434363b),
(1, 'vvdgr5q77ibpkjd8kqcac8u35qh712vp', '1.186.197.246', 1591107967, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313130373936373b),
(1, 'vvekbsg7bh7samci2ajus81d8af7pjp1', '103.121.72.250', 1589393301, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393339333330313b),
(1, 'vvgqkqefoka78m2jqrc7saak3br6nd9t', '103.121.73.22', 1590900816, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303930303831363b),
(1, 'vvj7om2rbt4crn625kipae06ge5a6osk', '42.106.253.41', 1590760602, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539303736303630323b),
(1, 'vvpg1gpkrg4g2vc34kh0d6ac75p58jk1', '203.192.225.84', 1589616691, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393631363639313b),
(1, 'vvq0qh4jl7sipjj64ab7uoko8s083vv7', '1.186.175.12', 1591115319, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313131353331393b),
(1, 'vvrs3f5cfelqr8eq7tuhi6s66vudjn7u', '203.192.225.92', 1591286799, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313238363739393b),
(1, 'vvrvt70inl00f5qqnv2omsln9shth4hi', '114.79.166.112', 1591336889, 0x5f5f63695f6c6173745f726567656e65726174657c693a313539313333363838393b),
(1, 'vvu4tkfnda0gu5hm46kvtgkumlgovrmf', '203.192.225.238', 1589999158, 0x5f5f63695f6c6173745f726567656e65726174657c693a313538393939393135383b);

-- --------------------------------------------------------

--
-- Table structure for table `tblshared_customer_files`
--

CREATE TABLE `tblshared_customer_files` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `file_id` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblspam_filters`
--

CREATE TABLE `tblspam_filters` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(40) NOT NULL,
  `rel_type` varchar(10) NOT NULL,
  `value` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblstaff`
--

CREATE TABLE `tblstaff` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `is_tenant` tinyint(1) NOT NULL DEFAULT '0',
  `normal_login_used` tinyint(4) NOT NULL DEFAULT '0',
  `google_login_used` tinyint(4) NOT NULL DEFAULT '0',
  `google_data` longtext,
  `facebook_login_used` tinyint(4) NOT NULL DEFAULT '0',
  `facebook_data` longtext,
  `email` varchar(100) NOT NULL,
  `firstname` varchar(50) NOT NULL,
  `lastname` varchar(50) NOT NULL,
  `facebook` mediumtext,
  `linkedin` mediumtext,
  `phonenumber` varchar(30) DEFAULT NULL,
  `skype` varchar(50) DEFAULT NULL,
  `password` varchar(250) NOT NULL,
  `datecreated` datetime NOT NULL,
  `industry` varchar(255) DEFAULT NULL,
  `company_role` varchar(255) DEFAULT NULL,
  `company_size` varchar(255) DEFAULT NULL,
  `years_in_business` varchar(255) DEFAULT NULL,
  `how_found_cp` varchar(255) DEFAULT NULL,
  `profile_image` varchar(191) DEFAULT NULL,
  `last_ip` varchar(40) DEFAULT NULL,
  `last_login` datetime DEFAULT NULL,
  `last_activity` datetime DEFAULT NULL,
  `last_password_change` datetime DEFAULT NULL,
  `new_pass_key` varchar(32) DEFAULT NULL,
  `new_pass_key_requested` datetime DEFAULT NULL,
  `admin` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `role` bigint(20) UNSIGNED DEFAULT NULL,
  `active` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `default_language` varchar(40) DEFAULT NULL,
  `direction` varchar(3) DEFAULT NULL,
  `media_path_slug` varchar(191) DEFAULT NULL,
  `is_not_staff` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT '0.00',
  `two_factor_auth_enabled` tinyint(1) DEFAULT '0',
  `two_factor_auth_code` varchar(100) DEFAULT NULL,
  `two_factor_auth_code_requested` datetime DEFAULT NULL,
  `email_signature` text,
  `fcm_token` longtext
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblstaff`
--

INSERT INTO `tblstaff` (`tenant_id`, `staffid`, `is_tenant`, `normal_login_used`, `google_login_used`, `google_data`, `facebook_login_used`, `facebook_data`, `email`, `firstname`, `lastname`, `facebook`, `linkedin`, `phonenumber`, `skype`, `password`, `datecreated`, `industry`, `company_role`, `company_size`, `years_in_business`, `how_found_cp`, `profile_image`, `last_ip`, `last_login`, `last_activity`, `last_password_change`, `new_pass_key`, `new_pass_key_requested`, `admin`, `role`, `active`, `default_language`, `direction`, `media_path_slug`, `is_not_staff`, `hourly_rate`, `two_factor_auth_enabled`, `two_factor_auth_code`, `two_factor_auth_code_requested`, `email_signature`, `fcm_token`) VALUES
(1, 1, 1, 1, 0, NULL, 0, NULL, 'dev.spryox@gmail.com', 'Spryox', 'Admin', NULL, NULL, NULL, NULL, '$2a$08$XPZYWXxfrNzN5rp2FtSuluA6pR3U8pshZfMM5aPrRCemWMfT1pTIG', '2020-04-29 12:19:28', NULL, NULL, NULL, NULL, NULL, NULL, '1.186.168.199', '2020-06-05 06:08:46', '2020-06-05 21:22:15', '2020-05-15 16:27:44', NULL, NULL, 1, NULL, 1, 'english', NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, '12345'),
(18, 15, 1, 0, 0, NULL, 0, NULL, 'akashparmar123@gmail.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$lTLNqq.bVtMcY4dYTpczIuu.JUuUWSSfpgYfFF3rQYV8ApxOcoAIS', '2020-05-07 08:25:51', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, '12345'),
(19, 16, 1, 0, 0, NULL, 0, NULL, 'akashparmar1234@gmail.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$xq/BJtSj785HlvRZP9hwreyUEzlZqi4OWrKs3M6Vd48zCk0ho3eiq', '2020-05-07 15:18:53', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(20, 17, 1, 0, 0, NULL, 0, NULL, 'ketan.spryox@gmail.com', 'Ketan', 'Sakulkat', NULL, NULL, '8087405954', NULL, '$2a$08$zWq.o8.UncXQRGli671heOT2cFwAiKT8Kk04R/JlIm4ZScSOHuo7.', '2020-05-07 21:42:54', NULL, 'Development', 'Just Me', '&lt;1', 'sgsgdvdhdh', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(21, 18, 1, 0, 0, NULL, 0, NULL, 'sakulkarketan@gmail.com', 'Ketan', 'Sakulkar', NULL, NULL, '8087405954', NULL, '$2a$08$SHpY67RG5moq8.Pb.DdecOHnxcfVQAc5ACHYXVEGRsQOGI5R.Fq8m', '2020-05-07 22:06:18', NULL, 'Development', 'Just Me', '&lt;1', 'svsgdh', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(22, 19, 1, 0, 0, NULL, 0, NULL, 'test@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$WPiso20STmcF9su49CqT3.bXk4a5Szn02wG7YJ5K5FBXeSwwuURsm', '2020-05-08 22:51:00', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(23, 20, 1, 0, 0, NULL, 0, NULL, 'test1@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$DNpyxITzrx3Bcfgy3rjnJe9CnOSJH3QUyYQlZ5vC1.zz2xQN0cH6.', '2020-05-09 01:09:12', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(24, 21, 1, 0, 0, NULL, 0, NULL, 'test2@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$JISXGH7sfzvGjClQLTpgtO3RrNZoWeE7rpNcDdDvOP5xMNFAf0jIm', '2020-05-09 01:10:07', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(25, 22, 1, 0, 0, NULL, 0, NULL, 'ajinkya.spryox@gmail.com', 'Ajinkya', 'Sonar', '', '', '9167921922', '', '$2a$08$z/UAMP7iTS7m9/sGh6zNiuC7rOknBUPuoE2YESHHwuxwGwX9aoKhK', '2020-05-09 01:11:31', NULL, 'iOS Developer', '10+', '3-10', 'Indeed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, '', '', NULL, 0, '0.00', 0, NULL, NULL, '', '12345'),
(26, 23, 1, 0, 0, NULL, 0, NULL, 'test3@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$7HVBmOR4PXC4/ROmV4ISmOxQB9HK6cSPkFhb4MI0sHxgNRdmiiELa', '2020-05-09 01:15:02', '1', 'Excellence', '3-10', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(27, 24, 1, 0, 0, NULL, 0, NULL, 'test4@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$/HTVw3A.8cqoi7paBd58S.JHucgydE/.AmnpLskFzrjaHd8Hp2qdG', '2020-05-09 01:15:45', NULL, 'Excellence', '3-10', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(28, 25, 1, 0, 0, NULL, 0, NULL, 'test5@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$.gMc8PSsZG1Nr2G94VidSuHVgIVHNb4qkQ8Tl9T1zfVF8PO/xZPD.', '2020-05-09 01:32:29', '1', 'Excellence', '3-10', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(29, 26, 1, 0, 0, NULL, 0, NULL, 'test6@test.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$2iRAtFMfA1pPsqpmle.jbu2xJ3fwmeVHUS.m.9DRMmyTPunq9y63u', '2020-05-09 01:42:26', '1', 'Excellence', '3-10', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(30, 27, 1, 0, 0, NULL, 0, NULL, 'testt@test.com', 'Ajinkya', 'Sonar', NULL, NULL, '9167231878', NULL, '$2a$08$hLnBFy.M0WrB6G8S4zM75eZ0wqp8aacEfohk3M7AZ9Ur2DhUxSeEW', '2020-05-09 02:01:07', '1', 'iOS Developer', '10+', '10+', 'Indeed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(31, 28, 1, 0, 0, NULL, 0, NULL, 'ajinkya.speyox@gmail.com', 'Ajinkya', 'Sonar', NULL, NULL, '9167921922', NULL, '$2a$08$UXQkKAKQs2ccQdn3b9xXreEwqcQsz7PnB5HBRC9mF4AYbD1SGdIai', '2020-05-09 02:09:29', '1', 'iOS Developer', '10+', '3-10', 'Indeed', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(32, 29, 1, 0, 0, NULL, 0, NULL, 'akashparmar1234@mail.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$hnDja79nqIB9gON8Z8VwfOlorvwLMG8S.yFAufJkUmmsPmbvsv3TW', '2020-05-11 16:14:54', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(33, 30, 1, 0, 0, NULL, 0, NULL, 'akashparmar101@gmail.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$jaE/uA7hcVDryXp.jsdU5.PnaOiKktR2qWK/ze8w4jYkyREMjvhju', '2020-05-11 19:23:46', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(34, 31, 1, 0, 0, NULL, 0, NULL, 'akashparmar1234@maill.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$XJMKaqP1YM8I4keYSjBlUO.kNCFJzH8c4gaXs27gXhf35OEN5Lis2', '2020-05-11 20:32:35', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(36, 33, 1, 0, 0, NULL, 0, NULL, 'dev.spryox123@gmail.com', 'Akash', 'Parmar', NULL, NULL, '09167023220', NULL, '$2a$08$wvtk1yks2TM1HQgh4RPgye3EpGP7Ucy9aSG7OXtbXOxnoBpVTEAT6', '2020-05-12 16:34:43', '1', NULL, '10+', '2-3', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 34, 0, 0, 0, NULL, 0, NULL, 'vikram.spryox@gmail.com', 'Vikram', 'Pawar', '', '', '+919870731602', '', '$2a$08$aAsV1/GUSlFg9gGDJNTdr.lycxBtI9SS8c4Iw8cj9lfBTG4ShKsWK', '2020-05-13 01:43:56', NULL, NULL, NULL, NULL, NULL, NULL, '1.186.174.228', '2020-05-13 15:22:44', '2020-05-18 00:25:46', '2020-05-13 01:45:21', '5883907515657a04e08c3a98241a3420', '2020-05-15 16:35:54', 0, 1, 1, '', '', 'vikram-pawar', 0, '0.00', 0, NULL, NULL, '', NULL),
(37, 35, 1, 0, 0, NULL, 0, NULL, 'vvvvv@gmail.com', 'Ghh', 'Vvvg', NULL, NULL, '7977796967', NULL, '$2a$08$dAZXW54Qsq4s3L.YFLnRFOq5tGWhCNZ1itiRiamHMoj4KPsiZJn..', '2020-05-14 14:29:10', NULL, 'Test', 'Just Me', '3-10', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(38, 36, 1, 0, 0, NULL, 0, NULL, 'akashparmar10@gmail.com', 'Akash', 'Parmar', NULL, NULL, '1234567890', NULL, '$2a$08$53hZ1FlpQDkZcm5pm68YOuon1pSZXFnXhkRhKy8X1BzjxnM.Wo4Zi', '2020-05-15 18:51:01', '1', NULL, 'Just Me', '1-2', '', NULL, '103.245.106.133', '2020-05-15 18:51:19', '2020-05-16 00:21:40', NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(39, 37, 1, 0, 0, NULL, 0, NULL, 'akashp.spryox@gmail.com', 'Akash', 'Parmar', NULL, NULL, '1234567890', NULL, '$2a$08$UwGTIBl/bIumTZ7I0VVgqOQyAkEn40y/GigzVDnaZpplA/okc8Tde', '2020-05-15 18:52:04', '', NULL, '', '', '', NULL, '103.245.106.133', '2020-05-15 18:52:17', '2020-05-19 16:53:08', NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(40, 38, 1, 0, 0, NULL, 0, NULL, 'sonar.ajinkya@gmail.com', 'Ajinkya', 'Sonar', NULL, NULL, '9167921922', NULL, '$2a$08$wtyxhVGBXalEbPG8.NrggOSCE56O78BOFE6ELptDdn9yxtbZT/wS2', '2020-05-16 18:10:18', '1', 'iOS Developer', '10+', '3-10', 'Naukri', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(41, 39, 1, 1, 0, NULL, 0, NULL, 'chetan.spryox@gmail.com', 'chetan', 'jadhav', NULL, NULL, '9860345142', NULL, '$2a$08$Iup9Bv1o1MDMK6oSnIJBVOcTVISjvhr1AjBVz1yd2IQnzXHESDmkS', '2020-05-16 19:08:12', NULL, 'Software Developer', '10+', '1-2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, '12345'),
(42, 40, 1, 0, 0, NULL, 0, NULL, 'ajinkya_qujuhua_test@tfbnw.net', 'Ajinkya', 'Test', NULL, NULL, '9167921922', NULL, '$2a$08$d0.MzGLuS7.YBzv.BUMzl.3a/a2sDWtzcnGSmWlPlraZnSOGfLa5e', '2020-05-17 00:46:07', '1', 'iOS developer', '', '', 'Facebook', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(43, 41, 1, 0, 0, NULL, 0, NULL, 'akashparmar101@gmaill.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$x8zfp7cGMCwePxq7ofNnnO15pA4CGBOqTG2MEBD1REpjRLYKpfMgy', '2020-05-17 03:22:08', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(44, 42, 1, 0, 0, NULL, 0, NULL, 'sakulkarketan@yahoo.com', 'Ketan', 'Sakulkar', NULL, NULL, '8087405954', NULL, '$2a$08$6nE1PGyNiVlNY3DxMJqHsuXa0tV9Keh4wTVyTTmLnDLoMqj3LKV4a', '2020-05-18 12:18:18', NULL, 'Developer', 'Just Me', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 43, 0, 1, 0, NULL, 0, NULL, 'team-mem@gmail.com', 'Team', 'Member', '', '', '', '', '$2a$08$1IJggTHiwafC3AnCwy138Oi/fSEFkpbAtCIv7O3WLt7VUdgSIVvMu', '2020-05-18 15:04:54', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1, '', '', 'team-member', 0, '0.00', 0, NULL, NULL, '', '12345'),
(1, 44, 0, 0, 0, NULL, 0, NULL, 'akashashwinparmar@gmail.com', 'Akash', 'Parmar', NULL, NULL, '1234567890', NULL, '$2a$08$OTzpe3P7j2PbAyxK3M6Aiezm6ofT2zHswngDnMqGlOunoegfv7VO6', '2020-05-20 13:52:04', NULL, NULL, NULL, NULL, NULL, NULL, '103.15.52.8', '2020-05-20 10:37:35', '2020-05-20 16:09:53', NULL, NULL, NULL, 0, NULL, 1, NULL, 'ltr', 'akash-parmar', 0, '0.00', 0, NULL, NULL, '', NULL),
(1, 45, 0, 1, 0, NULL, 0, NULL, 'john@example.com', 'John', 'Doe', NULL, NULL, '8978985878', NULL, '$2a$08$6swKrNjJIGNFlIAGpozcoOeOdvGXTu8ZpU5Nqsps1f5xGrzvbt6z.', '2020-05-22 11:31:18', NULL, NULL, NULL, NULL, NULL, NULL, '103.87.31.149', '2020-05-25 11:12:33', '2020-05-25 16:42:39', NULL, NULL, NULL, 0, NULL, 1, NULL, 'ltr', 'john-doe', 0, '0.00', 0, NULL, NULL, '', NULL),
(53, 54, 1, 0, 0, NULL, 0, NULL, 'akashparmar101101@gmail.com', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '$2a$08$PuPgr5I7YCdVruj/KW3IGenVC3rKZVbA3MR5LucUKAqTNaageDbKu', '2020-05-26 11:21:10', '1', 'Excellence', '40', '4', 'Google Ads', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(54, 55, 1, 0, 0, NULL, 0, NULL, 'akashparmarspryox@gmail.com', 'Akash', 'Parmar', NULL, NULL, '1234567890', NULL, '$2a$08$7nVM/6UauW7FuKOOuR8aauuFr2mtL3fW8CEEpJy.PJFKFHufqGqOm', '2020-05-26 05:59:11', '', NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(55, 56, 1, 0, 0, NULL, 0, NULL, 'static.test@gmail.com', 'Test', 'Static Data', NULL, NULL, '1234567890', NULL, '$2a$08$kpZfNkmqlCzrSvqycge14exlTOBsTXrRhKtmT0DuRMlmZtQ5rr5NO', '2020-05-26 06:02:03', '', NULL, '', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(56, 57, 1, 0, 0, NULL, 0, NULL, 'tushar.spryox@gmail.com', 'Tushar', 'Sawant', NULL, NULL, '7977796967', NULL, '$2a$08$051k59OcV7VU6kkWypI1/OouB1AvTp9he35phUQ/CpNHqplN0ZTqu', '2020-05-26 21:59:09', NULL, '[removed]alert&#40;\'Developer\'&#41;[removed]', NULL, NULL, 'through friends', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(57, 58, 1, 0, 0, NULL, 0, NULL, 'ceo@contractorplus.app', 'Justin', 'Smith', NULL, NULL, '7405035627', NULL, '$2a$08$5EzRU3ulJ8cFLGYJOOHiHuaN2KURGTkrE36T4LK6zBimiqjJV/hbS', '2020-06-02 01:14:13', NULL, 'CEO', '10+', '1-2', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, 1, NULL, NULL, NULL, 1, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 59, 0, 0, 0, NULL, 0, NULL, 'akashp.spryox@gmail.comm', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '12345678', '2020-06-05 17:07:25', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 60, 0, 0, 0, NULL, 0, NULL, 'akashp.spryox@gmail.commm', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '12345678', '2020-06-05 17:10:36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 61, 0, 0, 0, NULL, 0, NULL, 'akashp.spryox@gmail.ccomm', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '12345678', '2020-06-05 17:22:50', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 62, 0, 0, 0, NULL, 0, NULL, 'akashp.spryox122@gmail.comm', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '12345678', '2020-06-05 17:30:07', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 63, 0, 0, 0, NULL, 0, NULL, 'bavsgsgw@gmail.com', 'me', 'ns', NULL, NULL, '3164949485484', NULL, '12345678', '2020-06-05 17:41:36', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 64, 0, 0, 0, NULL, 0, NULL, 'gsgs@gmaip.com', 'test', 'test', NULL, NULL, '949461616161', NULL, '12345678', '2020-06-05 17:45:44', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 65, 0, 0, 0, NULL, 0, NULL, 'vdbdb@gmail.com', 'bdbd', 'gdbd', NULL, NULL, '6595', NULL, '12345678', '2020-06-05 17:51:40', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 66, 0, 0, 0, NULL, 0, NULL, 'akashp.spryox@gmail.ccoomm', 'Akash', 'Parmar', NULL, NULL, '9167023220', NULL, '12345678', '2020-06-05 17:52:46', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 67, 0, 0, 0, NULL, 0, NULL, 'test@add.com', 'Test ADD Team Member', 'Test Member ADD', NULL, NULL, '9167123123', NULL, '12345678', '2020-06-05 18:07:34', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL),
(1, 68, 0, 0, 0, NULL, 0, NULL, 'hd@gmail.com', 'bdbdbd', 'bdbdbd', NULL, NULL, '488', NULL, '12345678', '2020-06-05 18:12:28', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, NULL, 0, '0.00', 0, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `tblstaff_departments`
--

CREATE TABLE `tblstaff_departments` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `staffdepartmentid` bigint(20) UNSIGNED NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `departmentid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblstaff_permissions`
--

CREATE TABLE `tblstaff_permissions` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `staff_id` bigint(20) UNSIGNED NOT NULL,
  `feature` varchar(40) NOT NULL,
  `capability` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tblstaff_permissions`
--

INSERT INTO `tblstaff_permissions` (`tenant_id`, `staff_id`, `feature`, `capability`) VALUES
(1, 34, 'estimates', 'create'),
(1, 34, 'expenses', 'view_own'),
(1, 34, 'expenses', 'create'),
(1, 34, 'expenses', 'edit'),
(1, 34, 'expenses', 'delete'),
(1, 34, 'invoices', 'view_own'),
(1, 34, 'invoices', 'create'),
(1, 34, 'invoices', 'edit'),
(1, 34, 'invoices', 'delete'),
(1, 34, 'items', 'view'),
(1, 34, 'items', 'create'),
(1, 34, 'items', 'edit'),
(1, 34, 'items', 'delete'),
(1, 22, 'bulk_pdf_exporter', 'view'),
(1, 22, 'contracts', 'view'),
(1, 22, 'contracts', 'create'),
(1, 22, 'contracts', 'edit'),
(1, 22, 'contracts', 'delete'),
(1, 43, 'estimates', 'view_own'),
(1, 43, 'estimates', 'create'),
(1, 43, 'estimates', 'edit'),
(1, 43, 'estimates', 'delete'),
(1, 43, 'invoices', 'view_own'),
(1, 43, 'invoices', 'create'),
(1, 43, 'invoices', 'edit'),
(1, 43, 'invoices', 'delete'),
(1, 43, 'items', 'view'),
(1, 43, 'items', 'create'),
(1, 43, 'items', 'edit'),
(1, 43, 'items', 'delete'),
(1, 44, 'customers', 'view'),
(1, 44, 'customers', 'create'),
(1, 44, 'customers', 'edit'),
(1, 44, 'customers', 'delete'),
(1, 44, 'estimates', 'view'),
(1, 45, 'post_inspections', 'view'),
(1, 45, 'post_inspections', 'create'),
(1, 45, 'post_inspections', 'edit'),
(1, 45, 'post_inspections', 'delete');

-- --------------------------------------------------------

--
-- Table structure for table `tblsubscriptions`
--

CREATE TABLE `tblsubscriptions` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `description` text,
  `description_in_item` tinyint(1) NOT NULL DEFAULT '0',
  `clientid` bigint(20) UNSIGNED NOT NULL,
  `date` date DEFAULT NULL,
  `terms` text,
  `currency` bigint(20) UNSIGNED NOT NULL,
  `tax_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `stripe_tax_id` varchar(50) DEFAULT NULL,
  `stripe_plan_id` text,
  `stripe_subscription_id` text NOT NULL,
  `next_billing_cycle` bigint(20) UNSIGNED DEFAULT NULL,
  `ends_at` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `quantity` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `project_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `hash` varchar(32) NOT NULL,
  `created` datetime NOT NULL,
  `created_from` bigint(20) UNSIGNED NOT NULL,
  `date_subscribed` datetime DEFAULT NULL,
  `in_test_environment` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltaggables`
--

CREATE TABLE `tbltaggables` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(20) NOT NULL,
  `tag_id` bigint(20) UNSIGNED NOT NULL,
  `tag_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltaggables`
--

INSERT INTO `tbltaggables` (`tenant_id`, `rel_id`, `rel_type`, `tag_id`, `tag_order`) VALUES
(1, 4, 'lead', 1, 1);

-- --------------------------------------------------------

--
-- Table structure for table `tbltags`
--

CREATE TABLE `tbltags` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltags`
--

INSERT INTO `tbltags` (`tenant_id`, `id`, `name`) VALUES
(1, 1, 'VeryKeen');

-- --------------------------------------------------------

--
-- Table structure for table `tbltasks`
--

CREATE TABLE `tbltasks` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` mediumtext,
  `description` text,
  `priority` bigint(20) UNSIGNED DEFAULT NULL,
  `dateadded` datetime NOT NULL,
  `startdate` date NOT NULL,
  `duedate` date DEFAULT NULL,
  `datefinished` datetime DEFAULT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL,
  `is_added_from_contact` tinyint(1) NOT NULL DEFAULT '0',
  `status` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `recurring_type` varchar(10) DEFAULT NULL,
  `repeat_every` bigint(20) UNSIGNED DEFAULT NULL,
  `recurring` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `is_recurring_from` bigint(20) UNSIGNED DEFAULT NULL,
  `cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `total_cycles` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `custom_recurring` tinyint(1) NOT NULL DEFAULT '0',
  `last_recurring_date` date DEFAULT NULL,
  `rel_id` bigint(20) UNSIGNED DEFAULT NULL,
  `rel_type` varchar(30) DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT '0',
  `billable` tinyint(1) NOT NULL DEFAULT '0',
  `billed` tinyint(1) NOT NULL DEFAULT '0',
  `invoice_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT '0.00',
  `milestone` bigint(20) UNSIGNED DEFAULT '0',
  `kanban_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `milestone_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `visible_to_client` tinyint(1) NOT NULL DEFAULT '0',
  `deadline_notified` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltasks`
--

INSERT INTO `tbltasks` (`tenant_id`, `id`, `name`, `description`, `priority`, `dateadded`, `startdate`, `duedate`, `datefinished`, `addedfrom`, `is_added_from_contact`, `status`, `recurring_type`, `repeat_every`, `recurring`, `is_recurring_from`, `cycles`, `total_cycles`, `custom_recurring`, `last_recurring_date`, `rel_id`, `rel_type`, `is_public`, `billable`, `billed`, `invoice_id`, `hourly_rate`, `milestone`, `kanban_order`, `milestone_order`, `visible_to_client`, `deadline_notified`) VALUES
(1, 1, 'TEst', '', 2, '2020-06-02 08:36:37', '2020-06-02', NULL, NULL, 1, 0, 4, NULL, 0, 0, NULL, 0, 0, 0, NULL, 84, 'expense', 0, 1, 0, 0, '0.00', 0, 0, 0, 0, 0),
(1, 2, 'Task created to speed up development', '', 2, '2020-06-03 22:28:13', '2020-06-03', '2020-06-30', NULL, 1, 0, 4, NULL, 0, 0, NULL, 0, 0, 0, NULL, 4, 'post_inspection', 0, 1, 0, 0, '0.00', 0, 0, 0, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `tbltaskstimers`
--

CREATE TABLE `tbltaskstimers` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED NOT NULL,
  `start_time` varchar(64) NOT NULL,
  `end_time` varchar(64) DEFAULT NULL,
  `staff_id` bigint(20) UNSIGNED NOT NULL,
  `hourly_rate` decimal(15,2) NOT NULL DEFAULT '0.00',
  `note` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltasks_checklist_templates`
--

CREATE TABLE `tbltasks_checklist_templates` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `description` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltask_assigned`
--

CREATE TABLE `tbltask_assigned` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `taskid` bigint(20) UNSIGNED NOT NULL,
  `assigned_from` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `is_assigned_from_contact` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltask_assigned`
--

INSERT INTO `tbltask_assigned` (`tenant_id`, `id`, `staffid`, `taskid`, `assigned_from`, `is_assigned_from_contact`) VALUES
(1, 1, 1, 1, 1, 0),
(1, 2, 1, 2, 1, 0);

-- --------------------------------------------------------

--
-- Table structure for table `tbltask_checklist_items`
--

CREATE TABLE `tbltask_checklist_items` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `taskid` bigint(20) UNSIGNED NOT NULL,
  `description` text NOT NULL,
  `finished` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `dateadded` datetime NOT NULL,
  `addedfrom` bigint(20) UNSIGNED NOT NULL,
  `finished_from` bigint(20) UNSIGNED DEFAULT '0',
  `list_order` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltask_comments`
--

CREATE TABLE `tbltask_comments` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `content` text NOT NULL,
  `taskid` bigint(20) UNSIGNED NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `contact_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `file_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltask_files`
--

CREATE TABLE `tbltask_files` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED DEFAULT NULL,
  `file_name` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
  `filetype` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  `task_file_type` enum('pre_photos','post_photos') COLLATE utf8_unicode_ci DEFAULT NULL,
  `visible_to_customer` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `attachment_key` varchar(32) COLLATE utf8_unicode_ci DEFAULT NULL,
  `external` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  `external_link` text COLLATE utf8_unicode_ci,
  `thumbnail_link` text COLLATE utf8_unicode_ci COMMENT 'For external usage',
  `original_file_name` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tbltask_files`
--

INSERT INTO `tbltask_files` (`id`, `task_id`, `file_name`, `filetype`, `task_file_type`, `visible_to_customer`, `attachment_key`, `external`, `external_link`, `thumbnail_link`, `original_file_name`, `dateadded`) VALUES
(2, 3, '5ec74efb3f1cb.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-05-22 09:36:18'),
(3, 10, '5eccdf68497b3.jpg', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'IMG_20200526_145038568.jpg', '2020-05-27 00:11:14'),
(4, 11, '5ec74efb3f1cb.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-05-27 00:11:14'),
(5, 11, '5eccdf68497b3.jpg', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'IMG_20200526_145038568.jpg', '2020-05-27 00:11:14'),
(6, 12, '5ec74efb3f1cb.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-05-27 00:11:14'),
(7, 12, '5eccdf68497b3.jpg', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'IMG_20200526_145038568.jpg', '2020-05-27 00:11:14'),
(9, 7, '5ecd63f875ccd.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-05-27 00:16:16'),
(10, 8, '5ecd6406eb48b.png', 'image/png', 'post_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-05-27 00:16:30'),
(11, 8, '5ecd64080119c.png', 'image/png', 'post_photos', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-05-27 00:16:32'),
(12, 9, '5ecd641447683.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-05-27 00:16:44'),
(13, 9, '5ecd641f91ad9.png', 'image/png', 'post_photos', 0, NULL, NULL, NULL, NULL, 'sample_tags.png', '2020-05-27 00:16:55'),
(14, 13, '5ed87b25325b4.png', 'image/png', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'client.png', '2020-06-04 10:17:26'),
(15, 13, '5ed87d78e8dcc.pdf', 'application/pdf', 'pre_photos', 0, NULL, NULL, NULL, NULL, 'PI-00001.pdf', '2020-06-04 10:20:00'),
(16, 11, '5ed9316b6f530.png', 'image/png', 'post_photos', 0, NULL, NULL, NULL, NULL, 'plus.png', '2020-06-04 23:09:07'),
(17, 15, '5ed9f072dcd9f.png', 'image/png', 'post_photos', 0, NULL, NULL, NULL, NULL, 'plus.png', '2020-06-05 12:42:50');

-- --------------------------------------------------------

--
-- Table structure for table `tbltask_followers`
--

CREATE TABLE `tbltask_followers` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `taskid` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltaxes`
--

CREATE TABLE `tbltaxes` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(100) NOT NULL,
  `taxrate` decimal(15,2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltaxes`
--

INSERT INTO `tbltaxes` (`tenant_id`, `id`, `name`, `taxrate`) VALUES
(1, 1, 'CGST', '9.00'),
(1, 2, 'SGST', '9.00'),
(1, 3, 'IGST', '18.00'),
(1, 6, 'Test', '50.00'),
(1, 18, 'a', '1.00'),
(1, 19, 'b', '2.00'),
(1, 20, 'c', '3.00'),
(1, 21, 'ddd', '3.00'),
(1, 22, '30%', '30.00');

-- --------------------------------------------------------

--
-- Table structure for table `tbltemp_files`
--

CREATE TABLE `tbltemp_files` (
  `id` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
  `file_name` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
  `filetype` varchar(40) COLLATE utf8_unicode_ci DEFAULT NULL,
  `image_for` varchar(191) COLLATE utf8_unicode_ci NOT NULL,
  `task_file_type` enum('pre_photos','post_photos') COLLATE utf8_unicode_ci DEFAULT NULL,
  `original_file_name` varchar(191) COLLATE utf8_unicode_ci DEFAULT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tbltemp_files`
--

INSERT INTO `tbltemp_files` (`id`, `file_name`, `filetype`, `image_for`, `task_file_type`, `original_file_name`, `dateadded`) VALUES
('1', '5ec74efb3f1cb.png', 'image/png', 'area_tasks', 'pre_photos', 'client.png', '2020-05-22 09:33:07'),
('10', '5ecd03c22be39.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_172545426.jpg', '2020-05-26 17:25:46'),
('11', '5ecd04aed2ab3.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_152700987.jpg', '2020-05-26 17:29:42'),
('12', '5ecd04d506d2f.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_152653760.jpg', '2020-05-26 17:30:21'),
('13', '5ecd0561d2740.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG-20200521-WA0004.jpg', '2020-05-26 17:32:41'),
('14', '5ecd112b3b6cc.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_172545426.jpg', '2020-05-26 18:22:59'),
('15', '5ed0ec0acb5bc.png', 'image/png', 'post_inspections', 'pre_photos', 'client.png', '2020-05-29 16:33:38'),
('16', '5ed103296e60b.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200529_181215333.jpg', '2020-05-29 18:12:17'),
('17', '5ed10339d9094.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200526_152230633.jpg', '2020-05-29 18:12:33'),
('18', '5ed10353cc18a.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200529_181258054.jpg', '2020-05-29 18:12:59'),
('19', '5ed1036f106b5.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200529_181324755.jpg', '2020-05-29 18:13:27'),
('2', '5eccdf68497b3.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_145038568.jpg', '2020-05-26 14:50:40'),
('20', '5ed1037f3a1ed.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200529_181341231.jpg', '2020-05-29 18:13:43'),
('22', '5ed10a61e69be.png', 'image/png', 'notes', NULL, 'sample_tags.png', '2020-05-29 18:43:05'),
('23', '5ed4e0793c6ba.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200601_163317632.jpg', '2020-06-01 16:33:21'),
('24', '5ed4e1296b9cd.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:36:17'),
('25', '5ed4e12e0a8c8.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:36:22'),
('26', '5ed4e238de434.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:40:48'),
('27', '5ed4e23a969bd.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:40:50'),
('28', '5ed4e23b2d096.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:40:51'),
('29', '5ed4e23bf2e27.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:40:51'),
('3', '5eccdf70130fc.jpg', 'image/png', 'area_tasks', 'post_photos', 'IMG_20200526_145046365.jpg', '2020-05-26 14:50:48'),
('30', '5ed4e25641005.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:41:18'),
('31', '5ed4e2568f7fb.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:41:18'),
('32', '5ed4e2575a7d3.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:41:19'),
('33', '5ed4e257c7b97.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:41:19'),
('34', '5ed4e45d86f97.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:49:57'),
('35', '5ed4e45dbeed6.', 'image/jpeg', 'notes', NULL, 'file', '2020-06-01 16:49:57'),
('36', '5ed4e6708e6fe.', 'image/jpeg', 'notes', NULL, 'photo', '2020-06-01 16:58:48'),
('37', '5ed4e670bcc0a.', 'image/jpeg', 'notes', NULL, 'photo', '2020-06-01 16:58:48'),
('38', '5ed4e670c48cd.', 'image/jpeg', 'notes', NULL, 'photo', '2020-06-01 16:58:48'),
('39', '5ed4e9b518b7d.mp4', 'video/mp4', 'notes', NULL, '1591011763.2705.mp4', '2020-06-01 17:12:45'),
('4', '5ecce57e5ea6e.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_151636133.jpg', '2020-05-26 15:16:38'),
('40', '5ed50cae96d63.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-01 19:41:58'),
('41', '5ed5108e8a163.png', 'image/png', 'notes', NULL, 'sample_tags.png', '2020-06-01 19:58:30'),
('42', '5ed511677a54f.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-01 20:02:07'),
('43', '5ed51630b4459.png', 'image/png', 'notes', NULL, 'sample_tags.png', '2020-06-01 20:22:32'),
('44', '5ed517a9e1dec.jpeg', 'image/jpeg', 'notes', NULL, '1591023528.654382.jpeg', '2020-06-01 20:28:49'),
('45', '5ed518779bed8.jpeg', 'image/jpeg', 'notes', NULL, '1591023734.3198562.jpeg', '2020-06-01 20:32:15'),
('46', '5ed51877da73c.jpeg', 'image/jpeg', 'notes', NULL, '1591023734.390881.jpeg', '2020-06-01 20:32:15'),
('47', '5ed5194f85286.jpeg', 'image/jpeg', 'notes', NULL, '1591023949.70082.jpeg', '2020-06-01 20:35:51'),
('48', '5ed5194f8b19a.jpeg', 'image/jpeg', 'notes', NULL, '1591023949.7864609.jpeg', '2020-06-01 20:35:51'),
('49', '5ed51950170da.mp4', 'video/mp4', 'notes', NULL, '1591023949.786954.mp4', '2020-06-01 20:35:52'),
('5', '5ecce5c8688bb.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_151750209.jpg', '2020-05-26 15:17:52'),
('50', '5ed5214d712c3.jpeg', 'image/jpeg', 'notes', NULL, '1591025996.506054.jpeg', '2020-06-01 21:09:57'),
('51', '5ed521c4a9ad9.jpeg', 'image/jpeg', 'notes', NULL, '1591026115.082053.jpeg', '2020-06-01 21:11:56'),
('52', '5ed521c4d490e.jpeg', 'image/jpeg', 'notes', NULL, '1591026115.234024.jpeg', '2020-06-01 21:11:56'),
('53', '5ed521c4dabba.jpeg', 'image/jpeg', 'notes', NULL, '1591026115.152189.jpeg', '2020-06-01 21:11:56'),
('54', '5ed521fdcf869.jpeg', 'image/jpeg', 'notes', NULL, '1591026173.464754.jpeg', '2020-06-01 21:12:53'),
('55', '5ed521fe013e1.jpeg', 'image/jpeg', 'notes', NULL, '1591026173.530894.jpeg', '2020-06-01 21:12:54'),
('56', '5ed521fe1055e.jpeg', 'image/jpeg', 'notes', NULL, '1591026173.609779.jpeg', '2020-06-01 21:12:54'),
('57', '5ed521fe6c637.mp4', 'video/mp4', 'notes', NULL, '1591026173.6102982.mp4', '2020-06-01 21:12:54'),
('58', '5ed52250f2c17.png', 'image/png', 'notes', NULL, 'Screenshot from 2019-06-27 12-58-10.png', '2020-06-01 21:14:16'),
('59', '5ed52378d6065.jpeg', 'image/jpeg', 'notes', NULL, '1591026551.426738.jpeg', '2020-06-01 21:19:12'),
('5ed62ffc4ffb9', '5ed62ffc4f939.png', 'image/png', 'notes', NULL, 'Screenshot from 2019-06-27 12-58-10.png', '2020-06-02 16:24:52'),
('5ed637ddc3680', '5ed637ddc35a5.jpeg', 'image/jpeg', 'notes', NULL, '1591097305.401046.jpeg', '2020-06-02 16:58:29'),
('5ed637dfed576', '5ed637dfed3cf.jpeg', 'image/jpeg', 'notes', NULL, '1591097305.4851542.jpeg', '2020-06-02 16:58:31'),
('5ed6380037de5', '5ed6380037d0c.jpeg', 'image/jpeg', 'notes', NULL, '1591097343.619255.jpeg', '2020-06-02 16:59:04'),
('5ed638006deed', '5ed638006de2a.jpeg', 'image/jpeg', 'notes', NULL, '1591097343.8591309.jpeg', '2020-06-02 16:59:04'),
('5ed63800b32e8', '5ed63800b316c.jpeg', 'image/jpeg', 'notes', NULL, '1591097343.700052.jpeg', '2020-06-02 16:59:04'),
('5ed63800d7972', '5ed63800d7810.jpeg', 'image/jpeg', 'notes', NULL, '1591097343.904362.jpeg', '2020-06-02 16:59:04'),
('5ed660b9a1a3a', '5ed660b9a192b.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200602_195244507.jpg', '2020-06-02 19:52:49'),
('5ed6621f69805', '5ed6621f6970b.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200602_195841988.jpg', '2020-06-02 19:58:47'),
('5ed66b4f76f91', '5ed66b4f76ea6.jpeg', 'image/jpeg', 'notes', NULL, '1591110472.74264.jpeg', '2020-06-02 20:37:59'),
('5ed66b7ba2677', '5ed66b7ba245d.jpeg', 'image/jpeg', 'notes', NULL, '1591110472.86615.jpeg', '2020-06-02 20:38:43'),
('5ed66b85cb042', '5ed66b85caece.jpeg', 'image/jpeg', 'notes', NULL, '1591110517.580723.jpeg', '2020-06-02 20:38:53'),
('5ed66b8d9f12a', '5ed66b8d9ef43.jpeg', 'image/jpeg', 'notes', NULL, '1591110517.684109.jpeg', '2020-06-02 20:39:01'),
('5ed66c557cbc2', '5ed66c557cae8.jpeg', 'image/jpeg', 'notes', NULL, '1591110739.698468.jpeg', '2020-06-02 20:42:21'),
('5ed66c5613510', '5ed66c56133a2.jpeg', 'image/jpeg', 'notes', NULL, '1591110739.785314.jpeg', '2020-06-02 20:42:22'),
('5ed66c56b865d', '5ed66c56b8458.jpeg', 'image/jpeg', 'notes', NULL, '1591110739.890163.jpeg', '2020-06-02 20:42:22'),
('5ed66d168d904', '5ed66d168d82b.jpeg', 'image/jpeg', 'notes', NULL, '1591110913.769092.jpeg', '2020-06-02 20:45:34'),
('5ed66d316131f', '5ed66d31611a8.jpeg', 'image/jpeg', 'notes', NULL, '1591110913.8546581.jpeg', '2020-06-02 20:46:01'),
('5ed66d331c821', '5ed66d331c749.jpeg', 'image/jpeg', 'notes', NULL, '1591110936.288128.jpeg', '2020-06-02 20:46:03'),
('5ed66d35d6611', '5ed66d35d6492.jpeg', 'image/jpeg', 'notes', NULL, '1591110936.360322.jpeg', '2020-06-02 20:46:05'),
('5ed66d35dcd04', '5ed66d35dcaf2.jpeg', 'image/jpeg', 'notes', NULL, '1591110913.9581242.jpeg', '2020-06-02 20:46:05'),
('5ed66d35e9d31', '5ed66d35e9b54.jpeg', 'image/jpeg', 'notes', NULL, '1591110936.4619231.jpeg', '2020-06-02 20:46:05'),
('5ed66df17d69c', '5ed66df17d5c1.jpeg', 'image/jpeg', 'notes', NULL, '1591111151.751786.jpeg', '2020-06-02 20:49:13'),
('5ed66df2184cc', '5ed66df218360.jpeg', 'image/jpeg', 'notes', NULL, '1591111151.838058.jpeg', '2020-06-02 20:49:14'),
('5ed66df2a1818', '5ed66df2a162f.jpeg', 'image/jpeg', 'notes', NULL, '1591111151.941729.jpeg', '2020-06-02 20:49:14'),
('5ed66df2d6c77', '5ed66df2d6a52.jpeg', 'image/jpeg', 'notes', NULL, '1591111152.053626.jpeg', '2020-06-02 20:49:14'),
('5ed66f66e4c69', '5ed66f66e4b8e.jpeg', 'image/jpeg', 'notes', NULL, '1591111525.184054.jpeg', '2020-06-02 20:55:26'),
('5ed66f6737e92', '5ed66f6737d26.jpeg', 'image/jpeg', 'notes', NULL, '1591111525.2717938.jpeg', '2020-06-02 20:55:27'),
('5ed66f678776a', '5ed66f6787585.jpeg', 'image/jpeg', 'notes', NULL, '1591111525.375795.jpeg', '2020-06-02 20:55:27'),
('5ed6707f3ce63', '5ed6707f3cd7b.jpeg', 'image/jpeg', 'notes', NULL, '1591111805.729631.jpeg', '2020-06-02 21:00:07'),
('5ed6707f881f2', '5ed6707f8807b.jpeg', 'image/jpeg', 'notes', NULL, '1591111805.817258.jpeg', '2020-06-02 21:00:07'),
('5ed6707fd387c', '5ed6707fd369a.jpeg', 'image/jpeg', 'notes', NULL, '1591111805.925057.jpeg', '2020-06-02 21:00:07'),
('5ed670b343b43', '5ed670b343aa6.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-02 21:00:59'),
('5ed670b717b94', '5ed670b717ae6.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-02 21:01:03'),
('5ed672306f7cd', '5ed672306f6f1.jpeg', 'image/jpeg', 'notes', NULL, '1591112238.7099671.jpeg', '2020-06-02 21:07:20'),
('5ed672320241c', '5ed67232022b4.jpeg', 'image/jpeg', 'notes', NULL, '1591112238.79126.jpeg', '2020-06-02 21:07:22'),
('5ed6723380b3a', '5ed6723380935.jpeg', 'image/jpeg', 'notes', NULL, '1591112238.902906.jpeg', '2020-06-02 21:07:23'),
('5ed67257ba730', '5ed67257ba68c.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-02 21:07:59'),
('5ed6728c8e681', '5ed6728c8e58b.pdf', 'application/pdf', 'notes', NULL, 'PI-00001.pdf', '2020-06-02 21:08:52'),
('5ed672c6f1938', '5ed672c6f1863.pdf', 'application/pdf', 'notes', NULL, 'PI-00001.pdf', '2020-06-02 21:09:50'),
('5ed67358838c9', '5ed67358837f4.jpeg', 'image/jpeg', 'notes', NULL, '1591112535.311908.jpeg', '2020-06-02 21:12:16'),
('5ed67358ca8e8', '5ed67358ca780.jpeg', 'image/jpeg', 'notes', NULL, '1591112535.39819.jpeg', '2020-06-02 21:12:16'),
('5ed6735915c57', '5ed6735915a61.jpeg', 'image/jpeg', 'notes', NULL, '1591112535.502327.jpeg', '2020-06-02 21:12:17'),
('5ed6737f1b714', '5ed6737f1b677.png', 'image/png', 'notes', NULL, 'CP-logo.png', '2020-06-02 21:12:55'),
('5ed673f42d70f', '5ed673f42d634.jpeg', 'image/jpeg', 'notes', NULL, '1591112690.832701.jpeg', '2020-06-02 21:14:52'),
('5ed673f46a57d', '5ed673f46a4a8.pdf', 'application/pdf', 'notes', NULL, 'PI-00001.pdf', '2020-06-02 21:14:52'),
('5ed673f46ca8e', '5ed673f46c8a5.jpeg', 'image/jpeg', 'notes', NULL, '1591112690.918041.jpeg', '2020-06-02 21:14:52'),
('5ed673f4a58b3', '5ed673f4a56ca.jpeg', 'image/jpeg', 'notes', NULL, '1591112691.02744.jpeg', '2020-06-02 21:14:52'),
('5ed674560c787', '5ed674560c6ac.jpeg', 'image/jpeg', 'notes', NULL, '1591112788.0897741.jpeg', '2020-06-02 21:16:30'),
('5ed674595d0be', '5ed674595cf3e.jpeg', 'image/jpeg', 'notes', NULL, '1591112788.1694741.jpeg', '2020-06-02 21:16:33'),
('5ed6745963c2a', '5ed6745963a13.jpeg', 'image/jpeg', 'notes', NULL, '1591112788.276278.jpeg', '2020-06-02 21:16:33'),
('5ed67472f3ce1', '5ed67472f3c23.png', 'image/png', 'post_inspections', 'pre_photos', 'client.png', '2020-06-02 21:16:58'),
('5ed6750157962', '5ed6750157885.jpeg', 'image/jpeg', 'notes', NULL, '1591112956.033256.jpeg', '2020-06-02 21:19:21'),
('5ed675096acd8', '5ed675096ab4d.jpeg', 'image/jpeg', 'notes', NULL, '1591112956.105455.jpeg', '2020-06-02 21:19:29'),
('5ed67519e1cd2', '5ed67519e1c18.png', 'image/png', 'post_inspections', 'pre_photos', 'client.png', '2020-06-02 21:19:45'),
('5ed675278362f', '5ed6752783357.jpeg', 'image/jpeg', 'notes', NULL, '1591112956.209725.jpeg', '2020-06-02 21:19:59'),
('5ed675373a00d', '5ed6753739f2f.jpeg', 'image/jpeg', 'notes', NULL, '1591113013.803164.jpeg', '2020-06-02 21:20:15'),
('5ed6753c33ec4', '5ed6753c33d49.jpeg', 'image/jpeg', 'notes', NULL, '1591113013.881088.jpeg', '2020-06-02 21:20:20'),
('5ed6753f520f4', '5ed6753f51ea8.jpeg', 'image/jpeg', 'notes', NULL, '1591113013.9934459.jpeg', '2020-06-02 21:20:23'),
('5ed675c14e0e9', '5ed675c14e00d.jpeg', 'image/jpeg', 'notes', NULL, '1591113151.194525.jpeg', '2020-06-02 21:22:33'),
('5ed675c469787', '5ed675c469600.jpeg', 'image/jpeg', 'notes', NULL, '1591113151.280302.jpeg', '2020-06-02 21:22:36'),
('5ed675c692e67', '5ed675c692c4e.jpeg', 'image/jpeg', 'notes', NULL, '1591113151.38341.jpeg', '2020-06-02 21:22:38'),
('5ed675e06364e', '5ed675e062ccb.mp4', 'video/mp4', 'notes', NULL, '1591113151.384115.mp4', '2020-06-02 21:23:04'),
('5ed676206b3c1', '5ed676206b2df.jpeg', 'image/jpeg', 'notes', NULL, '1591113247.120213.jpeg', '2020-06-02 21:24:08'),
('5ed676226413c', '5ed6762263fb8.jpeg', 'image/jpeg', 'notes', NULL, '1591113247.192635.jpeg', '2020-06-02 21:24:10'),
('5ed676246b28b', '5ed676246b07d.jpeg', 'image/jpeg', 'notes', NULL, '1591113247.299183.jpeg', '2020-06-02 21:24:12'),
('5ed676ad7840f', '5ed676ad7832e.jpeg', 'image/jpeg', 'notes', NULL, '1591113367.964099.jpeg', '2020-06-02 21:26:29'),
('5ed676b42e6ed', '5ed676b42e571.jpeg', 'image/jpeg', 'notes', NULL, '1591113368.04734.jpeg', '2020-06-02 21:26:36'),
('5ed676b8b0985', '5ed676b8b0797.jpeg', 'image/jpeg', 'notes', NULL, '1591113368.15007.jpeg', '2020-06-02 21:26:40'),
('5ed67e08b2079', '5ed67e08b1f95.jpeg', 'image/jpeg', 'notes', NULL, '1591115270.889965.jpeg', '2020-06-02 21:57:52'),
('5ed67e09073b5', '5ed67e0907246.jpeg', 'image/jpeg', 'notes', NULL, '1591115270.97617.jpeg', '2020-06-02 21:57:53'),
('5ed67e0954803', '5ed67e0954624.jpeg', 'image/jpeg', 'notes', NULL, '1591115271.081682.jpeg', '2020-06-02 21:57:53'),
('5ed67f2784602', '5ed67f2784529.jpeg', 'image/jpeg', 'notes', NULL, '1591115558.200743.jpeg', '2020-06-02 22:02:39'),
('5ed67f27d3435', '5ed67f27d32c2.jpeg', 'image/jpeg', 'notes', NULL, '1591115558.299944.jpeg', '2020-06-02 22:02:39'),
('5ed67f2847c11', '5ed67f2847a26.jpeg', 'image/jpeg', 'notes', NULL, '1591115558.407918.jpeg', '2020-06-02 22:02:40'),
('5ed67f9d8a73e', '5ed67f9d8a642.jpeg', 'image/jpeg', 'notes', NULL, '1591115676.058434.jpeg', '2020-06-02 22:04:37'),
('5ed67f9feae41', '5ed67f9feacc9.jpeg', 'image/jpeg', 'notes', NULL, '1591115676.14005.jpeg', '2020-06-02 22:04:39'),
('5ed67fa0cbeed', '5ed67fa0cbd0c.jpeg', 'image/jpeg', 'notes', NULL, '1591115676.243806.jpeg', '2020-06-02 22:04:40'),
('5ed682546da74', '5ed682546d997.jpeg', 'image/jpeg', 'notes', NULL, '1591116371.025331.jpeg', '2020-06-02 22:16:12'),
('5ed68254abf5a', '5ed68254abdc6.jpeg', 'image/jpeg', 'notes', NULL, '1591116371.1180081.jpeg', '2020-06-02 22:16:12'),
('5ed68254e7484', '5ed68254e72a2.jpeg', 'image/jpeg', 'notes', NULL, '1591116371.2250519.jpeg', '2020-06-02 22:16:12'),
('5ed682de2637a', '5ed682de262a2.jpeg', 'image/jpeg', 'notes', NULL, '1591116508.700541.jpeg', '2020-06-02 22:18:30'),
('5ed682de800b5', '5ed682de7ff36.jpeg', 'image/jpeg', 'notes', NULL, '1591116508.781824.jpeg', '2020-06-02 22:18:30'),
('5ed682dec69be', '5ed682dec679f.jpeg', 'image/jpeg', 'notes', NULL, '1591116508.886166.jpeg', '2020-06-02 22:18:30'),
('5ed687f3798cb', '5ed687f3797ef.jpeg', 'image/jpeg', 'notes', NULL, '1591117808.9694629.jpeg', '2020-06-02 22:40:11'),
('5ed687f65bd1a', '5ed687f65bba1.jpeg', 'image/jpeg', 'notes', NULL, '1591117809.051929.jpeg', '2020-06-02 22:40:14'),
('5ed687f7c6188', '5ed687f7c5fb5.jpeg', 'image/jpeg', 'notes', NULL, '1591117809.1576061.jpeg', '2020-06-02 22:40:15'),
('5ed691d8622c6', '5ed691d8621dc.jpeg', 'image/jpeg', 'notes', NULL, '1591120342.885205.jpeg', '2020-06-02 23:22:24'),
('5ed691d97dbf0', '5ed691d97da80.jpeg', 'image/jpeg', 'notes', NULL, '1591120342.981168.jpeg', '2020-06-02 23:22:25'),
('5ed691da21482', '5ed691da21290.jpeg', 'image/jpeg', 'notes', NULL, '1591120343.104732.jpeg', '2020-06-02 23:22:26'),
('5ed79bfa82ae5', '5ed79bfa82682.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 18:17:54'),
('5ed79d3037f38', '5ed79d3037ae5.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 18:23:04'),
('5ed7ad66d3c7b', '5ed7ad66d3b35.jpeg', 'image/jpeg', 'notes', NULL, '1591192932.7030191.jpeg', '2020-06-03 19:32:14'),
('5ed7ad66d9e2f', '5ed7ad66d9cb3.jpeg', 'image/jpeg', 'notes', NULL, '1591192932.567047.jpeg', '2020-06-03 19:32:14'),
('5ed7ad66e04b8', '5ed7ad66e02d2.jpeg', 'image/jpeg', 'notes', NULL, '1591192932.4834008.jpeg', '2020-06-03 19:32:14'),
('5ed7ad66e5eaa', '5ed7ad66e5d1b.jpeg', 'image/jpeg', 'notes', NULL, '1591192932.637414.jpeg', '2020-06-03 19:32:14'),
('5ed7ad66ec549', '5ed7ad66ec349.jpeg', 'image/jpeg', 'notes', NULL, '1591192932.376593.jpeg', '2020-06-03 19:32:14'),
('5ed7af2bea745', '5ed7af2bea680.jpeg', 'image/jpeg', 'notes', NULL, '1591193386.496718.jpeg', '2020-06-03 19:39:47'),
('5ed7af2c42ca6', '5ed7af2c42ac3.jpeg', 'image/jpeg', 'notes', NULL, '1591193386.113698.jpeg', '2020-06-03 19:39:48'),
('5ed7af2c9b86c', '5ed7af2c9b6d3.jpeg', 'image/jpeg', 'notes', NULL, '1591193386.5671802.jpeg', '2020-06-03 19:39:48'),
('5ed7af2ca1d33', '5ed7af2ca1b57.jpeg', 'image/jpeg', 'notes', NULL, '1591193386.227452.jpeg', '2020-06-03 19:39:48'),
('5ed7af2ca80ba', '5ed7af2ca7eb3.jpeg', 'image/jpeg', 'notes', NULL, '1591193386.337553.jpeg', '2020-06-03 19:39:48'),
('5ed7b050b95df', '5ed7b050b9470.jpeg', 'image/jpeg', 'notes', NULL, '1591193678.8542829.jpeg', '2020-06-03 19:44:40'),
('5ed7b0ef16b00', '5ed7b0ef16990.jpeg', 'image/jpeg', 'notes', NULL, '1591193829.2368932.jpeg', '2020-06-03 19:47:19'),
('5ed7b0f6e77ab', '5ed7b0f6e75bd.jpeg', 'image/jpeg', 'notes', NULL, '1591193829.3414469.jpeg', '2020-06-03 19:47:26'),
('5ed7b1643cc97', '5ed7b1643cb18.jpeg', 'image/jpeg', 'notes', NULL, '1591193949.978098.jpeg', '2020-06-03 19:49:16'),
('5ed7b1f1c86b0', '5ed7b1f1c8540.jpeg', 'image/jpeg', 'notes', NULL, '1591194096.310985.jpeg', '2020-06-03 19:51:37'),
('5ed7b26691678', '5ed7b26691502.jpeg', 'image/jpeg', 'notes', NULL, '1591194188.7746968.jpeg', '2020-06-03 19:53:34'),
('5ed7b33b2fcf1', '5ed7b33b2fb82.jpeg', 'image/jpeg', 'notes', NULL, '1591194425.571576.jpeg', '2020-06-03 19:57:07'),
('5ed7b3665a955', '5ed7b3665a7d8.jpeg', 'image/jpeg', 'notes', NULL, '1591194468.8067741.jpeg', '2020-06-03 19:57:50'),
('5ed7b3e216b36', '5ed7b3e2169b5.jpeg', 'image/jpeg', 'notes', NULL, '1591194592.1129441.jpeg', '2020-06-03 19:59:54'),
('5ed7b408ba50b', '5ed7b408ba447.jpeg', 'image/jpeg', 'notes', NULL, '1591194630.5060248.jpeg', '2020-06-03 20:00:32'),
('5ed7b40b90157', '5ed7b40b90003.jpeg', 'image/jpeg', 'notes', NULL, '1591194630.6438851.jpeg', '2020-06-03 20:00:35'),
('5ed7b40c2c8fd', '5ed7b40c2c720.jpeg', 'image/jpeg', 'notes', NULL, '1591194630.235229.jpeg', '2020-06-03 20:00:36'),
('5ed7b40c6c848', '5ed7b40c6c6b6.jpeg', 'image/jpeg', 'notes', NULL, '1591194630.576889.jpeg', '2020-06-03 20:00:36'),
('5ed7b40ca0c9f', '5ed7b40ca0a7f.jpeg', 'image/jpeg', 'notes', NULL, '1591194630.347221.jpeg', '2020-06-03 20:00:36'),
('5ed7b4424e516', '5ed7b4424e3b7.jpeg', 'image/jpeg', 'notes', NULL, '1591194689.462703.jpeg', '2020-06-03 20:01:30'),
('5ed7b44289a8d', '5ed7b4428992e.jpeg', 'image/jpeg', 'notes', NULL, '1591194689.542397.jpeg', '2020-06-03 20:01:30'),
('5ed7b4428fe8e', '5ed7b4428fd20.jpeg', 'image/jpeg', 'notes', NULL, '1591194689.5944939.jpeg', '2020-06-03 20:01:30'),
('5ed7b53ac8cbd', '5ed7b53ac8b4b.jpeg', 'image/jpeg', 'notes', NULL, '1591194936.336293.jpeg', '2020-06-03 20:05:38'),
('5ed7b53be3a66', '5ed7b53be3881.jpeg', 'image/jpeg', 'notes', NULL, '1591194936.4418988.jpeg', '2020-06-03 20:05:39'),
('5ed7b53bea21f', '5ed7b53be9ff8.jpeg', 'image/jpeg', 'notes', NULL, '1591194936.5524.jpeg', '2020-06-03 20:05:39'),
('5ed7ba726fdb7', '5ed7ba726fc2d.jpeg', 'image/jpeg', 'notes', NULL, '1591196271.998627.jpeg', '2020-06-03 20:27:54'),
('5ed7ba72af9fd', '5ed7ba72af817.jpeg', 'image/jpeg', 'notes', NULL, '1591196272.100373.jpeg', '2020-06-03 20:27:54'),
('5ed7ba72b60ce', '5ed7ba72b5ec1.jpeg', 'image/jpeg', 'notes', NULL, '1591196272.207591.jpeg', '2020-06-03 20:27:54'),
('5ed7ba9e35058', '5ed7ba9e34bff.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:28:38'),
('5ed7baf7c0e07', '5ed7baf7c09ce.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:30:07'),
('5ed7bb207e59d', '5ed7bb207e4b0.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:30:48'),
('5ed7bb47c7f26', '5ed7bb47c7e3f.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:31:27'),
('5ed7bc2381820', '5ed7bc2381695.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:35:07'),
('5ed7bc2f22f7e', '5ed7bc2f22e9c.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:35:19'),
('5ed7bc3014f65', '5ed7bc3014b0a.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:35:20'),
('5ed7bc47cbb5b', '5ed7bc47cb6c7.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:35:43'),
('5ed7bcc99cdce', '5ed7bcc99c94f.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:37:53'),
('5ed7bfc43ca26', '5ed7bfc43c5be.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:50:36'),
('5ed7bff67ea84', '5ed7bff67e99e.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:51:26'),
('5ed7c04f2a259', '5ed7c04f2a176.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 20:52:55'),
('5ed7c0964d176', '5ed7c0964cd0e.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:54:06'),
('5ed7c09c49df4', '5ed7c09c49862.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0004.mp4', '2020-06-03 20:54:12'),
('5ed7c152ec283', '5ed7c152ebe16.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 20:57:14'),
('5ed7c1c158ca8', '5ed7c1c158726.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0004.mp4', '2020-06-03 20:59:05'),
('5ed7c27d2c9f1', '5ed7c27d2bcd0.mp4', 'image/png', 'notes', NULL, 'VID-20200531-WA0006.mp4', '2020-06-03 21:02:13'),
('5ed7c86174586', '5ed7c861744a1.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 21:27:21'),
('5ed7c8632f19f', '5ed7c8632ed44.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 21:27:23'),
('5ed7c8e33866a', '5ed7c8e338587.mp4', 'image/png', 'notes', NULL, 'VID-20200602-WA0007.mp4', '2020-06-03 21:29:31'),
('5ed7c8e3a37aa', '5ed7c8e3a3352.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 21:29:31'),
('5ed7d58fec05c', '5ed7d58febbd1.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 22:23:35'),
('5ed7d5bb739fd', '5ed7d5bb7325d.mp4', 'image/png', 'notes', NULL, 'VID-20200601-WA0012.mp4', '2020-06-03 22:24:19'),
('5ed7d5bd16eba', '5ed7d5bd1629c.mp4', 'image/png', 'notes', NULL, 'VID-20200531-WA0006.mp4', '2020-06-03 22:24:21'),
('5ed7dc7e56afd', '5ed7dc7e566c2.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 22:53:10'),
('5ed7dcb48f573', '5ed7dcb48f14a.mp4', 'image/png', 'notes', NULL, 'VID-20200603-WA0000.mp4', '2020-06-03 22:54:04'),
('5ed8012ff2742', '5ed8012ff1f43.jpeg', 'image/png', 'notes', NULL, 'IMG-20200601-WA0004.jpeg', '2020-06-04 01:29:43'),
('5ed899242ab08', '5ed899242aa0f.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_121800842.jpg', '2020-06-04 12:18:04'),
('5ed8992a60d94', '5ed8992a60c85.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_121807555.jpg', '2020-06-04 12:18:10'),
('5ed8994d13a16', '5ed8994d13902.jpg', 'image/png', 'notes', NULL, 'IMG-20200604-WA0010.jpg', '2020-06-04 12:18:45'),
('5ed8994dc2936', '5ed8994dc2823.jpg', 'image/png', 'notes', NULL, 'IMG-20200604-WA0009.jpg', '2020-06-04 12:18:45'),
('5ed8994dcb440', '5ed8994dcb370.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_014812400.jpg', '2020-06-04 12:18:45'),
('5ed8994e28919', '5ed8994e28833.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_014345223.jpg', '2020-06-04 12:18:46'),
('5ed8996b76b11', '5ed8996b76a2b.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_121912849.jpg', '2020-06-04 12:19:15'),
('5ed8997fc2660', '5ed8997fc2543.jpg', 'image/png', 'notes', NULL, 'IMG-20200604-WA0010.jpg', '2020-06-04 12:19:35'),
('5ed8997fc2984', '5ed8997fc2781.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_014812400.jpg', '2020-06-04 12:19:35'),
('5ed899802abeb', '5ed899802aada.jpg', 'image/png', 'notes', NULL, 'IMG-20200604-WA0009.jpg', '2020-06-04 12:19:36'),
('5ed89980411e6', '5ed8998041116.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_014510009.jpg', '2020-06-04 12:19:36'),
('5ed899805149c', '5ed8998051391.jpg', 'image/png', 'notes', NULL, 'IMG_20200604_014345223.jpg', '2020-06-04 12:19:36'),
('5ed8998228d90', '5ed8998228a67.jpg', 'image/png', 'notes', NULL, 'Screenshot_20200604-000833.jpg', '2020-06-04 12:19:38'),
('5ed90e717886d', '5ed90e7178784.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_203830338.jpg', '2020-06-04 20:38:33'),
('5ed90e86a5d64', '5ed90e86a5c7c.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_203852031.jpg', '2020-06-04 20:38:54'),
('5ed90e8d43dea', '5ed90e8d43cf9.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_203858651.jpg', '2020-06-04 20:39:01'),
('5ed90e96180a7', '5ed90e9617fb9.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_203907476.jpg', '2020-06-04 20:39:10'),
('5ed90e9c2519f', '5ed90e9c250bc.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_203913519.jpg', '2020-06-04 20:39:16'),
('5ed90ea471178', '5ed90ea471084.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_203921835.jpg', '2020-06-04 20:39:24'),
('5ed90efe748fe', '5ed90efe7480b.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_204050835.jpg', '2020-06-04 20:40:54'),
('5ed90f04981c4', '5ed90f04980ed.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_204058229.jpg', '2020-06-04 20:41:00'),
('5ed90f0a42806', '5ed90f0a42733.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204103852.jpg', '2020-06-04 20:41:06'),
('5ed90f1a8a204', '5ed90f1a8a112.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204119953.jpg', '2020-06-04 20:41:22'),
('5ed90f20002c6', '5ed90f20001f1.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204125603.jpg', '2020-06-04 20:41:28'),
('5ed90fc031be4', '5ed90fc031b01.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204405058.jpg', '2020-06-04 20:44:08'),
('5ed90fc5d5c46', '5ed90fc5d5b73.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_204411453.jpg', '2020-06-04 20:44:13'),
('5ed90ff5753b5', '5ed90ff5752d9.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204459011.jpg', '2020-06-04 20:45:01'),
('5ed910fa1ef1d', '5ed910fa1ee45.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204919194.jpg', '2020-06-04 20:49:22'),
('5ed9110194e57', '5ed9110194d75.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_204926996.jpg', '2020-06-04 20:49:29'),
('5ed91107da235', '5ed91107da144.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_204933256.jpg', '2020-06-04 20:49:35'),
('5ed9110dd4f29', '5ed9110dd4e2e.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_204939237.jpg', '2020-06-04 20:49:41'),
('5ed91744a298e', '5ed91744a28b3.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_211609422.jpg', '2020-06-04 21:16:12'),
('5ed91755864e3', '5ed9175586408.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200604_211626899.jpg', '2020-06-04 21:16:29'),
('5ed917bed0f8d', '5ed917bed0eb4.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200604_211811926.jpg', '2020-06-04 21:18:14'),
('5ed91b676377d', '5ed91b67636da.png', 'image/png', 'post_inspections', 'pre_photos', 'plus.png', '2020-06-04 21:33:51'),
('5ed93150f2cfd', '5ed93150f2c43.png', 'image/png', 'post_inspections', 'pre_photos', 'client.png', '2020-06-04 23:07:20'),
('5ed9da7718f01', '5ed9da7718c90.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_110859714.jpg', '2020-06-05 11:09:03'),
('5ed9da81d0d9d', '5ed9da81d0cd7.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_110911228.jpg', '2020-06-05 11:09:13'),
('5ed9e0e67c32b', '5ed9e0e67be81.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_113627186.jpg', '2020-06-05 11:36:30'),
('5ed9e0eb9d36b', '5ed9e0eb9d280.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_113632875.jpg', '2020-06-05 11:36:35'),
('5ed9e0f4996b6', '5ed9e0f4995d7.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_113641881.jpg', '2020-06-05 11:36:44'),
('5ed9e0faa7c29', '5ed9e0faa7b45.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_113647909.jpg', '2020-06-05 11:36:50'),
('5ed9ee6f1a58c', '5ed9ee6f1a4a6.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_123411662.jpg', '2020-06-05 12:34:15'),
('5ed9f3f540710', '5ed9f3f540645.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_125746197.jpg', '2020-06-05 12:57:49'),
('5ed9f699f2948', '5ed9f699f2879.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_130902951.jpg', '2020-06-05 13:09:05'),
('5ed9f6ace189b', '5ed9f6ace1783.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_130921425.jpg', '2020-06-05 13:09:24'),
('5eda0218b039b', '5eda0218b02b5.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_135805421.jpg', '2020-06-05 13:58:08'),
('5eda02269f2f1', '5eda02269f217.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_135820123.jpg', '2020-06-05 13:58:22'),
('5eda028365c93', '5eda028365bae.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_135952123.jpg', '2020-06-05 13:59:55'),
('5eda056c32021', '5eda056c31f47.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_141216697.jpg', '2020-06-05 14:12:20'),
('5eda057cbdf79', '5eda057cbdea8.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_141233693.jpg', '2020-06-05 14:12:36'),
('5eda06b699680', '5eda06b6995a6.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_141747247.jpg', '2020-06-05 14:17:50'),
('5eda06c7c6af1', '5eda06c7c6a2b.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_141805213.jpg', '2020-06-05 14:18:07'),
('5eda06e703ef8', '5eda06e703e2d.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_141835139.jpg', '2020-06-05 14:18:39'),
('5eda0f90da20a', '5eda0f90da121.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_145531437.jpg', '2020-06-05 14:55:36'),
('5eda25aa1acaf', '5eda25aa1abe1.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_162950944.jpg', '2020-06-05 16:29:54'),
('5eda400c4d4de', '5eda400c4d3ec.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_182224144.jpg', '2020-06-05 18:22:28'),
('5eda403467a3f', '5eda403467956.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_182304730.jpg', '2020-06-05 18:23:08'),
('5eda403a8fda1', '5eda403a8fcab.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_182311556.jpg', '2020-06-05 18:23:14'),
('5eda4a1d03a3e', '5eda4a1d0399c.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_190522094.jpg', '2020-06-05 19:05:25'),
('5eda4af041bba', '5eda4af041ad7.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_190846394.jpg', '2020-06-05 19:08:56'),
('5eda4c1f33ce4', '5eda4c1f33c07.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_191345533.jpg', '2020-06-05 19:13:59'),
('5eda4f3631693', '5eda4f36315b7.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_192632896.jpg', '2020-06-05 19:27:10'),
('5eda510048ace', '5eda5100489c5.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_193444442.jpg', '2020-06-05 19:34:48'),
('5eda52138f19f', '5eda52138f0c1.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_193920246.jpg', '2020-06-05 19:39:23'),
('5eda521ceab96', '5eda521ceaa68.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_193930138.jpg', '2020-06-05 19:39:32'),
('5eda522b4bfd4', '5eda522b4bf04.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_193943849.jpg', '2020-06-05 19:39:47'),
('5eda5259ecd66', '5eda5259ecc81.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_194030636.jpg', '2020-06-05 19:40:33'),
('5eda52682b72d', '5eda52682b647.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_194044900.jpg', '2020-06-05 19:40:48'),
('5eda526e11533', '5eda526e1142a.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_194051246.jpg', '2020-06-05 19:40:54'),
('5eda55017b35b', '5eda55017b28e.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_195150145.jpg', '2020-06-05 19:51:53'),
('5eda55147edce', '5eda55147ed26.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_195209725.jpg', '2020-06-05 19:52:12'),
('5eda57121b14f', '5eda57121b099.png', 'image/png', 'post_inspections', 'pre_photos', 'Screenshot 2020-06-05 at 4.39.56 PM.png', '2020-06-05 20:00:42'),
('5eda57c8f05ee', '5eda57c8f04fa.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:03:44'),
('5eda57e30ba1a', '5eda57e30b86c.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:04:11'),
('5eda581798c55', '5eda581798b66.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:05:03'),
('5eda587c90f03', '5eda587c90e18.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:06:44'),
('5eda5c9d303bf', '5eda5c9d302cc.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:24:21'),
('5eda5ea0817d1', '5eda5ea0815e7.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:32:56'),
('5eda601d32bcb', '5eda601d329f3.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:39:17'),
('5eda60583947e', '5eda60583929e.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:40:16'),
('5eda63942c5d7', '5eda63942c4f5.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:54:04'),
('5eda63aa74b12', '5eda63aa74a19.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:54:26'),
('5eda63b5ea3b5', '5eda63b5ea2c0.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 20:54:37'),
('5eda65c9ecfc6', '5eda65c9eced7.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:03:29'),
('5eda68a866ab0', '5eda68a866814.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:15:44'),
('5eda691495f99', '5eda691495ea0.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:17:32'),
('5eda6a684ae36', '5eda6a684ad3e.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:23:12'),
('5eda6a73dd8a1', '5eda6a73dd7a1.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:23:23'),
('5eda6b6eddf7b', '5eda6b6edde8e.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:27:34'),
('5eda6d9f1e557', '5eda6d9f1e456.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:36:55'),
('5eda6fd42e9e2', '5eda6fd42e8f0.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:46:20'),
('5eda70dfb85c3', '5eda70dfb84cf.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:50:47'),
('5eda7119329d5', '5eda7119328df.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:51:45'),
('5eda71c84daf4', '5eda71c84da07.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:54:40'),
('5eda721785cf7', '5eda721785bf2.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:55:59'),
('5eda722297085', '5eda722296fce.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:56:10'),
('5eda723247d6f', '5eda723247c3f.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:56:26'),
('5eda724adaad0', '5eda724adaa2d.', 'image/jpg', 'post_inspections', 'pre_photos', 'file', '2020-06-05 21:56:50'),
('5eda85c657a05', '5eda85c65791b.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_231923385.jpg', '2020-06-05 23:19:58'),
('5eda86996b6ec', '5eda86996b616.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_232326299.jpg', '2020-06-05 23:23:29'),
('5eda86aec32ff', '5eda86aec3232.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_232344150.jpg', '2020-06-05 23:23:50'),
('5eda87404cd84', '5eda87404ccb6.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_232607932.jpg', '2020-06-05 23:26:16'),
('5eda89774bdd8', '5eda89774bcf6.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_233539958.jpg', '2020-06-05 23:35:43'),
('5eda8986df13a', '5eda8986df04f.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_233556051.jpg', '2020-06-05 23:35:58'),
('5eda8ac773302', '5eda8ac773234.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200605_234116345.jpg', '2020-06-05 23:41:19'),
('5eda8ade71df4', '5eda8ade71d21.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200605_234139853.jpg', '2020-06-05 23:41:42'),
('5eda9544137bd', '5eda9544136e3.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_002600677.jpg', '2020-06-06 00:26:04'),
('5eda954c3c259', '5eda954c3c15f.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_002609552.jpg', '2020-06-06 00:26:12'),
('5edabb76ea3bd', '5edabb76ea2eb.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_030859820.jpg', '2020-06-06 03:09:02'),
('5edabb8104e74', '5edabb8104d9c.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_030910385.jpg', '2020-06-06 03:09:13'),
('5edabbe7b2dfe', '5edabbe7b2d12.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_031052338.jpg', '2020-06-06 03:10:55'),
('5edabbf303d72', '5edabbf303c90.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_031104154.jpg', '2020-06-06 03:11:07'),
('5edac12d0666d', '5edac12d06583.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_033321724.jpg', '2020-06-06 03:33:25'),
('5edac26f502cb', '5edac26f501f9.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_033844191.jpg', '2020-06-06 03:38:47'),
('5edac2796c803', '5edac2796c734.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_033854817.jpg', '2020-06-06 03:38:57'),
('5edac3beb6e2f', '5edac3beb6d46.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_034419326.jpg', '2020-06-06 03:44:22'),
('5edac3c68b2c1', '5edac3c68b1d4.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_034427735.jpg', '2020-06-06 03:44:30'),
('5edac462ad235', '5edac462ad148.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_034703381.jpg', '2020-06-06 03:47:06'),
('5edac46ca827f', '5edac46ca818d.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_034713863.jpg', '2020-06-06 03:47:16'),
('5edac538abd27', '5edac538abc4f.jpg', 'image/png', 'post_inspections', 'pre_photos', 'IMG_20200606_035037365.jpg', '2020-06-06 03:50:40'),
('5edac53f74752', '5edac53f74661.jpg', 'image/png', 'post_inspections', 'post_photos', 'IMG_20200606_035044669.jpg', '2020-06-06 03:50:47'),
('6', '5ecce6e0a5bd8.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_152230633.jpg', '2020-05-26 15:22:32'),
('60', '5ed52378dc728.jpeg', 'image/jpeg', 'notes', NULL, '1591026551.293206.jpeg', '2020-06-01 21:19:12'),
('61', '5ed52378ea711.jpeg', 'image/jpeg', 'notes', NULL, '1591026551.4036422.jpeg', '2020-06-01 21:19:12'),
('62', '5ed5238835444.jpeg', 'image/jpeg', 'notes', NULL, '1591026568.0486321.jpeg', '2020-06-01 21:19:28'),
('63', '5ed57ff051b29.jpeg', 'image/jpeg', 'notes', NULL, '1591050222.362351.jpeg', '2020-06-02 03:53:44'),
('64', '5ed57ff07d96f.jpeg', 'image/jpeg', 'notes', NULL, '1591050222.4268641.jpeg', '2020-06-02 03:53:44'),
('65', '5ed57ff0c9d26.jpeg', 'image/jpeg', 'notes', NULL, '1591050222.4940572.jpeg', '2020-06-02 03:53:44'),
('66', '5ed5803682617.jpeg', 'image/jpeg', 'notes', NULL, '1591050294.06583.jpeg', '2020-06-02 03:54:54'),
('67', '5ed5bf7470bed.pdf', 'application/pdf', 'notes', NULL, 'example_006.pdf', '2020-06-02 08:24:44'),
('68', '5ed5f9dfad19b.jpeg', 'image/jpeg', 'notes', NULL, '1591081438.587696.jpeg', '2020-06-02 12:33:59'),
('69', '5ed5fa5642dbd.jpeg', 'image/jpeg', 'notes', NULL, '1591081557.180501.jpeg', '2020-06-02 12:35:58'),
('7', '5ecce7e8d7df2.jpg', 'image/png', 'area_tasks', 'post_photos', 'IMG_20200526_152653760.jpg', '2020-05-26 15:26:56'),
('70', '5ed5fb809bfb4.jpeg', 'image/jpeg', 'notes', NULL, '1591081855.426527.jpeg', '2020-06-02 12:40:56'),
('71', '5ed603ee4bfac.jpeg', 'image/jpeg', 'notes', NULL, '1591084012.901917.jpeg', '2020-06-02 13:16:54'),
('72', '5ed60ca6c9b8d.pdf', 'pdf', 'notes', NULL, 'App%20Brewery%20Flutter%20Course%20Syllabus.pdf', '2020-06-02 13:54:06'),
('73', '5ed60e36bd3a8.pdf', 'pdf', 'notes', NULL, 'App%20Brewery%20Flutter%20Course%20Syllabus.pdf', '2020-06-02 14:00:46'),
('74', '5ed60e80bd5bf.pdf', 'pdf', 'notes', NULL, 'App%20Brewery%20Flutter%20Course%20Syllabus.pdf', '2020-06-02 14:02:00'),
('75', '5ed60ea451f9a.jpeg', 'image/jpeg', 'notes', NULL, '1591086754.779859.jpeg', '2020-06-02 14:02:36'),
('76', '5ed62b703d371.jpeg', 'image/jpeg', 'notes', NULL, '1591094126.935384.jpeg', '2020-06-02 16:05:28'),
('77', '5ed62b7085d89.jpeg', 'image/jpeg', 'notes', NULL, '1591094127.014411.jpeg', '2020-06-02 16:05:28'),
('78', '5ed62b708c1aa.jpeg', 'image/jpeg', 'notes', NULL, '1591094127.082862.jpeg', '2020-06-02 16:05:28'),
('79', '5ed62d3473fd4.jpeg', 'image/jpeg', 'notes', NULL, '1591094579.297291.jpeg', '2020-06-02 16:13:00'),
('8', '5ecce7ef13e7f.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_152700987.jpg', '2020-05-26 15:27:03'),
('80', '5ed62d34e62f6.jpeg', 'image/jpeg', 'notes', NULL, '1591094579.381948.jpeg', '2020-06-02 16:13:00'),
('81', '5ed62ef8c590b.jpeg', 'image/jpeg', 'notes', NULL, '1591095025.088671.jpeg', '2020-06-02 16:20:32'),
('82', '5ed62f1352111.jpeg', 'image/jpeg', 'notes', NULL, '1591095025.394983.jpeg', '2020-06-02 16:20:59'),
('83', '5ed62f1976e8d.jpeg', 'image/jpeg', 'notes', NULL, '1591095025.202409.jpeg', '2020-06-02 16:21:05'),
('84', '5ed62f29ba1ee.jpeg', 'image/jpeg', 'notes', NULL, '1591095025.321941.jpeg', '2020-06-02 16:21:21'),
('85', '5ed62f3534d53.jpeg', 'image/jpeg', 'notes', NULL, '1591095055.04697.jpeg', '2020-06-02 16:21:33'),
('86', '5ed62f373bac5.jpeg', 'image/jpeg', 'notes', NULL, '1591095054.835037.jpeg', '2020-06-02 16:21:35'),
('9', '5ecd0375a9634.jpg', 'image/png', 'area_tasks', 'pre_photos', 'IMG_20200526_172427332.jpg', '2020-05-26 17:24:29');

-- --------------------------------------------------------

--
-- Table structure for table `tbltenants`
--

CREATE TABLE `tbltenants` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `company` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `mobile_no` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL,
  `industry` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `tbltenants`
--

INSERT INTO `tbltenants` (`id`, `email`, `name`, `company`, `mobile_no`, `industry`, `created_at`, `updated_at`) VALUES
(1, 'dev.spryox@gmail.com', 'Spryox Admin', 'SpryOX', NULL, NULL, '2020-04-30 20:53:03', '2020-04-30 20:53:03'),
(18, 'akashparmar123@gmail.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-07 07:25:51', '2020-05-07 07:25:51'),
(19, 'akashparmar1234@gmail.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-07 09:48:53', '2020-05-07 09:48:53'),
(20, 'ketan.spryox@gmail.com', 'Ketan Sakulkat', 'Spryox', '8087405954', NULL, '2020-05-07 16:12:54', '2020-05-07 16:12:54'),
(21, 'sakulkarketan@gmail.com', 'Ketan Sakulkar', 'Spryox', '8087405954', NULL, '2020-05-07 16:36:18', '2020-05-07 16:36:18'),
(22, 'test@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 17:21:00', '2020-05-08 17:21:00'),
(23, 'test1@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 19:39:12', '2020-05-08 19:39:12'),
(24, 'test2@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 19:40:07', '2020-05-08 19:40:07'),
(25, 'ajinkya.spryox@gmail.com', 'Ajinkya Sonar', 'Spryox', '9167921922', NULL, '2020-05-08 19:41:31', '2020-05-08 19:41:31'),
(26, 'test3@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 19:45:02', '2020-05-08 19:45:02'),
(27, 'test4@test.com', 'Akash Parmar', 'syCo', '9167023220', NULL, '2020-05-08 19:45:45', '2020-05-08 19:45:45'),
(28, 'test5@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 20:02:29', '2020-05-08 20:02:29'),
(29, 'test6@test.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-08 20:12:26', '2020-05-08 20:12:26'),
(30, 'testt@test.com', 'Ajinkya Sonar', 'Spryox', '9167231878', '1', '2020-05-08 20:31:07', '2020-05-08 20:31:07'),
(31, 'ajinkya.speyox@gmail.com', 'Ajinkya Sonar', 'Spryox', '9167921922', '1', '2020-05-08 20:39:29', '2020-05-08 20:39:29'),
(32, 'akashparmar1234@mail.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-11 10:44:54', '2020-05-11 10:44:54'),
(33, 'akashparmar101@gmail.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-11 13:53:46', '2020-05-11 13:53:46'),
(34, 'akashparmar1234@maill.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-11 15:02:35', '2020-05-11 15:02:35'),
(36, 'dev.spryox123@gmail.com', 'Akash Parmar', 'Spryox', '09167023220', '1', '2020-05-12 11:04:43', '2020-05-12 11:04:43'),
(37, 'vvvvv@gmail.com', 'Ghh Vvvg', 'Bbbhh', '7977796967', NULL, '2020-05-14 08:59:10', '2020-05-14 08:59:10'),
(38, 'akashparmar10@gmail.com', 'Akash Parmar', 'syCO', '1234567890', '1', '2020-05-15 18:51:01', '2020-05-15 18:51:01'),
(39, 'akashp.spryox@gmail.com', 'Akash Parmar', 'syCo', '1234567890', '', '2020-05-15 18:52:04', '2020-05-15 18:52:04'),
(40, 'sonar.ajinkya@gmail.com', 'Ajinkya Sonar', 'Google Test', '9167921922', '1', '2020-05-16 12:40:18', '2020-05-16 12:40:18'),
(41, 'chetan.spryox@gmail.com', 'chetan jadhav', 'SpryOX', '9860345142', NULL, '2020-05-16 13:38:12', '2020-05-16 13:38:12'),
(42, 'ajinkya_qujuhua_test@tfbnw.net', 'Ajinkya Test', 'Spryox', '9167921922', '1', '2020-05-16 19:16:07', '2020-05-16 19:16:07'),
(43, 'akashparmar101@gmaill.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-16 21:52:08', '2020-05-16 21:52:08'),
(44, 'sakulkarketan@yahoo.com', 'Ketan Sakulkar', 'Ketan Inc', '8087405954', NULL, '2020-05-18 06:48:18', '2020-05-18 06:48:18'),
(53, 'akashparmar101101@gmail.com', 'Akash Parmar', 'syCo', '9167023220', '1', '2020-05-26 05:51:10', '2020-05-26 05:51:10'),
(54, 'akashparmarspryox@gmail.com', 'Akash Parmar', '', '1234567890', '', '2020-05-26 05:59:11', '2020-05-26 05:59:11'),
(55, 'static.test@gmail.com', 'Test Static Data', '', '1234567890', '', '2020-05-26 06:02:03', '2020-05-26 06:02:03'),
(56, 'tushar.spryox@gmail.com', 'Tushar Sawant', 'Spryox', '7977796967', NULL, '2020-05-26 16:29:09', '2020-05-26 16:29:09'),
(57, 'ceo@contractorplus.app', 'Justin Smith', 'Contractor Plus, Inc.', '7405035627', NULL, '2020-06-01 19:44:13', '2020-06-01 19:44:13');

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets`
--

CREATE TABLE `tbltickets` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `ticketid` bigint(20) UNSIGNED NOT NULL,
  `adminreplying` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `userid` bigint(20) UNSIGNED NOT NULL,
  `contactid` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `email` text,
  `name` text,
  `department` bigint(20) UNSIGNED NOT NULL,
  `priority` bigint(20) UNSIGNED NOT NULL,
  `status` bigint(20) UNSIGNED NOT NULL,
  `service` bigint(20) UNSIGNED DEFAULT NULL,
  `ticketkey` varchar(32) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` text,
  `admin` bigint(20) UNSIGNED DEFAULT NULL,
  `date` datetime NOT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `lastreply` datetime DEFAULT NULL,
  `clientread` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `adminread` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `assigned` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_pipe_log`
--

CREATE TABLE `tbltickets_pipe_log` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `date` datetime NOT NULL,
  `email_to` varchar(100) NOT NULL,
  `name` varchar(191) NOT NULL,
  `subject` varchar(191) NOT NULL,
  `message` mediumtext NOT NULL,
  `email` varchar(100) NOT NULL,
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_predefined_replies`
--

CREATE TABLE `tbltickets_predefined_replies` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `message` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_priorities`
--

CREATE TABLE `tbltickets_priorities` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `priorityid` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltickets_priorities`
--

INSERT INTO `tbltickets_priorities` (`tenant_id`, `priorityid`, `name`) VALUES
(1, 1, 'Low'),
(1, 2, 'Medium'),
(1, 3, 'High'),
(52, 4, 'Low'),
(52, 5, 'Medium'),
(52, 6, 'High'),
(53, 7, 'Low'),
(53, 8, 'Medium'),
(53, 9, 'High'),
(55, 10, 'Low'),
(55, 11, 'Medium'),
(55, 12, 'High'),
(56, 13, 'Low'),
(56, 14, 'Medium'),
(56, 15, 'High'),
(57, 16, 'Low'),
(57, 17, 'Medium'),
(57, 18, 'High');

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_priorities_static`
--

CREATE TABLE `tbltickets_priorities_static` (
  `priorityid` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltickets_priorities_static`
--

INSERT INTO `tbltickets_priorities_static` (`priorityid`, `name`) VALUES
(1, 'Low'),
(2, 'Medium'),
(3, 'High');

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_status`
--

CREATE TABLE `tbltickets_status` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `ticketstatusid` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL,
  `isdefault` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `statuscolor` varchar(7) DEFAULT NULL,
  `statusorder` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltickets_status`
--

INSERT INTO `tbltickets_status` (`tenant_id`, `ticketstatusid`, `name`, `isdefault`, `statuscolor`, `statusorder`) VALUES
(1, 1, 'Open', 1, '#ff2d42', 1),
(1, 2, 'In progress', 1, '#84c529', 2),
(1, 3, 'Answered', 1, '#0000ff', 3),
(1, 4, 'On Hold', 1, '#c0c0c0', 4),
(1, 5, 'Closed', 1, '#03a9f4', 5),
(52, 6, 'Open', 1, '#ff2d42', 1),
(52, 7, 'In progress', 1, '#84c529', 2),
(52, 8, 'Answered', 1, '#0000ff', 3),
(52, 9, 'On Hold', 1, '#c0c0c0', 4),
(52, 10, 'Closed', 1, '#03a9f4', 5),
(53, 13, 'Open', 1, '#ff2d42', 1),
(53, 14, 'In progress', 1, '#84c529', 2),
(53, 15, 'Answered', 1, '#0000ff', 3),
(53, 16, 'On Hold', 1, '#c0c0c0', 4),
(53, 17, 'Closed', 1, '#03a9f4', 5),
(55, 20, 'Open', 1, '#ff2d42', 1),
(55, 21, 'In progress', 1, '#84c529', 2),
(55, 22, 'Answered', 1, '#0000ff', 3),
(55, 23, 'On Hold', 1, '#c0c0c0', 4),
(55, 24, 'Closed', 1, '#03a9f4', 5),
(56, 27, 'Open', 1, '#ff2d42', 1),
(56, 28, 'In progress', 1, '#84c529', 2),
(56, 29, 'Answered', 1, '#0000ff', 3),
(56, 30, 'On Hold', 1, '#c0c0c0', 4),
(56, 31, 'Closed', 1, '#03a9f4', 5),
(57, 34, 'Open', 1, '#ff2d42', 1),
(57, 35, 'In progress', 1, '#84c529', 2),
(57, 36, 'Answered', 1, '#0000ff', 3),
(57, 37, 'On Hold', 1, '#c0c0c0', 4),
(57, 38, 'Closed', 1, '#03a9f4', 5);

-- --------------------------------------------------------

--
-- Table structure for table `tbltickets_status_static`
--

CREATE TABLE `tbltickets_status_static` (
  `ticketstatusid` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(50) NOT NULL,
  `isdefault` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `statuscolor` varchar(7) DEFAULT NULL,
  `statusorder` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbltickets_status_static`
--

INSERT INTO `tbltickets_status_static` (`ticketstatusid`, `name`, `isdefault`, `statuscolor`, `statusorder`) VALUES
(1, 'Open', 1, '#ff2d42', 1),
(2, 'In progress', 1, '#84c529', 2),
(3, 'Answered', 1, '#0000ff', 3),
(4, 'On Hold', 1, '#c0c0c0', 4),
(5, 'Closed', 1, '#03a9f4', 5);

-- --------------------------------------------------------

--
-- Table structure for table `tblticket_attachments`
--

CREATE TABLE `tblticket_attachments` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `ticketid` bigint(20) UNSIGNED NOT NULL,
  `replyid` bigint(20) UNSIGNED DEFAULT NULL,
  `file_name` varchar(191) NOT NULL,
  `filetype` varchar(50) DEFAULT NULL,
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblticket_replies`
--

CREATE TABLE `tblticket_replies` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `ticketid` bigint(20) UNSIGNED NOT NULL,
  `userid` bigint(20) UNSIGNED DEFAULT NULL,
  `contactid` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `name` text,
  `email` text,
  `date` datetime NOT NULL,
  `message` text,
  `attachment` bigint(20) UNSIGNED DEFAULT NULL,
  `admin` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltodos`
--

CREATE TABLE `tbltodos` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `todoid` bigint(20) UNSIGNED NOT NULL,
  `description` text NOT NULL,
  `staffid` bigint(20) UNSIGNED NOT NULL,
  `dateadded` datetime NOT NULL,
  `finished` tinyint(1) NOT NULL,
  `datefinished` datetime DEFAULT NULL,
  `item_order` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbltracked_mails`
--

CREATE TABLE `tbltracked_mails` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `uid` varchar(32) NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `email` varchar(100) NOT NULL,
  `opened` tinyint(1) NOT NULL DEFAULT '0',
  `date_opened` datetime DEFAULT NULL,
  `subject` mediumtext
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbluser_api`
--

CREATE TABLE `tbluser_api` (
  `id` int(11) NOT NULL,
  `user` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `password` varchar(50) NOT NULL,
  `token` varchar(255) NOT NULL,
  `expiration_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbluser_api`
--

INSERT INTO `tbluser_api` (`id`, `user`, `name`, `password`, `token`, `expiration_date`) VALUES
(2, 'API User', 'Api USer', 'spryox', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiQVBJIFRva2VuIiwibmFtZSI6IkFQSSBUb2tlbiBVc2VyIiwicGFzc3dvcmQiOm51bGwsIkFQSV9USU1FIjoxNTg4NjY3NTQ0fQ.Oq8ursv2w7xXT8Pfx5KhTKYl4_UqUzaduwMl9uoMiIs', '2020-06-30 01:12:41'),
(3, 'API User Testing', 'API User Testing', '$2a$08$hLVLjmWgD7RCM6akbmXpVuKLy5MljcCVVXPyyyEgPJV', 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiQVBJIFVzZXIgVGVzdGluZyIsIm5hbWUiOiJBUEkgVXNlciBUZXN0aW5nIiwicGFzc3dvcmQiOm51bGwsIkFQSV9USU1FIjoxNTkxMjg5MzIzfQ.DoqKdH8lh817nhYzc-DFwOVd3hR8p8vjHJwV5_0mlss', '2020-06-30 22:18:00');

-- --------------------------------------------------------

--
-- Table structure for table `tbluser_auto_login`
--

CREATE TABLE `tbluser_auto_login` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `key_id` char(32) NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `user_agent` varchar(150) NOT NULL,
  `last_ip` varchar(40) NOT NULL,
  `last_login` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `staff` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbluser_meta`
--

CREATE TABLE `tbluser_meta` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `umeta_id` bigint(20) UNSIGNED NOT NULL,
  `staff_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `client_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `contact_id` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `meta_key` varchar(191) DEFAULT NULL,
  `meta_value` longtext
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbluser_meta`
--

INSERT INTO `tbluser_meta` (`tenant_id`, `umeta_id`, `staff_id`, `client_id`, `contact_id`, `meta_key`, `meta_value`) VALUES
(1, 1, 1, 0, 0, 'dashboard_widgets_order', 'a:8:{s:6:\"top-12\";a:2:{i:0;s:16:\"widget-top_stats\";i:1;s:12:\"widget-todos\";}s:13:\"middle-left-6\";a:0:{}s:14:\"middle-right-6\";a:0:{}s:6:\"left-8\";a:6:{i:0;s:23:\"widget-finance_overview\";i:1;s:16:\"widget-user_data\";i:2;s:22:\"widget-upcoming_events\";i:3;s:15:\"widget-calendar\";i:4;s:28:\"widget-weekly_payments_chart\";i:5;s:25:\"widget-today_appointments\";}s:7:\"right-4\";a:4:{i:0;s:18:\"widget-leads_chart\";i:1;s:21:\"widget-projects_chart\";i:2;s:20:\"widget-tickets_chart\";i:3;s:24:\"widget-projects_activity\";}s:13:\"bottom-left-4\";a:0:{}s:15:\"bottom-middle-4\";a:0:{}s:14:\"bottom-right-4\";a:0:{}}'),
(1, 3, 1, 0, 0, 'recent_searches', '[]'),
(1, 4, 0, 0, 65, 'consent_key', 'e35e389244c66c0a922ad28e3a3856f5-97a523445e4e80592b807ddbe30363a6');

-- --------------------------------------------------------

--
-- Table structure for table `tblvault`
--

CREATE TABLE `tblvault` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `customer_id` bigint(20) UNSIGNED NOT NULL,
  `server_address` varchar(191) NOT NULL,
  `port` bigint(20) UNSIGNED DEFAULT NULL,
  `username` varchar(191) NOT NULL,
  `password` text NOT NULL,
  `description` text,
  `creator` bigint(20) UNSIGNED NOT NULL,
  `creator_name` varchar(100) DEFAULT NULL,
  `visibility` tinyint(1) NOT NULL DEFAULT '1',
  `share_in_projects` tinyint(1) NOT NULL DEFAULT '0',
  `last_updated` datetime DEFAULT NULL,
  `last_updated_from` varchar(100) DEFAULT NULL,
  `date_created` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblviews_tracking`
--

CREATE TABLE `tblviews_tracking` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `rel_id` bigint(20) UNSIGNED NOT NULL,
  `rel_type` varchar(40) NOT NULL,
  `date` datetime NOT NULL,
  `view_ip` varchar(40) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tblweb_to_lead`
--

CREATE TABLE `tblweb_to_lead` (
  `tenant_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `id` bigint(20) UNSIGNED NOT NULL,
  `form_key` varchar(32) NOT NULL,
  `lead_source` bigint(20) UNSIGNED NOT NULL,
  `lead_status` bigint(20) UNSIGNED NOT NULL,
  `notify_lead_imported` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `notify_type` varchar(20) DEFAULT NULL,
  `notify_ids` mediumtext,
  `responsible` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(191) NOT NULL,
  `form_data` mediumtext,
  `recaptcha` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `submit_btn_name` varchar(40) DEFAULT NULL,
  `success_submit_msg` text,
  `language` varchar(40) DEFAULT NULL,
  `allow_duplicate` bigint(20) UNSIGNED NOT NULL DEFAULT '1',
  `mark_public` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `track_duplicate_field` varchar(20) DEFAULT NULL,
  `track_duplicate_field_and` varchar(20) DEFAULT NULL,
  `create_task_on_duplicate` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `dateadded` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Table structure for table `tbl_leads_conversations`
--

CREATE TABLE `tbl_leads_conversations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `lead_id` bigint(20) UNSIGNED NOT NULL,
  `conversation` longtext NOT NULL,
  `status` bigint(20) NOT NULL,
  `staff_id` bigint(20) UNSIGNED NOT NULL,
  `conversation_date` datetime NOT NULL,
  `type` varchar(50) DEFAULT NULL,
  `added_by` bigint(20) UNSIGNED NOT NULL,
  `added_on` datetime NOT NULL,
  `modified_by` bigint(20) UNSIGNED NOT NULL,
  `modified_on` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `tbl_leads_conversations`
--

INSERT INTO `tbl_leads_conversations` (`id`, `tenant_id`, `lead_id`, `conversation`, `status`, `staff_id`, `conversation_date`, `type`, `added_by`, `added_on`, `modified_by`, `modified_on`) VALUES
(2, 1, 4, 'Very interested in the App!', 1, 1, '2020-06-02 00:00:00', NULL, 1, '2020-06-02 20:32:29', 1, '2020-06-02 20:32:29'),
(3, 1, 4, 'Has downloaded and is interested in buying the pro account', 1, 1, '2020-06-02 00:00:00', NULL, 1, '2020-06-02 20:32:47', 1, '2020-06-02 20:32:47'),
(5, 1, 4, 'Want a demo regarding the estimate module', 1, 1, '2020-06-02 00:00:00', NULL, 1, '2020-06-02 20:41:07', 1, '2020-06-02 20:41:07'),
(6, 1, 10, 'Test 123', 5, 1, '2020-05-20 00:00:00', 'phone_call', 0, '2020-06-06 00:12:06', 0, '2020-06-06 00:12:06');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `tblactivity_log`
--
ALTER TABLE `tblactivity_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `staffid` (`staffid`);

--
-- Indexes for table `tblannouncements`
--
ALTER TABLE `tblannouncements`
  ADD PRIMARY KEY (`announcementid`);

--
-- Indexes for table `tblapad_options`
--
ALTER TABLE `tblapad_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tblappointly_appointments`
--
ALTER TABLE `tblappointly_appointments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblappointly_appointment_types`
--
ALTER TABLE `tblappointly_appointment_types`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblappointly_callbacks`
--
ALTER TABLE `tblappointly_callbacks`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblappointly_callbacks_assignees`
--
ALTER TABLE `tblappointly_callbacks_assignees`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblappointly_google`
--
ALTER TABLE `tblappointly_google`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblapp_admin`
--
ALTER TABLE `tblapp_admin`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblarea_tasks`
--
ALTER TABLE `tblarea_tasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `area_id` (`area_id`);

--
-- Indexes for table `tblassets`
--
ALTER TABLE `tblassets`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblassets_acction_1`
--
ALTER TABLE `tblassets_acction_1`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblassets_acction_2`
--
ALTER TABLE `tblassets_acction_2`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblassets_group`
--
ALTER TABLE `tblassets_group`
  ADD PRIMARY KEY (`group_id`);

--
-- Indexes for table `tblasset_location`
--
ALTER TABLE `tblasset_location`
  ADD PRIMARY KEY (`location_id`);

--
-- Indexes for table `tblasset_unit`
--
ALTER TABLE `tblasset_unit`
  ADD PRIMARY KEY (`unit_id`);

--
-- Indexes for table `tblclients`
--
ALTER TABLE `tblclients`
  ADD PRIMARY KEY (`userid`),
  ADD KEY `country` (`country`),
  ADD KEY `leadid` (`leadid`),
  ADD KEY `company` (`company`);

--
-- Indexes for table `tblconsents`
--
ALTER TABLE `tblconsents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purpose_id` (`purpose_id`),
  ADD KEY `contact_id` (`contact_id`),
  ADD KEY `lead_id` (`lead_id`);

--
-- Indexes for table `tblconsent_purposes`
--
ALTER TABLE `tblconsent_purposes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcontacts`
--
ALTER TABLE `tblcontacts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `userid` (`userid`),
  ADD KEY `firstname` (`firstname`),
  ADD KEY `lastname` (`lastname`),
  ADD KEY `email` (`email`),
  ADD KEY `is_primary` (`is_primary`);

--
-- Indexes for table `tblcontact_permissions`
--
ALTER TABLE `tblcontact_permissions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcontracts`
--
ALTER TABLE `tblcontracts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `client` (`client`),
  ADD KEY `contract_type` (`contract_type`);

--
-- Indexes for table `tblcontracts_types`
--
ALTER TABLE `tblcontracts_types`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcontract_comments`
--
ALTER TABLE `tblcontract_comments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcontract_renewals`
--
ALTER TABLE `tblcontract_renewals`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcountries`
--
ALTER TABLE `tblcountries`
  ADD PRIMARY KEY (`country_id`);

--
-- Indexes for table `tblcreditnotes`
--
ALTER TABLE `tblcreditnotes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `currency` (`currency`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`);

--
-- Indexes for table `tblcreditnote_refunds`
--
ALTER TABLE `tblcreditnote_refunds`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcredits`
--
ALTER TABLE `tblcredits`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcurrencies`
--
ALTER TABLE `tblcurrencies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcurrencies_static`
--
ALTER TABLE `tblcurrencies_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcustomers_groups`
--
ALTER TABLE `tblcustomers_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tblcustomer_admins`
--
ALTER TABLE `tblcustomer_admins`
  ADD KEY `customer_id` (`customer_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tblcustomer_groups`
--
ALTER TABLE `tblcustomer_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `groupid` (`groupid`),
  ADD KEY `customer_id` (`customer_id`);

--
-- Indexes for table `tblcustomer_properties`
--
ALTER TABLE `tblcustomer_properties`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcustomfields`
--
ALTER TABLE `tblcustomfields`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblcustomfieldsvalues`
--
ALTER TABLE `tblcustomfieldsvalues`
  ADD PRIMARY KEY (`id`),
  ADD KEY `relid` (`relid`),
  ADD KEY `fieldto` (`fieldto`),
  ADD KEY `fieldid` (`fieldid`);

--
-- Indexes for table `tbldepartments`
--
ALTER TABLE `tbldepartments`
  ADD PRIMARY KEY (`departmentid`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tbldismissed_announcements`
--
ALTER TABLE `tbldismissed_announcements`
  ADD PRIMARY KEY (`dismissedannouncementid`),
  ADD KEY `announcementid` (`announcementid`),
  ADD KEY `staff` (`staff`),
  ADD KEY `userid` (`userid`);

--
-- Indexes for table `tblemailtemplates`
--
ALTER TABLE `tblemailtemplates`
  ADD PRIMARY KEY (`emailtemplateid`);

--
-- Indexes for table `tblemailtemplates_static`
--
ALTER TABLE `tblemailtemplates_static`
  ADD PRIMARY KEY (`emailtemplateid`);

--
-- Indexes for table `tblestimates`
--
ALTER TABLE `tblestimates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `currency` (`currency`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `sale_agent` (`sale_agent`);

--
-- Indexes for table `tblevents`
--
ALTER TABLE `tblevents`
  ADD PRIMARY KEY (`eventid`);

--
-- Indexes for table `tblexpenses`
--
ALTER TABLE `tblexpenses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `category` (`category`),
  ADD KEY `currency` (`currency`);

--
-- Indexes for table `tblexpenses_categories`
--
ALTER TABLE `tblexpenses_categories`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblfiles`
--
ALTER TABLE `tblfiles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`);

--
-- Indexes for table `tblform_questions`
--
ALTER TABLE `tblform_questions`
  ADD PRIMARY KEY (`questionid`);

--
-- Indexes for table `tblform_question_box`
--
ALTER TABLE `tblform_question_box`
  ADD PRIMARY KEY (`boxid`);

--
-- Indexes for table `tblform_question_box_description`
--
ALTER TABLE `tblform_question_box_description`
  ADD PRIMARY KEY (`questionboxdescriptionid`);

--
-- Indexes for table `tblform_results`
--
ALTER TABLE `tblform_results`
  ADD PRIMARY KEY (`resultid`);

--
-- Indexes for table `tblgdpr_requests`
--
ALTER TABLE `tblgdpr_requests`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblindustry`
--
ALTER TABLE `tblindustry`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblinventory_history`
--
ALTER TABLE `tblinventory_history`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblinvoicepaymentrecords`
--
ALTER TABLE `tblinvoicepaymentrecords`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoiceid` (`invoiceid`),
  ADD KEY `paymentmethod` (`paymentmethod`);

--
-- Indexes for table `tblinvoices`
--
ALTER TABLE `tblinvoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `currency` (`currency`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `sale_agent` (`sale_agent`),
  ADD KEY `total` (`total`);

--
-- Indexes for table `tblitemable`
--
ALTER TABLE `tblitemable`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `qty` (`qty`),
  ADD KEY `rate` (`rate`);

--
-- Indexes for table `tblitems`
--
ALTER TABLE `tblitems`
  ADD PRIMARY KEY (`id`),
  ADD KEY `tax` (`tax`),
  ADD KEY `tax2` (`tax2`),
  ADD KEY `group_id` (`group_id`);

--
-- Indexes for table `tblitems_groups`
--
ALTER TABLE `tblitems_groups`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblitems_groups_static`
--
ALTER TABLE `tblitems_groups_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblitem_tax`
--
ALTER TABLE `tblitem_tax`
  ADD PRIMARY KEY (`id`),
  ADD KEY `itemid` (`itemid`);

--
-- Indexes for table `tblknowedge_base_article_feedback`
--
ALTER TABLE `tblknowedge_base_article_feedback`
  ADD PRIMARY KEY (`articleanswerid`);

--
-- Indexes for table `tblknowledge_base`
--
ALTER TABLE `tblknowledge_base`
  ADD PRIMARY KEY (`articleid`);

--
-- Indexes for table `tblknowledge_base_groups`
--
ALTER TABLE `tblknowledge_base_groups`
  ADD PRIMARY KEY (`groupid`);

--
-- Indexes for table `tblleads`
--
ALTER TABLE `tblleads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`),
  ADD KEY `company` (`company`),
  ADD KEY `email` (`email`),
  ADD KEY `assigned` (`assigned`),
  ADD KEY `status` (`status`),
  ADD KEY `source` (`source`),
  ADD KEY `lastcontact` (`lastcontact`),
  ADD KEY `dateadded` (`dateadded`),
  ADD KEY `leadorder` (`leadorder`),
  ADD KEY `from_form_id` (`from_form_id`);

--
-- Indexes for table `tblleads_email_integration`
--
ALTER TABLE `tblleads_email_integration`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblleads_email_integration_static`
--
ALTER TABLE `tblleads_email_integration_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblleads_sources`
--
ALTER TABLE `tblleads_sources`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tblleads_sources_static`
--
ALTER TABLE `tblleads_sources_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblleads_status`
--
ALTER TABLE `tblleads_status`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tblleads_status_static`
--
ALTER TABLE `tblleads_status_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbllead_activity_log`
--
ALTER TABLE `tbllead_activity_log`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbllead_integration_emails`
--
ALTER TABLE `tbllead_integration_emails`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblmail_queue`
--
ALTER TABLE `tblmail_queue`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblmilestones`
--
ALTER TABLE `tblmilestones`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblmodules`
--
ALTER TABLE `tblmodules`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblnewsfeed_comment_likes`
--
ALTER TABLE `tblnewsfeed_comment_likes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblnewsfeed_posts`
--
ALTER TABLE `tblnewsfeed_posts`
  ADD PRIMARY KEY (`postid`);

--
-- Indexes for table `tblnewsfeed_post_comments`
--
ALTER TABLE `tblnewsfeed_post_comments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblnewsfeed_post_likes`
--
ALTER TABLE `tblnewsfeed_post_likes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblnotes`
--
ALTER TABLE `tblnotes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`);

--
-- Indexes for table `tblnote_files`
--
ALTER TABLE `tblnote_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `note_id` (`note_id`);

--
-- Indexes for table `tblnotifications`
--
ALTER TABLE `tblnotifications`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbloptions`
--
ALTER TABLE `tbloptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tbloptions_static`
--
ALTER TABLE `tbloptions_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblpayment_modes`
--
ALTER TABLE `tblpayment_modes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblpayment_modes_static`
--
ALTER TABLE `tblpayment_modes_static`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblpinned_projects`
--
ALTER TABLE `tblpinned_projects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_id` (`project_id`);

--
-- Indexes for table `tblpost_inspections`
--
ALTER TABLE `tblpost_inspections`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `estimate_id` (`estimate_id`),
  ADD KEY `property_id` (`property_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tblpost_inspection_areas`
--
ALTER TABLE `tblpost_inspection_areas`
  ADD PRIMARY KEY (`id`),
  ADD KEY `post_inspection_id` (`post_inspection_id`);

--
-- Indexes for table `tblprojectdiscussioncomments`
--
ALTER TABLE `tblprojectdiscussioncomments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblprojectdiscussions`
--
ALTER TABLE `tblprojectdiscussions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblprojects`
--
ALTER TABLE `tblprojects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tblproject_activity`
--
ALTER TABLE `tblproject_activity`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblproject_files`
--
ALTER TABLE `tblproject_files`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblproject_members`
--
ALTER TABLE `tblproject_members`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tblproject_notes`
--
ALTER TABLE `tblproject_notes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblproject_settings`
--
ALTER TABLE `tblproject_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_id` (`project_id`);

--
-- Indexes for table `tblproposals`
--
ALTER TABLE `tblproposals`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblproposal_comments`
--
ALTER TABLE `tblproposal_comments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblrelated_items`
--
ALTER TABLE `tblrelated_items`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblreminders`
--
ALTER TABLE `tblreminders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `staff` (`staff`);

--
-- Indexes for table `tblroles`
--
ALTER TABLE `tblroles`
  ADD PRIMARY KEY (`roleid`);

--
-- Indexes for table `tblsales_activity`
--
ALTER TABLE `tblsales_activity`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblscheduled_emails`
--
ALTER TABLE `tblscheduled_emails`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblservices`
--
ALTER TABLE `tblservices`
  ADD PRIMARY KEY (`serviceid`);

--
-- Indexes for table `tblsessions`
--
ALTER TABLE `tblsessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ci_sessions_timestamp` (`timestamp`);

--
-- Indexes for table `tblspam_filters`
--
ALTER TABLE `tblspam_filters`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblstaff`
--
ALTER TABLE `tblstaff`
  ADD PRIMARY KEY (`staffid`),
  ADD KEY `firstname` (`firstname`),
  ADD KEY `lastname` (`lastname`);

--
-- Indexes for table `tblstaff_departments`
--
ALTER TABLE `tblstaff_departments`
  ADD PRIMARY KEY (`staffdepartmentid`);

--
-- Indexes for table `tblsubscriptions`
--
ALTER TABLE `tblsubscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `clientid` (`clientid`),
  ADD KEY `currency` (`currency`),
  ADD KEY `tax_id` (`tax_id`);

--
-- Indexes for table `tbltaggables`
--
ALTER TABLE `tbltaggables`
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `tag_id` (`tag_id`);

--
-- Indexes for table `tbltags`
--
ALTER TABLE `tbltags`
  ADD PRIMARY KEY (`id`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `tbltasks`
--
ALTER TABLE `tbltasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `rel_id` (`rel_id`),
  ADD KEY `rel_type` (`rel_type`),
  ADD KEY `milestone` (`milestone`),
  ADD KEY `kanban_order` (`kanban_order`);

--
-- Indexes for table `tbltaskstimers`
--
ALTER TABLE `tbltaskstimers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_id` (`task_id`),
  ADD KEY `staff_id` (`staff_id`);

--
-- Indexes for table `tbltasks_checklist_templates`
--
ALTER TABLE `tbltasks_checklist_templates`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltask_assigned`
--
ALTER TABLE `tbltask_assigned`
  ADD PRIMARY KEY (`id`),
  ADD KEY `taskid` (`taskid`),
  ADD KEY `staffid` (`staffid`);

--
-- Indexes for table `tbltask_checklist_items`
--
ALTER TABLE `tbltask_checklist_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `taskid` (`taskid`);

--
-- Indexes for table `tbltask_comments`
--
ALTER TABLE `tbltask_comments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `file_id` (`file_id`),
  ADD KEY `taskid` (`taskid`);

--
-- Indexes for table `tbltask_files`
--
ALTER TABLE `tbltask_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `task_id` (`task_id`);

--
-- Indexes for table `tbltask_followers`
--
ALTER TABLE `tbltask_followers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltaxes`
--
ALTER TABLE `tbltaxes`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltemp_files`
--
ALTER TABLE `tbltemp_files`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltenants`
--
ALTER TABLE `tbltenants`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`);

--
-- Indexes for table `tbltickets`
--
ALTER TABLE `tbltickets`
  ADD PRIMARY KEY (`ticketid`),
  ADD KEY `service` (`service`),
  ADD KEY `department` (`department`),
  ADD KEY `status` (`status`),
  ADD KEY `userid` (`userid`),
  ADD KEY `priority` (`priority`),
  ADD KEY `project_id` (`project_id`),
  ADD KEY `contactid` (`contactid`);

--
-- Indexes for table `tbltickets_pipe_log`
--
ALTER TABLE `tbltickets_pipe_log`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltickets_predefined_replies`
--
ALTER TABLE `tbltickets_predefined_replies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltickets_priorities`
--
ALTER TABLE `tbltickets_priorities`
  ADD PRIMARY KEY (`priorityid`);

--
-- Indexes for table `tbltickets_priorities_static`
--
ALTER TABLE `tbltickets_priorities_static`
  ADD PRIMARY KEY (`priorityid`);

--
-- Indexes for table `tbltickets_status`
--
ALTER TABLE `tbltickets_status`
  ADD PRIMARY KEY (`ticketstatusid`);

--
-- Indexes for table `tbltickets_status_static`
--
ALTER TABLE `tbltickets_status_static`
  ADD PRIMARY KEY (`ticketstatusid`);

--
-- Indexes for table `tblticket_attachments`
--
ALTER TABLE `tblticket_attachments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblticket_replies`
--
ALTER TABLE `tblticket_replies`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbltodos`
--
ALTER TABLE `tbltodos`
  ADD PRIMARY KEY (`todoid`);

--
-- Indexes for table `tbltracked_mails`
--
ALTER TABLE `tbltracked_mails`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbluser_api`
--
ALTER TABLE `tbluser_api`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbluser_meta`
--
ALTER TABLE `tbluser_meta`
  ADD PRIMARY KEY (`umeta_id`);

--
-- Indexes for table `tblvault`
--
ALTER TABLE `tblvault`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblviews_tracking`
--
ALTER TABLE `tblviews_tracking`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tblweb_to_lead`
--
ALTER TABLE `tblweb_to_lead`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tbl_leads_conversations`
--
ALTER TABLE `tbl_leads_conversations`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `tblactivity_log`
--
ALTER TABLE `tblactivity_log`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=592;

--
-- AUTO_INCREMENT for table `tblannouncements`
--
ALTER TABLE `tblannouncements`
  MODIFY `announcementid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblapad_options`
--
ALTER TABLE `tblapad_options`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `tblappointly_appointments`
--
ALTER TABLE `tblappointly_appointments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblappointly_appointment_types`
--
ALTER TABLE `tblappointly_appointment_types`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblappointly_callbacks`
--
ALTER TABLE `tblappointly_callbacks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblappointly_callbacks_assignees`
--
ALTER TABLE `tblappointly_callbacks_assignees`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblappointly_google`
--
ALTER TABLE `tblappointly_google`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblapp_admin`
--
ALTER TABLE `tblapp_admin`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblarea_tasks`
--
ALTER TABLE `tblarea_tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `tblassets`
--
ALTER TABLE `tblassets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblassets_acction_1`
--
ALTER TABLE `tblassets_acction_1`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblassets_acction_2`
--
ALTER TABLE `tblassets_acction_2`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblassets_group`
--
ALTER TABLE `tblassets_group`
  MODIFY `group_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblasset_location`
--
ALTER TABLE `tblasset_location`
  MODIFY `location_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblasset_unit`
--
ALTER TABLE `tblasset_unit`
  MODIFY `unit_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblclients`
--
ALTER TABLE `tblclients`
  MODIFY `userid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=108;

--
-- AUTO_INCREMENT for table `tblconsents`
--
ALTER TABLE `tblconsents`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblconsent_purposes`
--
ALTER TABLE `tblconsent_purposes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcontacts`
--
ALTER TABLE `tblcontacts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=102;

--
-- AUTO_INCREMENT for table `tblcontact_permissions`
--
ALTER TABLE `tblcontact_permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcontracts`
--
ALTER TABLE `tblcontracts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcontracts_types`
--
ALTER TABLE `tblcontracts_types`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcontract_comments`
--
ALTER TABLE `tblcontract_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcontract_renewals`
--
ALTER TABLE `tblcontract_renewals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcountries`
--
ALTER TABLE `tblcountries`
  MODIFY `country_id` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=251;

--
-- AUTO_INCREMENT for table `tblcreditnotes`
--
ALTER TABLE `tblcreditnotes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcreditnote_refunds`
--
ALTER TABLE `tblcreditnote_refunds`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcredits`
--
ALTER TABLE `tblcredits`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcurrencies`
--
ALTER TABLE `tblcurrencies`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `tblcurrencies_static`
--
ALTER TABLE `tblcurrencies_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblcustomers_groups`
--
ALTER TABLE `tblcustomers_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcustomer_groups`
--
ALTER TABLE `tblcustomer_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcustomer_properties`
--
ALTER TABLE `tblcustomer_properties`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=91;

--
-- AUTO_INCREMENT for table `tblcustomfields`
--
ALTER TABLE `tblcustomfields`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblcustomfieldsvalues`
--
ALTER TABLE `tblcustomfieldsvalues`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbldepartments`
--
ALTER TABLE `tbldepartments`
  MODIFY `departmentid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbldismissed_announcements`
--
ALTER TABLE `tbldismissed_announcements`
  MODIFY `dismissedannouncementid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblemailtemplates`
--
ALTER TABLE `tblemailtemplates`
  MODIFY `emailtemplateid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12191;

--
-- AUTO_INCREMENT for table `tblemailtemplates_static`
--
ALTER TABLE `tblemailtemplates_static`
  MODIFY `emailtemplateid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2002;

--
-- AUTO_INCREMENT for table `tblestimates`
--
ALTER TABLE `tblestimates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblevents`
--
ALTER TABLE `tblevents`
  MODIFY `eventid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblexpenses`
--
ALTER TABLE `tblexpenses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;

--
-- AUTO_INCREMENT for table `tblexpenses_categories`
--
ALTER TABLE `tblexpenses_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `tblfiles`
--
ALTER TABLE `tblfiles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `tblform_questions`
--
ALTER TABLE `tblform_questions`
  MODIFY `questionid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_question_box`
--
ALTER TABLE `tblform_question_box`
  MODIFY `boxid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_question_box_description`
--
ALTER TABLE `tblform_question_box_description`
  MODIFY `questionboxdescriptionid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblform_results`
--
ALTER TABLE `tblform_results`
  MODIFY `resultid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblgdpr_requests`
--
ALTER TABLE `tblgdpr_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblindustry`
--
ALTER TABLE `tblindustry`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tblinventory_history`
--
ALTER TABLE `tblinventory_history`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblinvoicepaymentrecords`
--
ALTER TABLE `tblinvoicepaymentrecords`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblinvoices`
--
ALTER TABLE `tblinvoices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblitemable`
--
ALTER TABLE `tblitemable`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `tblitems`
--
ALTER TABLE `tblitems`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `tblitems_groups`
--
ALTER TABLE `tblitems_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `tblitems_groups_static`
--
ALTER TABLE `tblitems_groups_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblitem_tax`
--
ALTER TABLE `tblitem_tax`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `tblknowedge_base_article_feedback`
--
ALTER TABLE `tblknowedge_base_article_feedback`
  MODIFY `articleanswerid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblknowledge_base`
--
ALTER TABLE `tblknowledge_base`
  MODIFY `articleid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblknowledge_base_groups`
--
ALTER TABLE `tblknowledge_base_groups`
  MODIFY `groupid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblleads`
--
ALTER TABLE `tblleads`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tblleads_email_integration`
--
ALTER TABLE `tblleads_email_integration`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'the ID always must be 1', AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblleads_email_integration_static`
--
ALTER TABLE `tblleads_email_integration_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblleads_sources`
--
ALTER TABLE `tblleads_sources`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=38;

--
-- AUTO_INCREMENT for table `tblleads_sources_static`
--
ALTER TABLE `tblleads_sources_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblleads_status`
--
ALTER TABLE `tblleads_status`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `tblleads_status_static`
--
ALTER TABLE `tblleads_status_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tbllead_activity_log`
--
ALTER TABLE `tbllead_activity_log`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;

--
-- AUTO_INCREMENT for table `tbllead_integration_emails`
--
ALTER TABLE `tbllead_integration_emails`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblmail_queue`
--
ALTER TABLE `tblmail_queue`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblmilestones`
--
ALTER TABLE `tblmilestones`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblmodules`
--
ALTER TABLE `tblmodules`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `tblnewsfeed_comment_likes`
--
ALTER TABLE `tblnewsfeed_comment_likes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblnewsfeed_posts`
--
ALTER TABLE `tblnewsfeed_posts`
  MODIFY `postid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblnewsfeed_post_comments`
--
ALTER TABLE `tblnewsfeed_post_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblnewsfeed_post_likes`
--
ALTER TABLE `tblnewsfeed_post_likes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblnotes`
--
ALTER TABLE `tblnotes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=97;

--
-- AUTO_INCREMENT for table `tblnote_files`
--
ALTER TABLE `tblnote_files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=136;

--
-- AUTO_INCREMENT for table `tblnotifications`
--
ALTER TABLE `tblnotifications`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `tbloptions`
--
ALTER TABLE `tbloptions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3006;

--
-- AUTO_INCREMENT for table `tbloptions_static`
--
ALTER TABLE `tbloptions_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=447;

--
-- AUTO_INCREMENT for table `tblpayment_modes`
--
ALTER TABLE `tblpayment_modes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `tblpayment_modes_static`
--
ALTER TABLE `tblpayment_modes_static`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tblpinned_projects`
--
ALTER TABLE `tblpinned_projects`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblpost_inspections`
--
ALTER TABLE `tblpost_inspections`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `tblpost_inspection_areas`
--
ALTER TABLE `tblpost_inspection_areas`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tblprojectdiscussioncomments`
--
ALTER TABLE `tblprojectdiscussioncomments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblprojectdiscussions`
--
ALTER TABLE `tblprojectdiscussions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblprojects`
--
ALTER TABLE `tblprojects`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblproject_activity`
--
ALTER TABLE `tblproject_activity`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tblproject_files`
--
ALTER TABLE `tblproject_files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblproject_members`
--
ALTER TABLE `tblproject_members`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblproject_notes`
--
ALTER TABLE `tblproject_notes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblproject_settings`
--
ALTER TABLE `tblproject_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `tblproposals`
--
ALTER TABLE `tblproposals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblproposal_comments`
--
ALTER TABLE `tblproposal_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblrelated_items`
--
ALTER TABLE `tblrelated_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblreminders`
--
ALTER TABLE `tblreminders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblroles`
--
ALTER TABLE `tblroles`
  MODIFY `roleid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tblsales_activity`
--
ALTER TABLE `tblsales_activity`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `tblscheduled_emails`
--
ALTER TABLE `tblscheduled_emails`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblservices`
--
ALTER TABLE `tblservices`
  MODIFY `serviceid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblspam_filters`
--
ALTER TABLE `tblspam_filters`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblstaff`
--
ALTER TABLE `tblstaff`
  MODIFY `staffid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `tblstaff_departments`
--
ALTER TABLE `tblstaff_departments`
  MODIFY `staffdepartmentid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblsubscriptions`
--
ALTER TABLE `tblsubscriptions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltags`
--
ALTER TABLE `tbltags`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `tbltasks`
--
ALTER TABLE `tbltasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tbltaskstimers`
--
ALTER TABLE `tbltaskstimers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltasks_checklist_templates`
--
ALTER TABLE `tbltasks_checklist_templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltask_assigned`
--
ALTER TABLE `tbltask_assigned`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tbltask_checklist_items`
--
ALTER TABLE `tbltask_checklist_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltask_comments`
--
ALTER TABLE `tbltask_comments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltask_files`
--
ALTER TABLE `tbltask_files`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `tbltask_followers`
--
ALTER TABLE `tbltask_followers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltaxes`
--
ALTER TABLE `tbltaxes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `tbltenants`
--
ALTER TABLE `tbltenants`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;

--
-- AUTO_INCREMENT for table `tbltickets`
--
ALTER TABLE `tbltickets`
  MODIFY `ticketid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltickets_pipe_log`
--
ALTER TABLE `tbltickets_pipe_log`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltickets_predefined_replies`
--
ALTER TABLE `tbltickets_predefined_replies`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltickets_priorities`
--
ALTER TABLE `tbltickets_priorities`
  MODIFY `priorityid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `tbltickets_priorities_static`
--
ALTER TABLE `tbltickets_priorities_static`
  MODIFY `priorityid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tbltickets_status`
--
ALTER TABLE `tbltickets_status`
  MODIFY `ticketstatusid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT for table `tbltickets_status_static`
--
ALTER TABLE `tbltickets_status_static`
  MODIFY `ticketstatusid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `tblticket_attachments`
--
ALTER TABLE `tblticket_attachments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblticket_replies`
--
ALTER TABLE `tblticket_replies`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltodos`
--
ALTER TABLE `tbltodos`
  MODIFY `todoid` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbltracked_mails`
--
ALTER TABLE `tbltracked_mails`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbluser_api`
--
ALTER TABLE `tbluser_api`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tbluser_meta`
--
ALTER TABLE `tbluser_meta`
  MODIFY `umeta_id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `tblvault`
--
ALTER TABLE `tblvault`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblviews_tracking`
--
ALTER TABLE `tblviews_tracking`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tblweb_to_lead`
--
ALTER TABLE `tblweb_to_lead`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tbl_leads_conversations`
--
ALTER TABLE `tbl_leads_conversations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
COMMIT;

