SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


TRUNCATE TABLE `attachments`;
INSERT DELAYED IGNORE INTO `attachments` (`id`, `ticket_id`, `message_id`, `name`, `user_id`, `contact_id`, `size`, `path`, `created_at`, `updated_at`) VALUES
(1, 3, NULL, 'chat-icon.png', NULL, NULL, 10995, 'tickets/AlvdPGBglFMmStSCuIbShlfGmqH2Zqe4LBkQceq7.png', '2022-09-14 00:54:55', '2022-09-14 00:54:55'),
(2, 5, NULL, 'Screen-Shot-2022-10-10-at-12.14.31-PM.jpg', 1, NULL, 30301, 'tickets/gxShfyqVeziAjT6FoJnXWh2r6BvEAMaZVq8syxrM.jpg', '2022-10-10 00:15:26', '2022-10-10 00:15:26');

TRUNCATE TABLE `categories`;
INSERT DELAYED IGNORE INTO `categories` (`id`, `name`, `color`, `created_at`, `updated_at`, `deleted_at`) VALUES
(4, 'Website', NULL, NULL, NULL, NULL),
(5, 'Email', NULL, NULL, NULL, NULL),
(6, 'Hosting', NULL, NULL, NULL, NULL),
(7, 'Domain', NULL, NULL, NULL, NULL),
(8, 'Class 1', NULL, NULL, NULL, NULL),
(9, 'Batch 1', NULL, NULL, NULL, NULL),
(10, 'Batch 2', NULL, NULL, NULL, '2022-10-09 22:57:29'),
(11, 'Team 1', NULL, NULL, NULL, NULL),
(12, 'Team 10', NULL, NULL, NULL, '2022-10-09 22:57:44'),
(13, 'Team 50', NULL, NULL, NULL, '2022-10-09 22:57:48'),
(14, 'Group 3', NULL, NULL, NULL, '2022-10-09 22:57:38'),
(17, 'asdfasdfasdf', NULL, NULL, NULL, '2022-10-09 11:32:21'),
(18, 'Warranty', NULL, NULL, NULL, NULL),
(19, 'Event Management', NULL, NULL, NULL, NULL),
(20, 'Marketing', NULL, NULL, NULL, NULL),
(21, 'Hardware', NULL, NULL, NULL, NULL),
(22, 'Software', NULL, NULL, NULL, NULL),
(23, 'Business', NULL, NULL, NULL, NULL);

TRUNCATE TABLE `cities`;
TRUNCATE TABLE `comments`;
INSERT DELAYED IGNORE INTO `comments` (`id`, `ticket_id`, `user_id`, `contact_id`, `details`, `created_at`, `updated_at`) VALUES
(10, 1, 1, NULL, 'Hi Esta, Would you please let me know the issue?', '2022-10-09 22:06:29', '2022-10-09 22:06:29'),
(11, 1, 1, NULL, 'Which one having on your new laptop', '2022-10-09 22:06:46', '2022-10-09 22:06:46'),
(12, 1, 1, NULL, 'in details...', '2022-10-09 22:06:50', '2022-10-09 22:06:50'),
(13, 1, 4, NULL, 'Hi John, thank you for your message.', '2022-10-09 22:08:02', '2022-10-09 22:08:02'),
(14, 1, 4, NULL, 'Yeah, sure!', '2022-10-09 22:08:25', '2022-10-09 22:08:25'),
(15, 1, 4, NULL, 'I am having the issue to connect wifi network.', '2022-10-09 22:09:20', '2022-10-09 22:09:20'),
(16, 10, 1, NULL, 'Please define here the logo sizes', '2022-10-09 23:02:34', '2022-10-09 23:02:34'),
(17, 10, 1, NULL, 'for the all logos', '2022-10-09 23:02:41', '2022-10-09 23:02:41'),
(18, 11, 1, NULL, 'How many members we have currently for the team 1?', '2022-10-09 23:03:16', '2022-10-09 23:03:16'),
(19, 8, 1, NULL, 'Do you have any prefered brand to purchase?', '2022-10-09 23:03:56', '2022-10-09 23:03:56'),
(20, 9, 1, NULL, 'Is it working fine when visiting a lower amount of people?', '2022-10-09 23:04:42', '2022-10-09 23:04:42'),
(21, 9, 1, NULL, 'We may need to test that on different cases.', '2022-10-09 23:05:04', '2022-10-09 23:05:04'),
(22, 2, 1, NULL, 'How many email would you like to send at a time?', '2022-10-09 23:05:51', '2022-10-09 23:05:51'),
(23, 6, 1, NULL, 'Do you have any prefered brand or model?', '2022-10-09 23:06:35', '2022-10-09 23:06:35'),
(24, 6, 1, NULL, 'I prefer to use Dell monitor for that cases.', '2022-10-09 23:07:02', '2022-10-09 23:07:02'),
(25, 3, 1, NULL, 'What about the hosting storage size?', '2022-10-09 23:07:57', '2022-10-09 23:07:57'),
(26, 10, 5, NULL, 'initially we just need 250*50 size of logo', '2022-10-09 23:55:51', '2022-10-09 23:55:51'),
(27, 3, 5, NULL, 'I think 5 GB is enough for now', '2022-10-09 23:56:10', '2022-10-09 23:56:10'),
(28, 9, 3, NULL, 'Yeah, works fine for the lower amount of people', '2022-10-09 23:57:16', '2022-10-09 23:57:16'),
(29, 9, 3, NULL, 'yeah, please do that!', '2022-10-09 23:57:24', '2022-10-09 23:57:24'),
(30, 6, 3, NULL, 'I think also the same', '2022-10-09 23:57:36', '2022-10-09 23:57:36'),
(31, 4, 3, NULL, 'What\'s your thought on that?', '2022-10-09 23:58:15', '2022-10-09 23:58:15'),
(32, 8, 6, NULL, 'Yeah, LG or Sony would be fine for us.', '2022-10-10 00:00:15', '2022-10-10 00:00:15'),
(33, 5, 6, NULL, 'I can show you a screenshot for that if you want to', '2022-10-10 00:01:13', '2022-10-10 00:01:13'),
(34, 2, 6, NULL, '1500 emails', '2022-10-10 00:01:38', '2022-10-10 00:01:38'),
(35, 2, 6, NULL, 'Do you think it is possible?', '2022-10-10 00:01:52', '2022-10-10 00:01:52'),
(36, 7, 8, NULL, 'Please let me know your though regarding the ticket details', '2022-10-10 00:03:03', '2022-10-10 00:03:03'),
(37, 11, 9, NULL, '15 members for now', '2022-10-10 00:03:35', '2022-10-10 00:03:35'),
(38, 11, 9, NULL, 'We may increase later if we need to', '2022-10-10 00:03:49', '2022-10-10 00:03:49'),
(39, 10, 10, NULL, 'ok', '2022-10-10 00:09:25', '2022-10-10 00:09:25'),
(40, 8, 10, NULL, 'ok, perfect choice!', '2022-10-10 00:09:43', '2022-10-10 00:09:43'),
(41, 9, 10, NULL, 'ok, we\'ll let you know that soon', '2022-10-10 00:10:14', '2022-10-10 00:10:14'),
(42, 7, 10, NULL, 'There needs the company information like what they do, vision, etc.', '2022-10-10 00:11:34', '2022-10-10 00:11:34'),
(43, 8, 1, NULL, 'ok', '2022-10-10 00:12:35', '2022-10-10 00:12:35'),
(44, 7, 1, NULL, 'yeah, we need that initially', '2022-10-10 00:13:28', '2022-10-10 00:13:28'),
(45, 5, 1, NULL, 'yeah sure!', '2022-10-10 00:14:04', '2022-10-10 00:14:04');

TRUNCATE TABLE `contacts`;
INSERT DELAYED IGNORE INTO `contacts` (`id`, `organization_id`, `first_name`, `last_name`, `email`, `phone`, `address`, `city`, `region`, `country`, `postal_code`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 55, 'Fiona', 'D\'Amore', 'henri.muller@example.org', '866-580-6076', '1853 Krajcik Meadows Suite 961', 'North Queenieborough', 'Nevada', 'US', '69682', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(2, 51, 'Gudrun', 'O\'Reilly', 'daija.powlowski@example.net', '1-866-262-1677', '913 Schimmel Motorway Apt. 282', 'Lake Lucyburgh', 'New York', 'US', '38373-8100', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(3, 91, 'Julio', 'Dicki', 'hester51@example.net', '1-877-269-5373', '515 Gusikowski Brook Suite 837', 'Whitechester', 'Mississippi', 'US', '10066-4354', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(4, 9, 'Lila', 'Hahn', 'kris.angus@example.net', '800-461-4481', '516 Nitzsche Center Apt. 133', 'Port Fletcher', 'Iowa', 'US', '93582', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(5, 83, 'Roscoe', 'Marks', 'eddie65@example.org', '(844) 365-2720', '3251 Kacey Branch Apt. 688', 'New Litzy', 'Tennessee', 'US', '86863-5033', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(6, 33, 'Dustin', 'Luettgen', 'fprice@example.com', '(855) 635-0061', '1485 D\'Amore Bypass', 'South Augusta', 'Idaho', 'US', '75970', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(7, 16, 'Noemie', 'Rohan', 'rowe.betty@example.com', '800-844-6433', '502 Emmanuel Drives', 'Hackettview', 'Indiana', 'US', '05088-0682', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(8, 45, 'Allie', 'Kulas', 'rwunsch@example.net', '(855) 671-4170', '3436 Schuppe Valleys', 'Mosciskiport', 'Montana', 'US', '72169-7520', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(9, 52, 'Shayna', 'Parker', 'rippin.pink@example.net', '1-877-747-2950', '50660 Sibyl Motorway Apt. 767', 'Kuhicville', 'Indiana', 'US', '11079', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(10, 76, 'Maurine', 'Spinka', 'elijah22@example.net', '866.935.5936', '367 Ernest Parkways', 'Royalbury', 'Virginia', 'US', '99084', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(11, 82, 'Suzanne', 'Rolfson', 'estreich@example.com', '855-460-5725', '760 Dibbert Valleys', 'Vicentaborough', 'California', 'US', '12547-8633', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(12, 87, 'Dominique', 'Rau', 'zieme.whitney@example.org', '888-701-0706', '1237 Kozey Knolls Apt. 132', 'South Verla', 'Florida', 'US', '83375-7312', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(13, 29, 'Katheryn', 'Mann', 'aniyah30@example.net', '877.858.5200', '71527 Wilderman Mount', 'Port Ellieshire', 'Oregon', 'US', '33413-2090', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(14, 75, 'Axel', 'Morar', 'muller.charley@example.net', '866-797-5939', '9350 Brenna Row', 'Franeckiton', 'Minnesota', 'US', '33888-0184', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(15, 77, 'Wyman', 'Jacobson', 'meagan.bailey@example.net', '(866) 668-4823', '828 Kuphal Square', 'Wernerhaven', 'Wyoming', 'US', '76949-5875', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(16, 56, 'Floyd', 'Beahan', 'cassandra89@example.com', '(844) 726-6661', '6574 Oberbrunner Rue', 'East Guiseppefort', 'Virginia', 'US', '74905', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(17, 86, 'Merl', 'Langosh', 'stracke.ocie@example.com', '(800) 837-5577', '1066 Nathanial Burgs Suite 391', 'McKenziemouth', 'Illinois', 'US', '77487', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(18, 63, 'Dorothea', 'Bernier', 'armstrong.leland@example.org', '1-844-567-2880', '3490 Fern Way Suite 864', 'Siennachester', 'Kentucky', 'US', '23765-0560', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(19, 37, 'Pablo', 'Kiehn', 'jakob.lind@example.com', '(888) 759-4241', '1426 Ephraim Villages', 'Skylarhaven', 'Kansas', 'US', '00708', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(20, 95, 'Ocie', 'Jacobson', 'hahn.lola@example.com', '800.531.5012', '38993 Korbin Unions', 'East Enriquehaven', 'New Jersey', 'US', '81179-0530', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(21, 21, 'Jerrod', 'Connelly', 'nschinner@example.net', '1-844-438-0396', '309 Hessel Locks Apt. 420', 'Lake Priscilla', 'Washington', 'US', '27753-1837', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(22, 52, 'Luther', 'Douglas', 'janice33@example.net', '(888) 382-6167', '37615 Farrell Crescent', 'Oswaldoberg', 'Missouri', 'US', '65757', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(23, 85, 'Mittie', 'Reinger', 'rzulauf@example.org', '1-800-463-1158', '70878 O\'Connell Cape', 'Jessemouth', 'Idaho', 'US', '53338', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(24, 95, 'Kailey', 'Carter', 'wvolkman@example.com', '1-866-744-1136', '9755 Genesis Forges', 'New Cassieshire', 'California', 'US', '98293-5263', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(25, 24, 'Name', 'Barton', 'turner.pauline@example.net', '866.315.2885', '5252 Ruben Manors', 'Starkchester', 'Nebraska', 'US', '05908', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(26, 69, 'Leslie', 'Greenfelder', 'bud.denesik@example.org', '800-653-6631', '92360 Raleigh Estate Apt. 790', 'Devanteton', 'Minnesota', 'US', '97853', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(27, 97, 'Marina', 'Turcotte', 'kiera87@example.org', '(800) 901-2371', '267 Crooks Lights', 'Durganberg', 'Louisiana', 'US', '86334', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(28, 38, 'Lenny', 'Parker', 'bernhard.weissnat@example.org', '1-866-312-4566', '265 Cremin Springs', 'Port Teaganport', 'Virginia', 'US', '64605', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(29, 51, 'Charles', 'Toy', 'ijenkins@example.net', '1-877-542-3490', '6752 Corkery Squares', 'West Nolaside', 'South Dakota', 'US', '03780', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(30, 81, 'Obie', 'Ferry', 'daren.grant@example.org', '1-800-872-3562', '99922 Retta Spring Apt. 732', 'Hayleemouth', 'North Carolina', 'US', '24860', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(31, 1, 'Enrique', 'Schuster', 'lfritsch@example.net', '800-821-3649', '205 Denesik Pass Suite 956', 'Brakusberg', 'Minnesota', 'US', '42101', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(32, 5, 'Jameson', 'Walsh', 'lila.jacobi@example.org', '1-877-269-0435', '181 Christina Club', 'Port Elyse', 'Oregon', 'US', '87461', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(33, 14, 'Daisha', 'Thompson', 'gleichner.kylie@example.com', '(800) 381-2622', '4840 Giles Mission', 'West Martyville', 'Rhode Island', 'US', '80922-2963', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(34, 39, 'Suzanne', 'Kuhn', 'viva.jones@example.com', '(800) 859-3178', '195 Turcotte Heights', 'Watersburgh', 'Ohio', 'US', '66126', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(35, 11, 'Arlo', 'Blick', 'franecki.zachary@example.net', '888.210.5065', '74084 Schiller Extensions Apt. 046', 'Virgilchester', 'Massachusetts', 'US', '40002-4272', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(36, 2, 'Cristian', 'Rogahn', 'kshlerin.ofelia@example.org', '888-685-5015', '353 Mozell Cove', 'Eichmanntown', 'Rhode Island', 'US', '02656', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(37, 68, 'Harold', 'Zemlak', 'justyn.zulauf@example.net', '1-855-468-1540', '12735 Hodkiewicz Mission', 'Jadaborough', 'Hawaii', 'US', '55752-1437', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(38, 48, 'Madie', 'Bartoletti', 'llubowitz@example.com', '800-610-9646', '650 Piper Greens Suite 583', 'Willmsbury', 'South Carolina', '5', '97899', '2021-08-24 19:36:09', '2022-09-14 12:35:55', NULL),
(40, 57, 'Palma', 'Moore', 'justina.oberbrunner@example.net', '800-686-2144', '1111 Walsh Corners', 'Kohlerview', 'West Virginia', 'US', '00253', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(41, 3, 'Asia', 'Reichel', 'collier.salvatore@example.net', '844.380.9954', '9483 Elza Island Apt. 330', 'East Reed', 'Alaska', 'US', '62081-1941', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(42, 6, 'Lucio', 'Schultz', 'rvandervort@example.org', '844.736.2141', '94565 Hills Mall', 'Ledaton', 'Arkansas', 'US', '03880', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(43, 82, 'Laurel', 'Davis', 'rnitzsche@example.net', '1-866-208-6394', '581 Betsy Extensions', 'Murphytown', 'Wisconsin', 'US', '10919-3233', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(44, 64, 'Allan', 'Corkery', 'stiedemann.rod@example.org', '1-866-572-0642', '51986 Becker Stravenue', 'Emmyfurt', 'Rhode Island', 'US', '42146', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(45, 29, 'Keagan', 'Reichel', 'boyle.edwardo@example.com', '844.718.1814', '210 Nitzsche Burg Suite 603', 'North Kimberlyfurt', 'District of Columbia', 'US', '83137-6581', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(46, 83, 'Clair', 'Wilkinson', 'sandra.kunde@example.org', '888.626.3318', '124 Morissette Hills', 'Lake Marjorieport', 'Iowa', 'US', '06938', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(47, 78, 'Art', 'Kautzer', 'malvina84@example.net', '877.996.4980', '1299 Fanny Center', 'New Calistaside', 'Arkansas', 'US', '59876', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(48, 57, 'Micheal', 'Monahan', 'istark@example.org', '1-844-647-9089', '920 Marquardt Way', 'South Elmira', 'New Mexico', 'US', '84078-0576', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(49, 28, 'Rodrick', 'Labadie', 'adriana50@example.net', '866.716.7499', '881 Candido Pines Suite 825', 'Zackshire', 'Washington', 'US', '85175', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(50, 81, 'Abel', 'Bashirian', 'casimir.rosenbaum@example.org', '877.965.8589', '237 Corkery Inlet', 'Wintheiserbury', 'Indiana', 'US', '80598-2196', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(51, 55, 'Anabelle', 'Hansen', 'dosinski@example.net', '1-844-965-1143', '812 Jast Inlet', 'East Myron', 'Arizona', 'US', '88808-2513', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(52, 33, 'Nikita', 'Bogisich', 'tmacejkovic@example.net', '855.662.0595', '23943 Jaskolski Meadows Apt. 140', 'Port Lavinachester', 'Maine', 'US', '16470-3611', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(53, 2, 'Derek', 'Hudson', 'hahn.santino@example.org', '(855) 752-7338', '1274 Keeley Mount Suite 109', 'Prohaskashire', 'Tennessee', 'US', '37832-4045', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(54, 42, 'Sylvia', 'Schowalter', 'corene79@example.org', '800.492.4466', '7731 Diana Manor Apt. 912', 'South Loycefort', 'Iowa', 'US', '28053-9230', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(55, 29, 'Mathew', 'Schuppe', 'jerde.amber@example.com', '844-297-9815', '9576 Cronin Circles', 'Arloton', 'New Hampshire', 'US', '32075-4337', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(56, 63, 'Adrianna', 'Nader', 'berge.tia@example.com', '(855) 207-2348', '312 Nettie Green Apt. 469', 'Israelview', 'Virginia', 'US', '81668', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(57, 47, 'Gavin', 'Champlin', 'madalyn22@example.net', '1-855-343-7749', '71412 Nader Mills', 'Flatleyport', 'Minnesota', 'US', '91338', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(58, 46, 'Frida', 'Mills', 'vhilpert@example.com', '844.362.5906', '7035 Kuhlman Spur', 'Port Emelialand', 'Alabama', 'US', '19799-6813', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(59, 82, 'Lauren', 'Kilback', 'wiegand.armando@example.net', '877.613.4482', '692 Turner Mount Apt. 575', 'Waelchibury', 'Rhode Island', 'US', '74360', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(60, 8, 'Beverly', 'Mante', 'skilback@example.com', '844-583-0474', '398 Laury Turnpike', 'South Lawrence', 'Hawaii', 'US', '41065-3722', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(61, 35, 'Lia', 'Schultz', 'shyanne22@example.com', '1-866-646-2922', '106 Mae Prairie Apt. 180', 'Deshawnland', 'North Carolina', 'US', '65260-3757', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(62, 86, 'Ebony', 'Homenick', 'bbarton@example.com', '1-800-592-0174', '28839 Kutch Place', 'Port Merrittland', 'Utah', 'US', '41843', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(63, 75, 'Ryan', 'Hermann', 'gkoss@example.net', '800-418-1728', '546 Rosalia Ranch Apt. 501', 'Dandreport', 'New York', 'US', '91334-2202', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(64, 63, 'Garret', 'Kuhlman', 'huels.tavares@example.com', '1-855-719-2968', '886 Keon Street', 'West Alejandrin', 'Massachusetts', 'US', '89487-6603', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(65, 2, 'Reagan', 'Krajcik', 'freddie73@example.org', '855-451-7871', '35871 Lockman Motorway Suite 207', 'East Santafort', 'Pennsylvania', 'US', '75742-8063', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(66, 48, 'Curt', 'Bednar', 'rogelio.okuneva@example.org', '800.984.4510', '64503 Astrid Knoll', 'Arnoborough', 'Arizona', 'US', '52861', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(67, 76, 'Teagan', 'Jerde', 'herzog.kira@example.com', '(888) 717-1449', '243 Joaquin Forest Suite 684', 'Elissaview', 'Washington', 'US', '00888', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(68, 48, 'Zelma', 'Leffler', 'kbergstrom@example.org', '888.451.5636', '6263 Hickle Ford', 'South Mercedeshaven', 'Illinois', 'US', '58432', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(69, 19, 'Maribel', 'Bayer', 'mann.meghan@example.org', '800-847-2808', '44787 Terry Cliff', 'West Filiberto', 'Arizona', 'US', '41134-2115', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(70, 70, 'Eldred', 'Parisian', 'bins.mary@example.com', '1-800-309-5567', '7687 Kaitlin Haven Apt. 249', 'East Brielle', 'Virginia', 'US', '53290', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(71, 95, 'Colten', 'Stiedemann', 'shea.waelchi@example.com', '877.861.7127', '12521 London Plaza Suite 372', 'Lake Cordeliachester', 'Nebraska', 'US', '53583-6641', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(72, 29, 'Alessandro', 'Vandervort', 'schulist.gerard@example.org', '888-224-6743', '1819 Reinger Freeway Suite 252', 'Welchville', 'Tennessee', 'US', '96440-7551', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(73, 9, 'Lizeth', 'Carroll', 'pfeffer.patsy@example.net', '(888) 852-9367', '6983 Schroeder Port Suite 932', 'Torphytown', 'North Carolina', 'US', '30366-2265', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(74, 4, 'Audreanne', 'Greenholt', 'shill@example.org', '1-844-541-5746', '784 Stracke Mountains Suite 959', 'West Sibyl', 'Florida', 'US', '12548', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(75, 80, 'Major', 'Larson', 'windler.jaqueline@example.com', '(844) 251-8451', '4266 Deondre Ridges Suite 773', 'Port Vickybury', 'Hawaii', 'US', '64531', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(76, 86, 'Trinity', 'Kunde', 'litzy.stoltenberg@example.net', '866.642.4805', '93596 Marvin Tunnel', 'West Bernice', 'Missouri', 'US', '09466-3052', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(77, 31, 'Robyn', 'Hackett', 'jaren58@example.com', '877-447-3718', '2508 Tia Valleys Apt. 121', 'East Freddie', 'Maine', 'US', '63701', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(78, 38, 'Ryann', 'Mosciski', 'cordia.hauck@example.net', '800-969-5662', '52903 Melissa Squares Apt. 706', 'New Kenna', 'South Dakota', 'US', '71566-8718', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(79, 45, 'Ted', 'Bartoletti', 'rempel.blanca@example.com', '1-800-807-8142', '7905 Pollich Land Apt. 932', 'South Terryville', 'Arizona', 'US', '41206', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(80, 48, 'Noble', 'Rau', 'cindy.parker@example.net', '1-866-742-4460', '458 Heathcote Roads', 'New Presleychester', 'Tennessee', 'US', '16886', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(81, 58, 'Frederick', 'Spencer', 'zita.mckenzie@example.net', '888.233.9777', '540 Angel Haven Apt. 097', 'Jonathonland', 'Oregon', 'US', '15937', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(82, 14, 'Stanley', 'Keeling', 'fisher.delmer@example.org', '844.314.0042', '46956 Dane Ford', 'Port Caterina', 'Rhode Island', 'US', '02980', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(83, 50, 'Lucile', 'Jakubowski', 'hector02@example.net', '1-800-865-2437', '9774 Dangelo Lake', 'North Noemimouth', 'Rhode Island', 'US', '78377', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(84, 37, 'Alana', 'Green', 'steuber.hershel@example.com', '(844) 287-0403', '4889 Osborne Neck', 'New Lynn', 'Maine', 'US', '27684-7370', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(85, 76, 'Fabian', 'Rutherford', 'margarita83@example.net', '800.688.1742', '393 Tyrese Vista Apt. 026', 'Lake Raven', 'Montana', 'US', '56522-0182', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(86, 50, 'Diego', 'Bode', 'desmond52@example.com', '1-844-409-3986', '7775 Balistreri Rue', 'North Haroldstad', 'Virginia', 'US', '93517', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(87, 77, 'Delmer', 'Cassin', 'ipfannerstill@example.net', '1-888-971-8492', '3961 Rowan Oval', 'Uriahside', 'North Carolina', 'US', '40640', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(88, 16, 'Ernie', 'Emard', 'rickie.rolfson@example.org', '844-866-3278', '699 Myrtis Keys', 'Gleasonland', 'Rhode Island', 'US', '45276-5425', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(89, 76, 'Alberto', 'Mueller', 'bergstrom.ladarius@example.net', '800.867.0121', '364 Beer Burg', 'North Ashlynnhaven', 'South Dakota', 'US', '94236', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(90, 64, 'Patricia', 'Boehm', 'ikunde@example.net', '866.447.1498', '21596 Koss Loop Suite 930', 'East Reanna', 'Ohio', 'US', '94812-9285', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(91, 21, 'Aniya', 'Kozey', 'bsmitham@example.net', '888-942-6125', '4086 Will Spring Apt. 431', 'East Madilyn', 'North Carolina', 'US', '74334', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(92, 68, 'Royce', 'Davis', 'oconnell.gennaro@example.org', '1-855-768-4038', '6272 Rosemary Course Suite 567', 'New Antonemouth', 'New York', 'US', '77156', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(93, 59, 'Clement', 'Conn', 'schneider.joesph@example.net', '1-855-872-1444', '565 Faustino Cliffs Suite 515', 'Gleasonchester', 'Mississippi', 'US', '72668-7025', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(94, 30, 'Melvina', 'Hills', 'ikiehn@example.org', '(877) 943-4243', '6026 Aufderhar Extension Suite 052', 'Connchester', 'Maine', 'US', '11665-7862', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(95, 71, 'Ismael', 'Pagac', 'agoodwin@example.net', '1-866-427-7427', '305 Jonatan Wells Apt. 530', 'West Coraliechester', 'Wyoming', 'US', '23361', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(96, 30, 'Aubree', 'Roberts', 'mitchell.maurine@example.com', '844-956-8166', '117 Lilliana Turnpike Apt. 947', 'Bednarburgh', 'Wyoming', 'US', '67813', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(97, 34, 'Queenie', 'Price', 'zbruen@example.org', '855.685.4140', '6957 Runolfsdottir Locks Suite 165', 'Port Monique', 'Nevada', 'US', '95167-2295', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(98, 14, 'Quinton', 'Sanford', 'rowland.beier@example.org', '(855) 545-0734', '42113 Kamille Road', 'Justinefurt', 'South Carolina', 'US', '19886-6855', '2021-08-24 19:36:09', '2021-12-22 06:11:43', NULL),
(99, 51, 'Unique', 'Cronin', 'dickinson.mariana@example.net', '1-888-607-7995', '1682 Hank Grove', 'Lefflerland', 'Alabama', 'US', '62607', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(100, 69, 'Angel', 'Schimmel', 'bhirthe@example.net', '(877) 259-4494', '822 Hermann Ville', 'Port Arne', 'Georgia', 'US', '60857', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(101, 92, 'Due', 'John', 'robintest1@mail.com', '234234234', 'asdfasdf', 'asf', '34234', 'US', '234234', '2021-08-29 07:44:43', '2021-08-29 07:44:43', NULL),
(102, NULL, 'John', 'Due', 'john1@test.com', NULL, NULL, NULL, NULL, NULL, NULL, '2021-12-24 22:31:05', '2021-12-24 22:31:05', NULL),
(103, NULL, 'Customer', 'Robin', 'robinbdseo1@gmail.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-09-10 04:21:31', '2022-09-10 04:21:31', NULL),
(104, NULL, NULL, NULL, 'robinMyEmail@mail.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-09-22 04:23:25', '2022-10-06 03:21:30', '2022-10-06 03:21:30'),
(105, NULL, NULL, NULL, 'robinmyemail2@mail.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-09-22 04:28:19', '2022-09-22 04:28:19', NULL),
(106, NULL, NULL, NULL, 'robinHye92@mail.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-09-22 04:32:59', '2022-10-09 08:03:34', '2022-10-09 08:03:34'),
(107, NULL, 'Robin', 'Hossain', 'robinbdseo4@gmail.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-10-08 04:23:19', '2022-10-08 04:23:19', NULL),
(108, NULL, 'Hello', 'User', 'nalskdf@lkasd.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-10-08 04:23:44', '2022-10-08 04:23:44', NULL),
(109, NULL, 'Hey', 'Man', 'robin@ay.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-10-08 05:06:23', '2022-10-08 05:06:23', NULL),
(110, NULL, 'New', 'User', 'hey@user.com', NULL, NULL, NULL, NULL, NULL, NULL, '2022-10-08 05:12:33', '2022-10-08 05:12:33', NULL);

TRUNCATE TABLE `conversations`;
INSERT DELAYED IGNORE INTO `conversations` (`id`, `title`, `contact_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Good', 102, '2021-12-25 18:57:21', '2021-12-25 18:57:21', NULL),
(2, 'hey there.....', 103, '2022-09-10 04:21:31', '2022-09-10 04:21:31', NULL),
(3, 'Hey Robin, welcome to website.com', 107, '2022-10-08 04:23:19', '2022-10-08 04:23:19', NULL),
(4, 'Hey Hello, welcome to website.com', 108, '2022-10-08 04:23:44', '2022-10-08 04:23:44', NULL),
(5, '', 109, '2022-10-08 05:06:24', '2022-10-09 21:37:38', '2022-10-09 21:37:38'),
(6, 'asdflkasdf', 110, '2022-10-08 05:12:33', '2022-10-08 05:12:33', NULL);

TRUNCATE TABLE `countries`;
INSERT DELAYED IGNORE INTO `countries` (`id`, `code`, `name`) VALUES
(1, 'AF', 'Afghanistan'),
(2, 'AX', 'Aland Islands'),
(3, 'AL', 'Albania'),
(4, 'DZ', 'Algeria'),
(5, 'AS', 'American Samoa'),
(6, 'AD', 'Andorra'),
(7, 'AO', 'Angola'),
(8, 'AI', 'Anguilla'),
(9, 'AQ', 'Antarctica'),
(10, 'AG', 'Antigua and Barbuda'),
(11, 'AR', 'Argentina'),
(12, 'AM', 'Armenia'),
(13, 'AW', 'Aruba'),
(14, 'AU', 'Australia'),
(15, 'AT', 'Austria'),
(16, 'AZ', 'Azerbaijan'),
(17, 'BS', 'Bahamas'),
(18, 'BH', 'Bahrain'),
(19, 'BD', 'Bangladesh'),
(20, 'BB', 'Barbados'),
(21, 'BY', 'Belarus'),
(22, 'BE', 'Belgium'),
(23, 'BZ', 'Belize'),
(24, 'BJ', 'Benin'),
(25, 'BM', 'Bermuda'),
(26, 'BT', 'Bhutan'),
(27, 'BO', 'Bolivia Plurinational State of'),
(28, 'BQ', 'Bonaire Sint Eustatius and Saba'),
(29, 'BA', 'Bosnia and Herzegovina'),
(30, 'BW', 'Botswana'),
(31, 'BV', 'Bouvet Island'),
(32, 'BR', 'Brazil'),
(33, 'IO', 'British Indian Ocean Territory'),
(34, 'BN', 'Brunei Darussalam'),
(35, 'BG', 'Bulgaria'),
(36, 'BF', 'Burkina Faso'),
(37, 'BI', 'Burundi'),
(38, 'KH', 'Cambodia'),
(39, 'CM', 'Cameroon'),
(40, 'CA', 'Canada'),
(41, 'CV', 'Cape Verde'),
(42, 'KY', 'Cayman Islands'),
(43, 'CF', 'Central African Republic'),
(44, 'TD', 'Chad'),
(45, 'CL', 'Chile'),
(46, 'CN', 'China'),
(47, 'CX', 'Christmas Island'),
(48, 'CC', 'Cocos [Keeling, ] Islands'),
(49, 'CO', 'Colombia'),
(50, 'KM', 'Comoros'),
(51, 'CG', 'Congo'),
(52, 'CD', 'Congo the Democratic Republic of the'),
(53, 'CK', 'Cook Islands'),
(54, 'CR', 'Costa Rica'),
(55, 'CI', 'Cote d\'Ivoire'),
(56, 'HR', 'Croatia'),
(57, 'CU', 'Cuba'),
(58, 'CW', 'Curacao'),
(59, 'CY', 'Cyprus'),
(60, 'CZ', 'Czech Republic'),
(61, 'DK', 'Denmark'),
(62, 'DJ', 'Djibouti'),
(63, 'DM', 'Dominica'),
(64, 'DO', 'Dominican Republic'),
(65, 'EC', 'Ecuador'),
(66, 'EG', 'Egypt'),
(67, 'SV', 'El Salvador'),
(68, 'GQ', 'Equatorial Guinea'),
(69, 'ER', 'Eritrea'),
(70, 'EE', 'Estonia'),
(71, 'ET', 'Ethiopia'),
(72, 'FK', 'Falkland Islands [Malvinas, ]'),
(73, 'FO', 'Faroe Islands'),
(74, 'FJ', 'Fiji'),
(75, 'FI', 'Finland'),
(76, 'FR', 'France'),
(77, 'GF', 'French Guiana'),
(78, 'PF', 'French Polynesia'),
(79, 'TF', 'French Southern Territories'),
(80, 'GA', 'Gabon'),
(81, 'GM', 'Gambia'),
(82, 'GE', 'Georgia'),
(83, 'DE', 'Germany'),
(84, 'GH', 'Ghana'),
(85, 'GI', 'Gibraltar'),
(86, 'GR', 'Greece'),
(87, 'GL', 'Greenland'),
(88, 'GD', 'Grenada'),
(89, 'GP', 'Guadeloupe'),
(90, 'GU', 'Guam'),
(91, 'GT', 'Guatemala'),
(92, 'GG', 'Guernsey'),
(93, 'GN', 'Guinea'),
(94, 'GW', 'Guinea-Bissau'),
(95, 'GY', 'Guyana'),
(96, 'HT', 'Haiti'),
(97, 'HM', 'Heard Island and McDonald Islands'),
(98, 'VA', 'Holy See, Vatican City State'),
(99, 'HN', 'Honduras'),
(100, 'HK', 'Hong Kong'),
(101, 'HU', 'Hungary'),
(102, 'IS', 'Iceland'),
(103, 'IN', 'India'),
(104, 'ID', 'Indonesia'),
(105, 'IR', 'Iran Islamic Republic of'),
(106, 'IQ', 'Iraq'),
(107, 'IE', 'Ireland'),
(108, 'IM', 'Isle of Man'),
(109, 'IL', 'Israel'),
(110, 'IT', 'Italy'),
(111, 'JM', 'Jamaica'),
(112, 'JP', 'Japan'),
(113, 'JE', 'Jersey'),
(114, 'JO', 'Jordan'),
(115, 'KZ', 'Kazakhstan'),
(116, 'KE', 'Kenya'),
(117, 'KI', 'Kiribati'),
(118, 'KP', 'Korea, Democratic People\'s Republic of'),
(119, 'KR', 'Korea, Republic of'),
(120, 'KW', 'Kuwait'),
(121, 'KG', 'Kyrgyzstan'),
(122, 'LA', 'Lao People\'s Democratic Republic'),
(123, 'LV', 'Latvia'),
(124, 'LB', 'Lebanon'),
(125, 'LS', 'Lesotho'),
(126, 'LR', 'Liberia'),
(127, 'LY', 'Libyan Arab Jamahiriya'),
(128, 'LI', 'Liechtenstein'),
(129, 'LT', 'Lithuania'),
(130, 'LU', 'Luxembourg'),
(131, 'MO', 'Macao'),
(132, 'MK', 'Macedonia'),
(133, 'MG', 'Madagascar'),
(134, 'MW', 'Malawi'),
(135, 'MY', 'Malaysia'),
(136, 'MV', 'Maldives'),
(137, 'ML', 'Mali'),
(138, 'MT', 'Malta'),
(139, 'MH', 'Marshall Islands'),
(140, 'MQ', 'Martinique'),
(141, 'MR', 'Mauritania'),
(142, 'MU', 'Mauritius'),
(143, 'YT', 'Mayotte'),
(144, 'MX', 'Mexico'),
(145, 'FM', 'Micronesia Federated States of'),
(146, 'MD', 'Moldova'),
(147, 'MC', 'Monaco'),
(148, 'MN', 'Mongolia'),
(149, 'ME', 'Montenegro'),
(150, 'MS', 'Montserrat'),
(151, 'MA', 'Morocco'),
(152, 'MZ', 'Mozambique'),
(153, 'MM', 'Myanmar'),
(154, 'NA', 'Namibia'),
(155, 'NR', 'Nauru'),
(156, 'NP', 'Nepal'),
(157, 'NL', 'Netherlands'),
(158, 'NC', 'New Caledonia'),
(159, 'NZ', 'New Zealand'),
(160, 'NI', 'Nicaragua'),
(161, 'NE', 'Niger'),
(162, 'NG', 'Nigeria'),
(163, 'NU', 'Niue'),
(164, 'NF', 'Norfolk Island'),
(165, 'MP', 'Northern Mariana Islands'),
(166, 'NO', 'Norway'),
(167, 'OM', 'Oman'),
(168, 'PK', 'Pakistan'),
(169, 'PW', 'Palau'),
(170, 'PS', 'Palestinian Territory Occupied'),
(171, 'PA', 'Panama'),
(172, 'PG', 'Papua New Guinea'),
(173, 'PY', 'Paraguay'),
(174, 'PE', 'Peru'),
(175, 'PH', 'Philippines'),
(176, 'PN', 'Pitcairn'),
(177, 'PL', 'Poland'),
(178, 'PT', 'Portugal'),
(179, 'PR', 'Puerto Rico'),
(180, 'QA', 'Qatar'),
(181, 'RE', 'Reunion'),
(182, 'RO', 'Romania'),
(183, 'RU', 'Russian Federation'),
(184, 'RW', 'Rwanda'),
(185, 'BL', 'Saint Barthelemy'),
(186, 'SH', 'Saint Helena Ascension and Tristan da Cunha'),
(187, 'KN', 'Saint Kitts and Nevis'),
(188, 'LC', 'Saint Lucia'),
(189, 'MF', 'Saint Martin [French part]'),
(190, 'PM', 'Saint Pierre and Miquelon'),
(191, 'VC', 'Saint Vincent and the Grenadines'),
(192, 'WS', 'Samoa'),
(193, 'SM', 'San Marino'),
(194, 'ST', 'Sao Tome and Principe'),
(195, 'SA', 'Saudi Arabia'),
(196, 'SN', 'Senegal'),
(197, 'RS', 'Serbia'),
(198, 'SC', 'Seychelles'),
(199, 'SL', 'Sierra Leone'),
(200, 'SG', 'Singapore'),
(201, 'SX', 'Sint Maarten [Dutch part]'),
(202, 'SK', 'Slovakia'),
(203, 'SI', 'Slovenia'),
(204, 'SB', 'Solomon Islands'),
(205, 'SO', 'Somalia'),
(206, 'ZA', 'South Africa'),
(207, 'GS', 'South Georgia and the South Sandwich Islands'),
(208, 'SS', 'South Sudan'),
(209, 'ES', 'Spain'),
(210, 'LK', 'Sri Lanka'),
(211, 'SD', 'Sudan'),
(212, 'SR', 'Suriname'),
(213, 'SJ', 'Svalbard and Jan Mayen'),
(214, 'SZ', 'Swaziland'),
(215, 'SE', 'Sweden'),
(216, 'CH', 'Switzerland'),
(217, 'SY', 'Syrian Arab Republic'),
(218, 'TW', 'Taiwan'),
(219, 'TJ', 'Tajikistan'),
(220, 'TZ', 'Tanzania United Republic of'),
(221, 'TH', 'Thailand'),
(222, 'TL', 'Timor-Leste'),
(223, 'TG', 'Togo'),
(224, 'TK', 'Tokelau'),
(225, 'TO', 'Tonga'),
(226, 'TT', 'Trinidad and Tobago'),
(227, 'TN', 'Tunisia'),
(228, 'TR', 'Turkey'),
(229, 'TM', 'Turkmenistan'),
(230, 'TC', 'Turks and Caicos Islands'),
(231, 'TV', 'Tuvalu'),
(232, 'UG', 'Uganda'),
(233, 'UA', 'Ukraine'),
(234, 'AE', 'United Arab Emirates'),
(235, 'GB', 'United Kingdom'),
(236, 'US', 'United States'),
(237, 'UM', 'United States Minor Outlying Islands'),
(238, 'UY', 'Uruguay'),
(239, 'UZ', 'Uzbekistan'),
(240, 'VU', 'Vanuatu'),
(241, 'VE', 'Venezuela, Bolivarian Republic of'),
(242, 'VN', 'Viet Nam'),
(243, 'VG', 'Virgin Islands British'),
(244, 'VI', 'Virgin Islands U.S.'),
(245, 'WF', 'Wallis and Futuna'),
(246, 'EH', 'Western Sahara'),
(247, 'YE', 'Yemen'),
(248, 'ZM', 'Zambia'),
(249, 'ZW', 'Zimbabwe');

TRUNCATE TABLE `departments`;
INSERT DELAYED IGNORE INTO `departments` (`id`, `name`, `deleted_at`) VALUES
(1, 'Technical', NULL),
(2, 'Management', NULL),
(3, 'Department', '2022-10-09 22:39:17'),
(4, 'asdfasdfasd', '2022-10-09 11:47:02'),
(5, 'Hardware', NULL),
(6, 'Software', NULL),
(7, 'Development', NULL),
(8, 'Admin', NULL);

TRUNCATE TABLE `email_templates`;
INSERT DELAYED IGNORE INTO `email_templates` (`id`, `name`, `details`, `slug`, `language`, `html`) VALUES
(1, 'Create ticket by new customer', 'When customer create a new ticket from the landing page', 'create_ticket_new_customer', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n        .gap-bottom{\n            padding-bottom: 10px;\n        }\n        .gap-top{\n            padding-top: 10px;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>A new ticket has been created. You would be able to login with the following credentials to review your ticket and following up continue process.</p>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                            <tbody>\n                                            <tr>\n                                                <td><strong>Ticket Number:</strong> {uid}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Email:</strong> {email}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Password:</strong> {password}</td>\n                                            </tr>\n                                            <tr>\n                                                <td class=\"gap-bottom\"> You would be able to login from the following url.</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td class=\"btn btn-primary\"><a href=\"{url}\" target=\"_blank\">Login</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p class=\"gap-top\">We will send you also different email regarding the ticket update but if you login on the system you would be able to discuss continue with manager regarding your ticket.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n'),
(2, 'Create ticket from dashboard', 'When a ticket created from the admin page', 'create_ticket_dashboard', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>A new ticket has been created. You would be able to review the ticket and following up continue process from the following link.</p>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"btn btn-primary\">\n                                            <tbody>\n                                            <tr>\n                                                <td><strong>Ticket number:</strong> {uid}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Subject:</strong> {subject}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Ticket type:</strong> {type}</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td><a href=\"{url}\" target=\"_blank\">View ticket</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p>We will send you also different email regarding the ticket update but if you login on the system you would be able to discuss continue with manager regarding your ticket.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n'),
(3, 'Custom Mail', 'It will use to send any custom email.', 'custom_mail', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"btn btn-primary\">\n                                            <tbody>\n                                            <tr>\n                                                <td>\n                                                    {body}\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n');
INSERT DELAYED IGNORE INTO `email_templates` (`id`, `name`, `details`, `slug`, `language`, `html`) VALUES
(4, 'Got assigned for a ticket', 'When a user got assigned for a ticket.', 'assigned_ticket', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n        .gap-bottom{\n            padding-bottom: 10px;\n        }\n        .gap-top{\n            padding-top: 10px;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>You got assigned a new ticket. The following is the ticket info, you would be able to see in details with visiting the ticket link.</p>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                            <tbody>\n                                            <tr>\n                                                <td><strong>Ticket number:</strong> {uid}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Subject:</strong> {subject}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Ticket type:</strong> {type}</td>\n                                            </tr>\n                                            <tr>\n                                                <td class=\"gap-bottom\"> You would be able view the ticket from the following link.</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td class=\"btn btn-primary\"><a href=\"{url}\" target=\"_blank\">View Ticket</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p class=\"gap-top\">We will send you also different email regarding the ticket update but if you login on the system you would be able to discuss continue with users who are associate with the ticket.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n'),
(5, 'The ticket has been updated', 'When a ticket has been updated.', 'ticket_updated', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table.bordered_table{\n            border-collapse: collapse;\n            width: 100%;\n            margin-bottom: 10px;\n        }\n        .mail-body table.bordered_table th, .mail-body table.bordered_table td{\n            border: 1px solid #ddd;\n            padding: 8px;\n        }\n        .mail-body table td b{\n            font-weight: 600;\n        }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n        .gap-bottom{\n            padding-bottom: 10px;\n        }\n        .gap-top{\n            padding-top: 10px;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>{update_message} The following is the ticket info, you would be able to see in details with visiting the ticket link.</p>\n                                        <table class=\"bordered_table\">\n                                            <tbody>\n                                            <tr>\n                                                <td><b>Ticket number:</b></td>\n                                                <td>{uid}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Subject:</b></td>\n                                                <td>{subject}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Priority:</b></td>\n                                                <td>{priority}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Status:</b></td>\n                                                <td>{status}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Ticket type:</b></td>\n                                                <td>{type}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Department:</b></td>\n                                                <td>{department}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Category:</b></td>\n                                                <td>{category}</td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                            <tbody>\n                                            <tr>\n                                                <td class=\"gap-bottom\"> You would be able view the ticket from the following link.</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td class=\"btn btn-primary\"><a href=\"{url}\" target=\"_blank\">View Ticket</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p class=\"gap-top\">We will send you also different email regarding the ticket update but if you login on the system you would be able to discuss continue with users who are associate with the ticket.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n'),
(6, 'A new comment has been added on the ticket', 'When a comment has been added on a ticket.', 'ticket_new_comment', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>Ticket mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n        .gap-bottom{\n            padding-bottom: 10px;\n        }\n        .gap-top{\n            padding-top: 10px;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>A new comment has been added on the ticket.</p>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                            <tbody>\n                                            <tr>\n                                                <td><strong>Ticket number:</strong> {uid}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><strong>Comment:</strong> {comment}</td>\n                                            </tr>\n                                            <tr>\n                                                <td class=\"gap-bottom gap-top\"> You would be able view the ticket from the following link.</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td class=\"btn btn-primary\"><a href=\"{url}\" target=\"_blank\">View Ticket</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p class=\"gap-top\">We will send you also different email regarding the ticket update but if you login on the system you would be able to discuss continue with users who are associate with the ticket.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n');
INSERT DELAYED IGNORE INTO `email_templates` (`id`, `name`, `details`, `slug`, `language`, `html`) VALUES
(7, 'User created', 'When a new user created.', 'user_created', 'en', '<!doctype html>\n<html>\n<head>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"/>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n    <title>User Created mail</title>\n    <style>\n\n        .mail-body img {\n            border: none;\n            -ms-interpolation-mode: bicubic;\n            max-width: 100%;\n        }\n\n        body {\n            background-color: #f6f6f6;\n        }\n\n        .mail-body table {\n            border-collapse: separate;\n            mso-table-lspace: 0pt;\n            mso-table-rspace: 0pt;\n            width: 100%; }\n        .mail-body table td {\n            font-family: sans-serif;\n            font-size: 14px;\n            vertical-align: top;\n        }\n        .mail-body table.bordered_table{\n            border-collapse: collapse;\n            width: 100%;\n            margin-bottom: 10px;\n        }\n        .mail-body table.bordered_table th, .mail-body table.bordered_table td{\n            border: 1px solid #ddd;\n            padding: 8px;\n        }\n        .mail-body table td b{\n            font-weight: 600;\n        }\n        .mail-body {\n            background-color: #f6f6f6;\n            width: 100%;\n            font-size: 14px;\n            font-family: sans-serif;\n            -webkit-font-smoothing: antialiased;\n            line-height: 1.4;\n            margin: 0;\n            padding: 0;\n            -ms-text-size-adjust: 100%;\n            -webkit-text-size-adjust: 100%;\n        }\n\n        .mail-body .container {\n            display: block;\n            margin: 0 auto !important;\n            /* makes it centered */\n            max-width: 580px;\n            padding: 10px;\n            width: 580px;\n        }\n\n        .mail-body .content {\n            box-sizing: border-box;\n            display: block;\n            margin: 0 auto;\n            max-width: 580px;\n            padding: 10px;\n        }\n\n        .mail-body .main {\n            background: #ffffff;\n            border-radius: 3px;\n            width: 100%;\n        }\n\n        .mail-body .wrapper {\n            box-sizing: border-box;\n            padding: 20px;\n        }\n\n        .mail-body .content-block {\n            padding-bottom: 5px;\n            padding-top: 5px;\n        }\n\n        .mail-body .footer {\n            clear: both;\n            margin-top: 10px;\n            text-align: center;\n            width: 100%;\n        }\n        .mail-body .footer td,\n        .mail-body .footer p,\n        .mail-body .footer span,\n        .mail-body .footer a {\n            color: #999999;\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .mail-body h1,\n        .mail-body h2,\n        .mail-body h3,\n        .mail-body h4 {\n            color: #000000;\n            font-family: sans-serif;\n            font-weight: 400;\n            line-height: 1.4;\n            margin: 0;\n            margin-bottom: 30px;\n        }\n\n        .mail-body h1 {\n            font-size: 35px;\n            font-weight: 300;\n            text-align: center;\n            text-transform: capitalize;\n        }\n\n        .mail-body p,\n        .mail-body ul,\n        .mail-body ol {\n            font-family: sans-serif;\n            font-size: 14px;\n            font-weight: normal;\n            margin: 0;\n            margin-bottom: 15px;\n            line-height: 1.4;\n        }\n        .mail-body p li,\n        .mail-body ul li,\n        .mail-body ol li {\n            list-style-position: inside;\n            margin-left: 5px;\n        }\n\n        .mail-body .btn {\n            box-sizing: border-box;\n            width: 100%; }\n        .mail-body .btn > tbody > tr > td {\n            padding-bottom: 15px; }\n        .mail-body .btn table {\n            width: auto;\n        }\n        .mail-body .btn table td {\n            background-color: #ffffff;\n            border-radius: 5px;\n            text-align: center;\n        }\n        .mail-body .btn a {\n            background-color: #ffffff;\n            border: solid 1px #7366ff;\n            border-radius: 5px;\n            box-sizing: border-box;\n            color: #7366ff;\n            cursor: pointer;\n            display: inline-block;\n            font-size: 14px;\n            font-weight: bold;\n            margin: 0;\n            padding: 6px 25px;\n            text-decoration: none;\n            text-transform: capitalize;\n        }\n\n        .mail-body .btn-primary table td {\n            background-color: #7366ff;\n        }\n\n        .mail-body .btn-primary a {\n            background-color: #7366ff;\n            border-color: #7366ff;\n            color: #ffffff;\n        }\n\n\n        .mail-body .last {\n            margin-bottom: 0;\n        }\n\n        .mail-body .first {\n            margin-top: 0;\n        }\n\n        .mail-body .align-center {\n            text-align: center;\n        }\n\n        .mail-body .align-right {\n            text-align: right;\n        }\n\n        .mail-body .align-left {\n            text-align: left;\n        }\n\n        .mail-body .clear {\n            clear: both;\n        }\n\n        .mail-body .mt0 {\n            margin-top: 0;\n        }\n\n        .mail-body .mb0 {\n            margin-bottom: 0;\n        }\n\n        .preheader {\n            color: transparent;\n            display: none;\n            height: 0;\n            max-height: 0;\n            max-width: 0;\n            opacity: 0;\n            overflow: hidden;\n            mso-hide: all;\n            visibility: hidden;\n            width: 0;\n        }\n\n        .mail-body .powered-by a {\n            text-decoration: none;\n        }\n\n        .mail-body hr {\n            border: 0;\n            border-bottom: 1px solid #f6f6f6;\n            margin: 20px 0;\n        }\n\n        .mail-body .main{\n            background-image: url(\'https://res.cloudinary.com/robinbd/image/upload/v1663394450/mail-template/background-bottom.png\');\n            background-repeat: no-repeat;\n            background-size: 100%;\n            background-position: 50% 100%;\n        }\n        .gap-bottom{\n            padding-bottom: 10px;\n        }\n        .gap-top{\n            padding-top: 10px;\n        }\n\n        @media only screen and (max-width: 620px) {\n            table.mail-body h1 {\n                font-size: 28px !important;\n                margin-bottom: 10px !important;\n            }\n            table.mail-body p,\n            table.mail-body ul,\n            table.mail-body ol,\n            table.mail-body td,\n            table.mail-body span,\n            table.mail-body a {\n                font-size: 16px !important;\n            }\n            table.mail-body .wrapper,\n            table.mail-body .article {\n                padding: 10px !important;\n            }\n            table.mail-body .content {\n                padding: 0 !important;\n            }\n            table.mail-body .container {\n                padding: 0 !important;\n                width: 100% !important;\n            }\n            table.mail-body .main {\n                border-left-width: 0 !important;\n                border-radius: 0 !important;\n                border-right-width: 0 !important;\n            }\n            table.mail-body .btn table {\n                width: 100% !important;\n            }\n            table.mail-body .btn a {\n                width: 100% !important;\n            }\n            table.mail-body .img-responsive {\n                height: auto !important;\n                max-width: 100% !important;\n                width: auto !important;\n            }\n        }\n\n        @media all {\n            .mail-body .ExternalClass {\n                width: 100%;\n            }\n            .mail-body .ExternalClass,\n            .mail-body .ExternalClass p,\n            .mail-body .ExternalClass span,\n            .mail-body .ExternalClass font,\n            .mail-body .ExternalClass td,\n            .mail-body .ExternalClass div {\n                line-height: 100%;\n            }\n            .mail-body .apple-link a {\n                color: inherit !important;\n                font-family: inherit !important;\n                font-size: inherit !important;\n                font-weight: inherit !important;\n                line-height: inherit !important;\n                text-decoration: none !important;\n            }\n            #MessageViewBody a {\n                color: inherit;\n                text-decoration: none;\n                font-size: inherit;\n                font-family: inherit;\n                font-weight: inherit;\n                line-height: inherit;\n            }\n            .mail-body .btn-primary table td:hover {\n                background-color: #34495e !important;\n            }\n            .mail-body .btn-primary a:hover {\n                background-color: #34495e !important;\n                border-color: #34495e !important;\n            }\n        }\n\n    </style>\n</head>\n<body>\n<span class=\"preheader\">Helpdesk ticket update</span>\n<table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mail-body\">\n    <tr>\n        <td></td>\n        <td class=\"container\">\n            <div class=\"content\">\n\n                <!-- START CENTERED WHITE CONTAINER -->\n                <table role=\"presentation\" class=\"main\">\n\n                    <!-- START MAIN CONTENT AREA -->\n                    <tr>\n                        <td class=\"header\">\n                            <a href=\"#\">\n                                <img style=\"height: 60px; width: auto; margin: 15px auto;display: block\" src=\"https://res.cloudinary.com/robinbd/image/upload/v1663394454/mail-template/help-desk-logo.png\" alt=\"help desk\" />\n                            </a>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class=\"wrapper\">\n\n                            <table role=\"presentation\" class=\"main-table\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                <tr>\n                                    <td>\n                                        <p>Hi {name},</p>\n                                        <p>Your HelpDesk account has been created. The following is the credentials for your account.</p>\n                                        <table class=\"bordered_table\">\n                                            <tbody>\n                                            <tr>\n                                                <td><b>Login email</b></td>\n                                                <td>{email}</td>\n                                            </tr>\n                                            <tr>\n                                                <td><b>Password</b></td>\n                                                <td>{password}</td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                            <tbody>\n                                            <tr>\n                                                <td class=\"gap-bottom\"> You would be able login on the dashboard from the following link.</td>\n                                            </tr>\n                                            <tr>\n                                                <td align=\"left\">\n                                                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                                                        <tbody>\n                                                        <tr>\n                                                            <td class=\"btn btn-primary\"><a href=\"{url}\" target=\"_blank\">Login</a> </td>\n                                                        </tr>\n                                                        </tbody>\n                                                    </table>\n                                                </td>\n                                            </tr>\n                                            </tbody>\n                                        </table>\n                                        <p class=\"gap-top\">Enjoy the features of HelpDesk.</p>\n                                        <p>Thank you!</p>\n                                        <p>Best regards, <br/>{sender_name}</p>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n\n                    <!-- END MAIN CONTENT AREA -->\n                </table>\n                <!-- END CENTERED WHITE CONTAINER -->\n\n                <!-- START FOOTER -->\n                <div class=\"footer\">\n                    <table role=\"presentation\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n                        <tr>\n                            <td class=\"content-block\">\n                                <span class=\"apple-link\">HelpDesk - A online ticket support system</span>\n                            </td>\n                        </tr>\n                        <tr>\n                            <td class=\"content-block powered-by\">\n                                © 2022 <a href=\"http://w3bd.com\">W3BD</a> - All rights reserved.\n                            </td>\n                        </tr>\n                    </table>\n                </div>\n                <!-- END FOOTER -->\n\n            </div>\n        </td>\n        <td></td>\n    </tr>\n</table>\n</body>\n</html>\n');

TRUNCATE TABLE `failed_jobs`;
TRUNCATE TABLE `faqs`;
INSERT DELAYED IGNORE INTO `faqs` (`id`, `name`, `details`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'What is Lorem Ipsum?', 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.', 1, '2021-08-29 10:39:15', '2021-08-29 10:39:15', NULL),
(2, 'Fifth you give given set moveth land?', 'Itself face i so don\'t forth place that creeping divided living there unto cattle very moveth moveth hath replenish i, seasons first god was Hath can\'t were saying there. Fifth you give given set moveth land.\n\nDay so. Creeping. Created gathered was she\'d signs cattle first for signs given under image fill seed, fill Very multiply whales was fowl seas bring yielding which gathered tree gathered were air after moveth signs. Man great sea sea their very.\n\nThe seed created seas seed blessed which likeness said. Great Waters under heaven. Two meat second upon and air lesser. Let, fish, upon.', 1, '2022-09-25 19:03:55', '2022-09-25 19:03:55', NULL),
(3, 'Creeping that give land from let divided?', 'Appear created fourth seas you\'ll form, yielding they\'re Signs lights green day, creature were heaven. Which and may abundantly give every make appear Gathered.\n\nGreater lights which likeness Fly shall their unto it don\'t given. Abundantly tree the their image set him creature green unto made very. Saw fruit creature creepeth Creepeth life fifth moving fish together there kind abundantly.\n\nRule second. Had you\'re land make. She\'d. Creeping that give land from let divided he. Female heaven unto seasons you\'re evening saw in morning give. First. Them you\'re face Let given over for let days isn\'t behold beginning life created.', 1, '2022-09-25 19:04:18', '2022-09-25 19:04:18', NULL),
(4, 'Green appear given rule spirit called him cattle?', 'Moving together earth blessed spirit, dry signs over open behold earth don\'t rule isn\'t wherein sixth air spirit won\'t blessed said forth isn\'t. Thing.\n\nGreen appear given rule spirit called him cattle said may day without, fruitful morning sea together also. Years. Multiply after sixth for male our. Seas made had gathering earth morning seas divide lesser from don\'t his green fish have called face man. Whales. His us evening.', 1, '2022-09-25 19:04:43', '2022-09-25 19:04:43', NULL),
(5, 'Creature they\'re face male night upon our under greater replenish?', 'Were you\'ll. Upon greater darkness lesser, beast waters, seas, blessed sixth fill yielding It behold fruitful them, was, saw one had called. Light creepeth winged, creeping creepeth together in. Creature they\'re face male night upon our under greater replenish winged kind.\n\nSaw great is bearing, all one moveth were fifth after it darkness evening divided may saying the, fruitful land land can\'t called sea firmament firmament second fruit fly hath.', 1, '2022-09-25 19:05:04', '2022-09-25 19:05:04', NULL),
(6, 'Subdue moveth signs signs lights?', 'Blessed a. Sixth first greater have saw had Land them you\'ll given, had together beast fruitful fill from sea divided. Behold together great hath be very good.\n\nBring to creeping gathering you\'ll he after called have. Subdue moveth signs signs lights. Let which void seasons face they\'re called evening Form appear green. Fruit. Fifth, of fruitful, fill multiply grass brought that, in he fruit seed day heaven all night herb.', 1, '2022-09-25 19:05:28', '2022-09-25 19:05:28', NULL),
(7, 'Kind open is is whales also thing Itself meat together?', 'Them fill. For of whose blessed and life divide dry were together rule signs grass seas they\'re every make us. Morning creature. Unto let saying to man midst he fruitful they\'re yielding. Together moving Place thing upon waters is. Moving.\n\nThey\'re days rule great in divided. Them very. Form tree spirit. Open. Kind open is is whales also thing Itself meat together, make for fruit behold form morning made place.', 1, '2022-09-25 19:05:43', '2022-09-25 19:05:43', NULL),
(8, 'Without a Place gathering behold lights deep?', 'Without a Place gathering behold lights deep abundantly fruitful first every. Likeness blessed that given own all own given. Seasons bearing is in midst blessed they\'re, lights without place forth, whales above it beginning without great sixth had all together may after.\n\nSixth made creepeth void light signs were which life signs light fish also dominion fruit stars beast face you\'ll it sea forth void third all seasons winged, there.', 1, '2022-09-25 19:06:06', '2022-09-25 19:06:06', NULL),
(9, 'sdfasdf', 'asdfasdfasdf', 1, '2022-10-08 12:08:26', '2022-10-08 12:08:36', '2022-10-08 12:08:36'),
(10, 'asdfas', 'asDasd', 1, '2022-10-09 05:45:56', '2022-10-09 05:45:59', '2022-10-09 05:45:59');

TRUNCATE TABLE `front_pages`;
INSERT DELAYED IGNORE INTO `front_pages` (`id`, `title`, `slug`, `is_active`, `html`, `created_at`, `updated_at`) VALUES
(1, 'Privacy', 'privacy', 1, '{\"title\": \"Privacy Policy\", \"content\": \"<p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.</p><p>&nbsp;</p><h2><strong>Collection of personal information</strong></h2><p>We receive and store any information you knowingly provide to us when you make a purchase through the Website. Currently this is limited to your email address, which is required for you to be able to login to the Website and access any purchased Tailwind UI products.</p><h2><strong>Collection of non-personal information</strong></h2><p>When you visit the Website our servers automatically record information that your browser sends. This data may include information such as your device\'s IP address, browser type and version, operating system type and version, language preferences or the webpage you were visiting before you came to our Website, pages of our Website that you visit, the time spent on those pages, information you search for on our Website, access times and dates, and other statistics.</p><h2><strong>Purchases</strong></h2><p>All purchases made through the Website are processed by a third party payment processor, Paddle (<a href=\\\"https://paddle.com/\\\"><strong>paddle.com</strong></a>). Paddle may ask you for personal and/or non-personal information, such as your name, address, email address, credit card information, or other Personal Information. Paddle has a privacy policy (<a href=\\\"https://paddle.com/legal-buyers/\\\"><strong>paddle.com/legal-buyers/</strong></a>) that describes their collection and use of personal information. Tailwind does not control Paddle or its collection or use of information. Any questions or concerns about Paddle’s practices should be directed to Paddle.</p><p>Paddle provides us with certain non-personal information relating to purchases made by visitors to the Website. The non-personal information may include details of the purchase such as the date, amount paid, and product purchased. The non-personal purchase information may be linked to the Personal Information you provide to us (typically limited to your email address, as stated above). Paddle does not supply us with any of your other Personal Information such as your name, street address, or credit card information.</p><h2><strong>Managing personal information</strong></h2><p>You are able to update your Personal Information in your \\\"Account Settings\\\" on the Website. Currently this is limited to just your email address, as described above. You may also request that we delete your email address, but this will prevent you from accessing the products you have purchased from Tailwind.</p><p>When you update information, we may maintain a copy of the unrevised information in our records. Some information may remain in our private records after deletion of such information from your account for a retention period. Once the retention period expires, Personal Information shall be deleted. Therefore, the right to access, the right to erasure, your rights to access, add to, and update your information cannot be enforced after the expiration of the retention period.</p><p>We will retain and use your information as necessary to comply with our legal obligations, resolve disputes, and enforce our agreements. We may use any aggregated data derived from or incorporating your Personal Information after you update or delete it, but not in a manner that would identify you personally.</p><h2><strong>Use and processing of collected information</strong></h2><p>Any of the information we collect from you may be used to personalize your experience; improve our Website; improve customer service; process transactions; send notification emails such as password reminders, updates, etc; and operate our Website. Non-Personal Information collected is used only to identify potential cases of abuse and establish statistical information regarding Website usage. This statistical information is not otherwise aggregated in such a way that would identify any particular user of the system.</p><p>We may process Personal Information related to you if one of the following applies: (i) You have given their consent for one or more specific purposes. Note that under some legislations we may be allowed to process information until you object to such processing (by opting out), without having to rely on consent or any other of the following legal bases below. This, however, does not apply, whenever the processing of Personal Information is subject to European data protection law; (ii) Provision of information is necessary for the performance of an agreement with you and/or for any pre-contractual obligations thereof; (ii) Processing is necessary for compliance with a legal obligation to which you are subject; (iv) Processing is related to a task that is carried out in the public interest or in the exercise of official authority vested in us; (v) Processing is necessary for the purposes of the legitimate interests pursued by us or by a third party. In any case, we will be happy to clarify the specific legal basis that applies to the processing, and in particular whether the provision of Personal Data is a statutory or contractual requirement, or a requirement necessary to enter into a contract.</p><h2><strong>Information transfer and storage</strong></h2><p>Depending on your location, data transfers may involve transferring and storing your information in a country other than your own. You are entitled to learn about the legal basis of information transfers to a country outside the European Union or to any international organization governed by public international law or set up by two or more countries, such as the UN, and about the security measures taken by us to safeguard your information. If any such transfer takes place, you can find out more by checking the relevant sections of this document or inquire with us using the information provided in the Contact section.</p><h2><strong>The rights of users</strong></h2><p>You may exercise certain rights regarding your information processed by us. In particular, you have the right to do the following: (i) you have the right to withdraw consent where you have previously given your consent to the processing of your information; (ii) you have the right to object to the processing of your information if the processing is carried out on a legal basis other than consent; (iii) you have the right to learn if information is being processed by us, obtain disclosure regarding certain aspects of the processing and obtain a copy of the information undergoing processing; (iv) you have the right to verify the accuracy of your information and ask for it to be updated or corrected; (v) you have the right, under certain circumstances, to restrict the processing of your information, in which case, we will not process your information for any purpose other than storing it; (vi) you have the right, under certain circumstances, to obtain the erasure of your Personal Information from us; (vii) you have the right to receive your information in a structured, commonly used and machine readable format and, if technically feasible, to have it transmitted to another controller without any hindrance. This provision is applicable provided that your information is processed by automated means and that the processing is based on your consent, on a contract which you are part of or on pre-contractual obligations thereof.</p><h2><strong>The right to object to processing</strong></h2><p>Where Personal Information is processed for a public interest, in the exercise of an official authority vested in us or for the purposes of the legitimate interests pursued by us, you may object to such processing by providing a ground related to your particular situation to justify the objection. You must know that, however, should your Personal Information be processed for direct marketing purposes, you can object to that processing at any time without providing any justification. To learn whether we are processing Personal Information for direct marketing purposes, you may refer to the relevant sections of this document.</p><h2><strong>How to exercise these rights</strong></h2><p>Any requests to exercise User rights can be directed to the Owner by email at <a href=\\\"mailto:support@tailwindui.com\\\"><strong>support@tailwindui.com</strong></a>. These requests can be exercised free of charge and will be addressed by the Owner as early as possible and always within one month.</p><h2><strong>Privacy of children</strong></h2><p>We do not knowingly collect any Personal Information from children under the age of 13. If you are under the age of 13, please do not submit any Personal Information through our Website. We encourage parents and legal guardians to monitor their children\'s Internet usage and to help enforce this Policy by instructing their children never to provide Personal Information through our Website without their permission. If you have reason to believe that a child under the age of 13 has provided Personal Information to us through our Website, please contact us.</p><h2><strong>Newsletters</strong></h2><p>We offer electronic newsletters which you may voluntarily subscribe to. You may choose to stop receiving our newsletter or marketing emails by following the unsubscribe instructions included in these emails or by contacting us. However, you will continue to receive essential transactional emails.</p><h2><strong>Cookies</strong></h2><p>The Website uses \\\"cookies\\\" to help personalize your online experience. A cookie is a text file that is placed on your hard disk by a web page server. Cookies cannot be used to run programs or deliver viruses to your computer. Cookies are uniquely assigned to you, and can only be read by a web server in the domain that issued the cookie to you. We may use cookies to collect, store, and track information for statistical purposes to operate our Website. You have the ability to accept or decline cookies. Most web browsers automatically accept cookies, but you can usually modify your browser setting to decline cookies if you prefer.</p><p>In addition to using cookies and related technologies as described above, we also may permit certain third-party companies to help us tailor advertising that we think may be of interest to users and to collect and use other data about user activities on the Website. These companies may deliver ads that might also place cookies and otherwise track user behavior.</p><h2><strong>Links to other websites</strong></h2><p>Our Website contains links to other websites that are not owned or controlled by us. Please be aware that we are not responsible for the privacy practices of such other websites or third parties. We encourage you to be aware when you leave our Website and to read the privacy statements of each and every website that may collect Personal Information.</p><p>In particular, as noted above, purchases made through the Website are handled by Paddle and all such transactions, including any Personal Information or non-personal information collected by Paddle, are under the control of Paddle. We encourage purchasers to read Paddle’s Privacy Policy (<a href=\\\"https://paddle.com/legal-buyers/\\\"><strong>paddle.com/legal-buyers/</strong></a>).</p><h2><strong>Information security</strong></h2><p>We secure information you provide on computer servers in a controlled, secure environment, protected from unauthorized access, use, or disclosure. We maintain reasonable administrative, technical, and physical safeguards in an effort to protect against unauthorized access, use, modification, and disclosure of Personal Information in its control and custody. However, no data transmission over the Internet or wireless network can be guaranteed. Therefore, while we strive to protect your Personal Information, you acknowledge that (i) there are security and privacy limitations of the Internet which are beyond our control; (ii) the security, integrity, and privacy of any and all information and data exchanged between you and our Website cannot be guaranteed; and (iii) any such information and data may be viewed or tampered with in transit by a third-party, despite best efforts.</p><h2><strong>Data breach</strong></h2><p>In the event we become aware that the security of the Website has been compromised or users’ Personal Information has been disclosed to unrelated third-parties as a result of external activity, including, but not limited to, security attacks or fraud, we reserve the right to take reasonably appropriate measures, including, but not limited to, investigation and reporting, as well as notification to and cooperation with law enforcement authorities. In the event of a data breach, we will make reasonable efforts to notify affected individuals if we believe that there is a reasonable risk of harm to the user as a result of the breach or if notice is otherwise required by law. When we do we will send you an email.</p><h2><strong>Legal disclosure</strong></h2><p>We will disclose any information we collect, use or receive if required or permitted by law, such as to comply with a subpoena, or similar legal process, and when we believe in good faith that disclosure is necessary to protect our rights, protect your safety or the safety of others, investigate fraud, or respond to a government request. In the event we go through a business transition, such as a merger or acquisition by another company, or sale of all or a portion of its assets, your user account and personal data will likely be among the assets transferred.</p><h2><strong>Changes and amendments</strong></h2><p>We reserve the right to modify this privacy policy relating to the Website at any time, effective upon posting of an updated version of this Policy on the Website. When we do we will revise the updated date at the bottom of this page. Continued use of the Website after any such changes shall constitute your consent to such changes.</p><h2><strong>Acceptance of this policy</strong></h2><p>You acknowledge that you have read this Policy and agree to all its terms and conditions. By using the Website you agree to be bound by this Policy. If you do not agree to abide by the terms of this Policy, you are not authorized to use or access the Website.</p>\"}', '2022-10-19 09:25:55', '2022-10-19 09:25:55'),
(2, 'Contact', 'contact', 1, '{\"email\": \"contact@example.com\", \"phone\": \"+10101010101010\", \"location\": \"C/54 Northwest Freeway, Suite 558, Houston, USA 485\", \"location_map\": \"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d39206.002432144705!2d-95.4973981212445!3d29.709510002925988!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x8640c16de81f3ca5%3A0xf43e0b60ae539ac9!2sGerald+D.+Hines+Waterwall+Park!5e0!3m2!1sen!2sin!4v1566305861440!5m2!1sen!2sin\", \"email_details\": \"The phrasal sequence of the is now so that many campaign and benefit\", \"phone_details\": \"The phrasal sequence of the is now so that many campaign and benefit.\"}', '2022-10-19 09:25:55', '2022-10-19 09:25:55'),
(3, 'Services', 'services', 1, '{\"contact\": {\"tag\": \"Available for freelance projects\", \"title\": \"Do you have digital project? <br> Let\'s talk.\", \"details\": \"Start working with HelpDesk that can provide everything you need to generate awareness, drive traffic, connect.\"}, \"services\": [{\"icon\": \"airplay\", \"name\": \"UX / UI Design\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}, {\"icon\": \"compass\", \"name\": \"IOS App Designer\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}, {\"icon\": \"camera\", \"name\": \"Photography\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}, {\"icon\": \"aperture\", \"name\": \"Graphic Designer\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}, {\"icon\": \"security\", \"name\": \"Web Security\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}, {\"icon\": \"palette\", \"name\": \"24/7 Support\", \"details\": \"The phrasal sequence of the is now so that many campaign and benefit\"}]}', '2022-10-19 09:25:55', '2022-10-19 09:25:55'),
(4, 'Terms of Services', 'terms', 1, '{\"title\": \"Terms of Services\", \"content\": \"<h3><strong>Introduction :</strong></h3><p>It seems that only fragments of the original text remain in the Lorem Ipsum texts used today. One may speculate that over the course of time certain letters were added or deleted at various positions within the text.</p><p>&nbsp;</p><h3><strong>User Agreements :</strong></h3><p>The most well-known dummy text is the \'Lorem Ipsum\', which is said to have <strong>originated</strong> in the 16th century. Lorem Ipsum is <strong>composed</strong> in a pseudo-Latin language which more or less <strong>corresponds</strong> to \'proper\' Latin. It contains a series of real Latin words. This ancient dummy text is also <strong>incomprehensible</strong>, but it imitates the rhythm of most European languages in Latin script. The <strong>advantage</strong> of its Latin origin and the relative <strong>meaninglessness</strong> of Lorum Ipsum is that the text does not attract attention to itself or distract the viewer\'s <strong>attention</strong> from the layout.</p><p>&nbsp;</p><p>There is now an <strong>abundance</strong> of readable dummy texts. These are usually used when a text is <strong>required purely</strong> to fill a space. These alternatives to the classic Lorem Ipsum texts are often amusing and tell short, funny or <strong>nonsensical</strong> stories.</p><p>It seems that only <strong>fragments</strong> of the original text remain in the Lorem Ipsum texts used today. One may speculate that over the course of time certain letters were added or deleted at various positions within the text.</p><p>&nbsp;</p><h3><strong>Restrictions :</strong></h3><p>You are specifically restricted from all of the following :</p><ul><li>Digital Marketing Solutions for Tomorrow</li><li>Our Talented &amp; Experienced Marketing Agency</li><li>Create your own skin to match your brand</li><li>Digital Marketing Solutions for Tomorrow</li><li>Our Talented &amp; Experienced Marketing Agency</li><li>Create your own skin to match your brand</li></ul><p><br>&nbsp;</p>\"}', '2022-10-19 09:25:55', '2022-10-19 09:25:55'),
(5, 'Home', 'home', 1, '{\"sections\": [{\"image\": \"\", \"title\": \"Make your working process easier with <span>HelpDesk</span>\", \"buttons\": [{\"link\": \"/login\", \"text\": \"Login HelpDesk\", \"new_tab\": \"1\"}, {\"link\": \"/ticket/open\", \"text\": \"Submit ticket\", \"new_tab\": \"1\"}], \"details\": \"It\'s much easier now to create, assign, manage and resolve tickets with HelpDesk. You just need to host this web application on any hosting server of your choice and use it.\", \"enable_ticket_section\": \"\"}, {\"image\": \"\", \"title\": \"How It Work ?\", \"buttons\": [{\"link\": \"/login\", \"text\": \"Login HelpDesk\", \"new_tab\": \"1\"}], \"details\": \"You can create a ticket with logged-in on the Dashboard as an existing user or create a ticket as a new user from this front page.\", \"title_2\": \"You can do following with this HelpDesk\", \"details_2\": \"Manage tickets\\nChat with customers\\nManage your marketing contacts and organizations\\nManage your blog posts\", \"enable_ticket_section\": \"\"}, {\"enable_ticket_section\": \"1\"}, {\"title\": \"Have Question ? Get in touch!\", \"buttons\": [{\"link\": \"/contact\", \"text\": \"Contact us\", \"new_tab\": \"1\"}], \"details\": \"Start working with HelpDesk that can provide everything you need to generate awareness, drive traffic, connect.\", \"enable_ticket_section\": \"\"}]}', '2022-12-15 23:40:58', '2022-12-18 09:07:13'),
(6, 'Footer Area', 'footer', 1, '{\"title\": \"Privacy Policy\", \"copyright\": \"@ Helpdesk Developed by <a href=\\\"https://w3bd.com/\\\">W3bd</a>.\"}', '2022-12-15 23:40:58', '2022-12-29 12:52:27');


TRUNCATE TABLE `jobs`;
INSERT DELAYED IGNORE INTO `jobs` (`id`, `queue`, `payload`, `attempts`, `reserved_at`, `available_at`, `created_at`) VALUES
(1, 'default', '{\"uuid\":\"5506e42a-54c2-464a-be83-2c2b2ba74d72\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:20;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665223254, 1665223254),
(2, 'default', '{\"uuid\":\"ae6bb830-0bd6-4b45-86df-a4f27a835636\",\"displayName\":\"App\\\\Events\\\\NewChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:25:\\\"App\\\\Events\\\\NewChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:24;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665229269, 1665229269),
(3, 'default', '{\"uuid\":\"cd716f7f-bd42-4413-9423-7afe575db4a2\",\"displayName\":\"App\\\\Events\\\\NewChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:25:\\\"App\\\\Events\\\\NewChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:25;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665229475, 1665229475),
(4, 'default', '{\"uuid\":\"f3c8499c-f344-4e4c-860f-936aad199c7a\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:26;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665229489, 1665229489),
(5, 'default', '{\"uuid\":\"f6d46caa-bae4-40c4-a06b-5ee914c7355c\",\"displayName\":\"App\\\\Events\\\\NewChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:25:\\\"App\\\\Events\\\\NewChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:27;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665244037, 1665244037),
(6, 'default', '{\"uuid\":\"f4c50c8d-0d81-4f0a-9920-03432f3cddcb\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:28;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665244046, 1665244046),
(7, 'default', '{\"uuid\":\"d55bc5b6-eaca-4d53-9975-dd884d27c6c2\",\"displayName\":\"App\\\\Events\\\\NewChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:25:\\\"App\\\\Events\\\\NewChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:29;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665244132, 1665244132),
(8, 'default', '{\"uuid\":\"db71c412-ff62-435a-a600-bf9b69acfe87\",\"displayName\":\"App\\\\Events\\\\NewChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:25:\\\"App\\\\Events\\\\NewChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:30;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665244149, 1665244149),
(9, 'default', '{\"uuid\":\"825d6017-86ae-40be-94ba-4e3a6aa44883\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:31;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665251321, 1665251321),
(10, 'default', '{\"uuid\":\"3b17370d-98df-4dab-b4ca-0b8d27bb9edf\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:32;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665251322, 1665251322),
(11, 'default', '{\"uuid\":\"25001934-d094-41ca-94a9-dab16b5325cf\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:33;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665251322, 1665251322),
(12, 'default', '{\"uuid\":\"c99b20b2-ac7c-4d22-9c6a-8ae74c924e5a\",\"displayName\":\"App\\\\Events\\\\NewPublicChatMessage\",\"job\":\"Illuminate\\\\Queue\\\\CallQueuedHandler@call\",\"maxTries\":null,\"maxExceptions\":null,\"failOnTimeout\":false,\"backoff\":null,\"timeout\":null,\"retryUntil\":null,\"data\":{\"commandName\":\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\",\"command\":\"O:38:\\\"Illuminate\\\\Broadcasting\\\\BroadcastEvent\\\":12:{s:5:\\\"event\\\";O:31:\\\"App\\\\Events\\\\NewPublicChatMessage\\\":2:{s:11:\\\"chatMessage\\\";O:45:\\\"Illuminate\\\\Contracts\\\\Database\\\\ModelIdentifier\\\":4:{s:5:\\\"class\\\";s:18:\\\"App\\\\Models\\\\Message\\\";s:2:\\\"id\\\";i:34;s:9:\\\"relations\\\";a:0:{}s:10:\\\"connection\\\";s:5:\\\"mysql\\\";}s:6:\\\"socket\\\";N;}s:5:\\\"tries\\\";N;s:7:\\\"timeout\\\";N;s:10:\\\"connection\\\";N;s:5:\\\"queue\\\";N;s:15:\\\"chainConnection\\\";N;s:10:\\\"chainQueue\\\";N;s:19:\\\"chainCatchCallbacks\\\";N;s:5:\\\"delay\\\";N;s:11:\\\"afterCommit\\\";N;s:10:\\\"middleware\\\";a:0:{}s:7:\\\"chained\\\";a:0:{}}\"}}', 0, NULL, 1665251324, 1665251324);

TRUNCATE TABLE `knowledge_base`;
INSERT DELAYED IGNORE INTO `knowledge_base` (`id`, `title`, `details`, `type_id`) VALUES
(1, 'What support plans are available?', '<p>DigitalOcean provides free ticket-based support to all customers, accessible 24 hours a day, 7 days a week.</p><p>Paid support plans that grant access to additional resources and faster response times are also available. Details on these paid support plans are on the <a href=\"https://www.digitalocean.com/pricing/support\">DigitalOcean Support Plans</a> page.</p>', 3),
(2, 'How do I manually back up my Droplet?', '<p>There are three ways to manually back up a Droplet. You can create a DigitalOcean snapshot for an on-demand full disk image, convert an automatic DigitalOcean backup into a snapshot, or use a third-party tool for a partial backup.</p><p>&nbsp;</p><h2><strong>Use DigitalOcean Snapshots for Full System Backups</strong></h2><p>A <a href=\"https://docs.digitalocean.com/products/images/snapshots/\">DigitalOcean Snapshot</a> is an on-demand full disk image of a Droplet. When you <a href=\"https://docs.digitalocean.com/products/images/snapshots/quickstart/\">snapshot a Droplet</a>, the image is saved to your account and remains there until you delete it. You can use snapshots to restore an existing Droplet or create a new Droplet from that point in time.</p><p>&nbsp;</p><h2><strong>Convert Automatic DigitalOcean Backups into Snapshots</strong></h2><p>When you <a href=\"https://docs.digitalocean.com/products/images/backups/how-to/enable/\">enable backups</a> on a Droplet, we automatically create a full disk image of the Droplet every week. Like snapshots, backup images are saved to your account, and you can use backups to restore an existing Droplet or create new Droplets from that point in time.</p><p>Unlike snapshots, backup images only remain in your account for 4 weeks. To keep a backup indefinitely, <a href=\"https://docs.digitalocean.com/products/images/backups/how-to/convert-to-snapshot/\">convert the backup into a snapshot</a>.</p>', 4),
(3, 'How do I transfer a Droplet to another user?', '<p>Although you can’t transfer a Droplet to another user directly, you can transfer a snapshot of a Droplet to another user, who can then recreate the Droplet from the snapshot.</p><p>&nbsp;</p><p>To transfer a Droplet using snapshots:</p><p><a href=\"https://docs.digitalocean.com/products/images/snapshots/quickstart/\">Take a snapshot of the Droplet</a>.</p><p>Once complete, <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/change-owners/\">transfer the snapshot</a> to a new owner. The new owner must <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/change-owners/#receiving-a-snapshot\">accept the transfer</a>.</p><p>The new owner can then <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/create-and-restore-droplets/\">recreate the Droplet from the snapshot</a>.</p>', 1),
(4, 'Can I download a backup or snapshot?', '<p>No, you cannot currently download DigitalOcean backups or snapshots.</p><p>As an alternative, you can back up data locally using third-party tools like <a href=\"https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories-on-a-vps\">rsync</a> or <a href=\"https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps\">SFTP</a>.</p><p>To share your support for this feature, <a href=\"https://ideas.digitalocean.com/core-compute-platform/p/download-snapshot-andor-backup\">vote for downloading snapshots and backups on ideas.digitalocean.com</a>.</p>', 4),
(5, 'What is the best way to open a ticket?', '<p>DigitalOcean provides free ticket-based support to all customers, accessible 24 hours a day, 7 days a week.</p><h2><strong>Where to Open Tickets</strong></h2><p><strong>To report abuse</strong>, <a href=\"https://www.digitalocean.com/company/contact/\">contact our trust and safety team</a>.</p><p>We are committed to a better Internet and take violations of the Rules of Conduct in our <a href=\"https://www.digitalocean.com/legal/terms-of-service-agreement/\">Terms of Service agreement</a> from sites we host seriously.</p><p><strong>If you cannot sign in to your account</strong>: <a href=\"https://www.digitalocean.com/support/contact\">use our account recovery form</a>.</p><p>Contact support agents for help with your sign-in problem, no sign in required.</p><p><strong>For account questions and technical problems</strong>, follow the instructions and best practices outlined in the next section.</p><h2><strong>Before Submitting a Ticket</strong></h2><p>To help you resolve issues as efficiently as possible, we recommend you take the following steps as you prepare to submit a ticket:</p><h3><strong>Check the status page</strong></h3><p>Before opening a ticket, especially if you experience a delay or connectivity issue, check the <a href=\"https://status.digitalocean.com/\">DigitalOcean status page</a> to see if the problem is caused by a system-wide issue.</p><h3><strong>Search for answers</strong></h3><p>Some problems require a support ticket, but we have solutions to many problems already documented. Look for relevant information using <a href=\"https://docs.digitalocean.com/support/\">DigitalOcean Support Search</a>, which combines results from product documentation, community tutorials, and community Q&amp;Account.</p><p>If you’re unable to find an answer there or from a more general Internet search, the following instructions will help you open a ticket.</p><h3><strong>Write the content of the ticket locally</strong></h3><p>Browsers crash and tabs get closed accidentally. We recommend that you write the ticket in a text editor and paste it into the web form. As you write, consider the items below and include the information relevant to your situation.</p><h3><strong>Include the right information</strong></h3><p>The sooner our support agents have the information they need to troubleshoot, the faster they can help you. Consider the items below and include the information relevant to your situation in your ticket:</p><ul><li>Explain what you want to do and what you expect to happen.</li><li>If you ran into a problem, describe it as specifically as possible.</li><li>Walk through the steps that lead to the problem as you write them.</li><li>If you encounter error messages, include the specific text.</li><li>Take and attach screenshots where it makes sense.</li></ul><h2><strong>Submitting a Ticket</strong></h2><p>You can view existing tickets and open a new ticket by clicking the support link in the control panel’s main navigation menu or by visiting the <a href=\"https://cloudsupport.digitalocean.com/s/\">Help Center</a> directly.</p><p>Sign in to the Help Center with the same credentials that you use to sign in to the control panel. If you use <a href=\"https://docs.digitalocean.com/products/teams/\">teams</a>, select the account or team where you need assistance so our support team can begin troubleshooting immediately. You can check that you are signed in to the correct account or team by clicking the account icon in the upper-right corner of the Help Center or control panel.</p>', 2),
(6, 'Check Your Load Balancer\'s Connectivity', '<p>If you are trying to reach your Droplet via a load balancer, your load balancer may be down or not directing traffic to the target Droplet.</p><p>In this step of the <a href=\"https://docs.digitalocean.com/support/connectivity-troubleshooting/\">Connectivity Troubleshooting Guide</a>, you will:</p><ol><li>Check the status of load balancer’s connection between the load balancer and the Droplet.</li><li>Verify that the load balancer is reachable from the public internet.</li><li>Check your hostname’s DNS configuration if you are trying to reach the Droplet via a hostname that is pointed at the load balancer.</li></ol><p>If your Droplet is not connected to a load balancer, skip to the <a href=\"https://docs.digitalocean.com/support/check-your-load-balancers-connectivity/#next-steps\">Next Steps</a> section.</p><h2><strong>Check Load Balancer Status</strong></h2><p>To check the status of your load balancer from the <a href=\"https://cloud.digitalocean.com/\">DigitalOcean Control Panel</a>, click <strong>Networking</strong>, then click the <strong>Load Balancers</strong> tab. The page lists the load balancers set up in your account. Click your target Droplet’s load balancer.</p><p><a href=\"https://docs.digitalocean.com/screenshots/load-balancers/droplets-tab.f05c4b1457db2ac5ec4c9f5177b37a07f0e776595df6884d8a01cf388d465ba6.png\"><img src=\"https://docs.digitalocean.com/screenshots/load-balancers/droplets-tab.f05c4b1457db2ac5ec4c9f5177b37a07f0e776595df6884d8a01cf388d465ba6.png\" alt=\"List of Droplets connected to a load balancer.\"></a></p><p>The load balancer’s <strong>Droplet</strong> tab lists the Droplets connected to the load balancer, and the status column indicates the health of the connection between your Droplets and the load balancer. If your target Droplet is not listed among the Droplets connected to the load balancer, <a href=\"https://docs.digitalocean.com/products/networking/load-balancers/how-to/manage/#droplets\">add the Droplet to the load balancer</a> and then reattempt to connect to the target Droplet.</p><p>If your Droplet is listed as connected to the load balancer and its status is down, your Droplet’s internal network configuration may be incorrect or the Droplet may be offline. Verify that your Droplets are <a href=\"https://docs.digitalocean.com/products/networking/load-balancers/how-to/manage/#health-checks\">healthy and active</a> before continuing.</p><h2><strong>Ping the Load Balancer and the Droplet</strong></h2><p>You can verify whether the connection is failing at the load balancer level or Droplet level using ping. ping is a diagnostic tool that tests the connection between networked devices and is native on most operating systems.</p><p><a href=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"><img src=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"></a> <strong>Note</strong></p><p>If your Droplet is behind a <a href=\"https://docs.digitalocean.com/products/networking/firewalls/\">cloud firewall</a>, you need to <a href=\"https://docs.digitalocean.com/products/networking/firewalls/how-to/configure-rules/\">add an inbound traffic rule</a> that allows ICMP traffic to reach the Droplet. The ping diagnostic tool uses the ICMP protocol to verify connections. If your cloud firewall doesn’t have an inbound rule for ICMP, it will block any attempts to the reach the Droplet with ping.</p><p>To verify that the load balancer is reachable from your computer, open a terminal on your local machine and then run the following command:</p><p><strong>ping</strong> &lt;use-your-load-balancer-ip-address&gt;</p><p>Copy</p><p>If your load balancer is accessible from the public internet, ping returns the amount of data it sent to the load balancer and the amount of time it took for the data to reach the load balancer.</p><p>PING 203.0.113.154 (203.0.113.154): 56 data bytes\n64 bytes from 203.0.113.154: icmp_seq=0 ttl=46 time=239.488 ms\n64 bytes from 203.0.113.154: icmp_seq=1 ttl=46 time=352.659 ms</p><p>Copy</p><p>If your load balancer is not accessible from the public internet, ping returns a timeout error:</p><p>PING 203.0.113.154 (203.0.113.154): 56 data bytes\nRequest timeout for icmp_seq 0</p><p>Copy</p><p>Run the same command using your Droplet’s IP address.</p><p>If your Droplet responds but your load balancer does not, the load balancer is likely causing the connection problem. If you have assessed that the load balancer is the problem, you have two options:</p><ul><li><a href=\"https://docs.digitalocean.com/products/networking/load-balancers/how-to/destroy/\">Destroy the load balancer</a> and then <a href=\"https://docs.digitalocean.com/products/networking/load-balancers/how-to/create/\">create a new one</a>. This option <i>does not</i> retain the load balancer’s IP address.</li><li><a href=\"https://docs.digitalocean.com/support/what-is-the-best-way-to-open-a-ticket/\">Open a support ticket</a> and have the load balancer reset. This option retains the load balancer’s IP address.</li></ul><h2><strong>Check Load Balancer’s DNS</strong></h2><p>If you are trying to reach your load balancer through a hostname, such as www.example.com, you need to set up an A record with your DNS provider to point the hostname at the load balancer’s IP address.</p><p>To verify if your hostname has an A record pointing at the load balancer’s IP address, open a terminal and use the dig utility to retrieve the A records set up on your domain:</p><p>dig &lt;use-your-hostname&gt; A</p><p>Copy</p><p>The command returns output similar to this:</p><p>;; global options: +cmd\n;; Got answer:\n;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 53050\n;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 5\n\n;; OPT PSEUDOSECTION:\n; EDNS: version: 0, flags:; udp: 4096\n; COOKIE: 1aad2b567441ddd264d7b5c062058926dea6b1dfd388758f (good)\n;; QUESTION SECTION:\n;bigassdraculasclub.com.		IN	A\n\n;; ANSWER SECTION:\nexample.com.	30	IN	A	104.16.243.78\nexample.com.	30	IN	A	104.16.244.78\n\n;; AUTHORITY SECTION:\nexample.com.	172800	IN	NS	ns3.digitalocean.com.\nexample.com.	172800	IN	NS	ns2.digitalocean.com.\nexample.com.	172800	IN	NS	ns1.digitalocean.com.</p><p>Copy</p><p>If the ANSWER SECTION of the output doesn’t contain an A record pointing at your load balancer’s IP address, you need to add an A record to your hostname’s DNS configuration.</p><p>If your DNS provider is DigitalOcean, you can <a href=\"https://docs.digitalocean.com/products/networking/dns/how-to/manage-records/\">add an A record</a> using the <a href=\"https://cloud.digitalocean.com/networking\">control panel</a>. If DigitalOcean is not your DNS provider, reference your DNS provider’s documentation to see how to create A records for your hostname.</p><p>If you’ve recently updated A records for your hostname, it can take up to 24 hours for the update to propagate across the internet.</p><h2><strong>Next Steps</strong></h2><p>If your load balancer is correctly configured but your Droplet is still not connecting correctly, proceed to the next step and check your <a href=\"https://docs.digitalocean.com/support/check-your-cloud-firewall-settings/\">cloud firewall settings</a>.</p>', 3),
(7, 'Check Your Cloud Firewall Settings', '<p>Misconfigured <a href=\"https://docs.digitalocean.com/products/networking/firewalls/\">DigitalOcean cloud firewalls</a> often cause network problems. If you’re having trouble connecting to your Droplet or connecting to the internet from the Droplet, check your cloud firewall settings before reviewing your Droplet’s network configurations.</p><p>In this step of the <a href=\"https://docs.digitalocean.com/support/connectivity-troubleshooting/\">Connectivity Troubleshooting Guide</a>, you will:</p><ol><li>Review your Cloud Firewall rules to ensure that the firewall is not blocking your attempts to connect to the Droplet.</li></ol><p>If you don’t have a cloud firewall, skip to the <a href=\"https://docs.digitalocean.com/support/check-your-cloud-firewall-settings/#next-steps\">Next Steps</a> section.</p><h2><strong>Check Your Cloud Firewall Rules</strong></h2><p>To check your firewall settings from the <a href=\"https://cloud.digitalocean.com/\">control panel</a>, click <strong>Networking</strong>, then click the <strong>Firewalls</strong> tab. The page lists the firewalls set up in your account. Click the firewall protecting your Droplet and review your firewall’s rules.</p><p><a href=\"https://docs.digitalocean.com/screenshots/firewalls/combined-ruleset.d0097b3e49f0f66faac9b636761582acafd4b44ab75a38feb2c21543a26b5610.png\"><img src=\"https://docs.digitalocean.com/screenshots/firewalls/combined-ruleset.d0097b3e49f0f66faac9b636761582acafd4b44ab75a38feb2c21543a26b5610.png\" alt=\"A list of firewall rules\"></a></p><p>The <strong>Inbound Rules</strong> section displays the types of traffic that are allowed to reach your Droplet. The firewall blocks any traffic from sources <i>not</i> explicitly listed in the inbound rules. For example, if your Droplet is linked to a firewall in your account and the firewall’s inbound rules do not list an SSH rule, the firewall blocks any attempts to connect via SSH.</p><p>The same concept applies to the firewall’s <strong>Outbound Rules</strong>, the firewall blocks any traffic from the Droplet <i>not</i> explicitly listed in the outbound rules.</p><p>If you can’t reach your Droplet via a specific connection type or you can’t reach the internet from your Droplet via specific connection type, <a href=\"https://docs.digitalocean.com/products/networking/firewalls/how-to/configure-rules/\">configure a firewall rule</a> allowing that type of traffic to reach or exit the Droplet.</p><h2><strong>Next Steps</strong></h2><p>If you’ve checked your cloud firewall and have found no errors in its configuration, proceed to the next step and <a href=\"https://docs.digitalocean.com/support/check-your-droplet-firewall-settings/\">check your Droplet firewall</a>.</p>', 3),
(8, 'Check Your Droplet\'s Network Configuration', '<p>Droplet networking issues can be caused by incorrect network configurations on the Droplet itself. This is highly likely if you’ve recently altered any network configuration files on your Droplet or installed software on the Droplet that may have made network changes.</p><p>In this step of the <a href=\"https://docs.digitalocean.com/support/connectivity-troubleshooting/\">Connectivity Troubleshooting Guide</a>, you will:</p><ol><li>Make a snapshot of your Droplet for backup purposes.</li><li>Verify the Droplet’s network interfaces are up and running.</li><li>Review the Droplet’s network configuration file and correct any discrepancies.</li><li>Review the Droplet’s DNS settings and correct any discrepancies.</li></ol><h2><strong>Prerequisites</strong></h2><p>Altering network configurations can cause you to lose access to your Droplet or other problems. We recommend <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/snapshot-droplets/\">taking a snapshot of the Droplet</a> before making any changes to its network configuration. You can use the snapshot to <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/create-and-restore-droplets/\">rebuild the Droplet</a> to the state it was in at the time when you took the snapshot.</p><h2><strong>Verify Network Interfaces</strong></h2><p>Your Droplet has a few different network interfaces that are configured to connect to specific networks or gateways. It is important to check if the network interfaces are running.</p><p>To check if your Droplet’s network interfaces are running, run the command:</p><p>ip -br a</p><p>Copy</p><p>The -br flag returns only basic information about the Droplet’s network interfaces for better readability. The a arugment returns all IP addresses associated with the Droplet’s network interfaces.</p><p>The command returns the status of each network interface on the Droplet:</p><p>lo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UNKNOWN &nbsp; &nbsp; &nbsp; &nbsp;198.51.100.1/8 ::1/128\neth0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 203.0.113.154/20 240.0.255.85/16 f2001:DB8:AC1:FE01/64\neth1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10.139.40.88/16 f2001:DB8:0CDE:211E/64</p><p>Copy</p><p>In the example above, the command returned the status for the lo, eth0, and eth1 interfaces. Beside each interface’s name is the interface’s status, either UP, DOWN, or UNKNOWN.</p><p>With the exception of the lo interface, if any of the interfaces are DOWN, enable them by running:</p><p><strong>sudo</strong> <strong>ifup</strong> &lt;your-droplet-interface-name&gt;</p><p>Copy</p><p>For example, if the eth0 interface was DOWN, the command would look like this:</p><p><strong>sudo</strong> <strong>ifup</strong> eth0</p><p>Copy</p><p>If all of the interfaces are UP, you can restart each interface by running the following commands:</p><p><strong>sudo</strong> <strong>ifdown</strong> &lt;your-droplet-interface-name&gt;\n<strong>sudo</strong> <strong>ifup</strong> &lt;your-droplet-interface-name&gt;</p><p>Copy</p><p>If either of these commands fail, the interface may be in an UNKNOWN state. You can add the --force flag to force the interfaces to restart.</p><p><strong>sudo</strong> <strong>ifdown</strong> --force &lt;your-droplet-interface name&gt;\n<strong>sudo</strong> <strong>ifup</strong> &lt;your-droplet-interface name&gt;</p><p>Copy</p><p>Once you have enabled all of the interfaces, see if your Droplet’s connection issues persist. You can use ping from the Droplet’s command line to see if the Droplet can reach the internet. Additionally, you can ping your Droplet from a terminal on your local machine to ensure the Droplet is receiving network traffic.</p><p>ping is a simple network diagnostic tool that measures the availability, latency, and packet loss between the sending and receiving devices. To run ping:</p><p>ping google.com</p><p>Copy</p><p>If your Droplet’s connectivity issues persist, review the next section.</p><p><a href=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"><img src=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"></a> <strong>Note</strong></p><p>If your Droplet is behind a <a href=\"https://docs.digitalocean.com/products/networking/firewalls/\">cloud firewall</a>, you need to <a href=\"https://docs.digitalocean.com/products/networking/firewalls/how-to/configure-rules/\">add an inbound traffic rule</a> that allows ICMP traffic to reach the Droplet. The ping diagnostic tool uses the ICMP protocol to verify connections. If your cloud firewall doesn’t have an inbound rule for ICMP, it will block any attempts to the reach the Droplet with ping.</p><p>A successful ping means that you Droplet can connect to hostnames and returns results similar to this:</p><p>PING google.com (142.250.80.46): 56 data bytes\n64 bytes from 142.250.80.46: icmp_seq=0 ttl=115 time=16.030 ms\n64 bytes from 142.250.80.46: icmp_seq=1 ttl=115 time=16.699 ms\n64 bytes from 142.250.80.46: icmp_seq=2 ttl=115 time=17.051 ms</p><p>Copy</p><p>If the ping returns an error, continue the next section of this guide.</p><h2><strong>Check Network Configuration File</strong></h2><p>Your Droplet’s network configuration files contain information about the Droplet’s network interfaces. If you’ve recently changed one of these files, the changes may have not persisted after a reboot or may be misconfigured.</p><p>Before making any changes to your network file configuration, we recommend <a href=\"https://docs.digitalocean.com/products/images/snapshots/how-to/snapshot-droplets/\">taking a snapshot of the Droplet</a> and making a backup of the Droplet’s current network configuration.</p><p>Choose your Droplet’s operating system for troubleshooting instructions.</p><ul><li><a href=\"https://docs.digitalocean.com/support/check-your-droplets-network-configuration/#network-config-0\"><strong>Ubuntu 21.10, 20.04, &amp; 18.04</strong></a></li><li><a href=\"https://docs.digitalocean.com/support/check-your-droplets-network-configuration/#network-config-1\">Ubuntu 16.04 and Debian</a></li><li><a href=\"https://docs.digitalocean.com/support/check-your-droplets-network-configuration/#network-config-2\">CentOS</a></li></ul><p>On Ubuntu Droplets, the Droplet’s network configuration is located in the /etc/netplan/50-cloud-init.yaml file. We recommend making a backup copy of this file before altering it. This copy allows you to reinstate the original network configuration if something goes wrong after editing the current configuration.</p><p>To make a copy of your Droplet’s network configuration, run the following command:</p><p><strong>cp</strong> /etc/netplan/50-cloud-init.yaml /etc/netplan/50-cloud-init.yaml.old</p><p>Copy</p><p>After making a copy of the configuration, view your Droplet’s network configuration file by running the following command:</p><p><strong>nano</strong> /etc/netplan/50-cloud-init.yaml</p><p>Copy</p><p>The Droplet’s network configuration opens using the nano text editor.</p><p>network:\n &nbsp; &nbsp;version: 2\n &nbsp; &nbsp;ethernets:\n &nbsp; &nbsp; &nbsp; &nbsp;eth0:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 203.0.113.154/20\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 203.0.255.85/16\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gateway4: 192.75.31.155\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;match:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;macaddress: 0a:ee:7a:c3:93:aa\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nameservers:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.2\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.3\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;search: []\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set-name: eth0\n &nbsp; &nbsp; &nbsp; &nbsp;eth1:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 198.51.100.88/16\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;match:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;macaddress: 12:01:77:bc:cb:d5\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nameservers:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.2\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.3\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;search: []\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set-name: eth1</p><p>Copy</p><p>In the example configuration file above, the Droplet has two network interfaces: eth0 and eth1.</p><ul><li>eth0 - Contains information about the Droplet’s public network interface (the interface used to connect to the internet).</li><li>eth1 - Contains information about the Droplet’s <a href=\"https://docs.digitalocean.com/products/networking/vpc/\">VPC network</a> interface (the interface used to connect to other resources in the datacenter it resides in).</li></ul><p>Other interfaces may be listed based on your Droplet’s overall configuration.</p><p>You can check for discrepancies in the interfaces originally configured by DigitalOcean (eth0 and eth1) by logging in to the <a href=\"https://cloud.digitalocean.com/\">DigitalOcean Control Panel</a> and comparing the IP addresses in each interface (in the addresses stanza) to the ones listed in the control panel.</p><p>To locate your Droplet’s network information in the control panel, click <strong>Droplets</strong> in the main navigation and select the target Droplet from the list of Droplets. From the Droplet’s overview page, click <strong>Networking</strong>.</p><p><a href=\"https://docs.digitalocean.com/screenshots/droplets/droplet-networking.dfa1f90aac50f89ae209a09009ddd60bae55f75a05f64fc8c27ec701c8f81c73.png\"><img src=\"https://docs.digitalocean.com/screenshots/droplets/droplet-networking.dfa1f90aac50f89ae209a09009ddd60bae55f75a05f64fc8c27ec701c8f81c73.png\" alt=\"Droplet\'s Networking page\"></a></p><p>Troubleshooting any interfaces beyond the ones originally configured by DigitalOcean may require additional research beyond this guide.</p><p>If you see any discrepancies between the IP addresses in your configuration, correct them, save the changes to the file, and then close it. Test the updated configuration by running:</p><p>netplan try --debug</p><p>Copy</p><p>This command temporarily applies the network settings to the Droplet and gives you 120 second to test the Droplet’s connections with the new configuration before rolling back to the prior configuration. This is helpful in case the new configuration locks you out of the Droplet. The --debug flag verifies that the YAML file’s formatting is correct.</p><p>Use ping again from the Droplet’s command line to test if the Droplet can reach google.com. Also ping the Droplet from a terminal on your local machine to ensure that the Droplet can receive traffic.</p><p>If this resolves your connectivity issue, press ENTER, before the 120 second timer ends, to confirm it and apply it. If you’re unsatisfied with the new configuration, press CTRL + C to revert the settings to the prior configuration.</p><p>If this doesn’t resolve your Droplet’s connectivity, check your Droplet’s DNS settings in the next section.</p><h2><strong>Check DNS Nameservers</strong></h2><p>The nameservers section in the configuration file specifies which DNS resolver servers your Droplet should be querying when trying to connect to a hostname like example.com. If the nameservers are misconfigured, your Droplet won’t connect to hostnames.</p><h3><strong>Test DNS Resolution</strong></h3><p>You can test your Droplet’s DNS resolution by logging in to the Droplet and using the ping tool.</p><p>To test your Droplet’s DNS resolution, ping the IP address 8.8.8.8 (Google’s DNS servers):</p><p><strong>ping</strong> 8.8.8.8</p><p>Copy</p><p>You should receive output similar to this:</p><p>PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.\n64 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=8.35 ms\n64 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=7.83 ms\n64 bytes from 8.8.8.8: icmp_seq=3 ttl=119 time=7.80 ms\n...</p><p>Copy</p><p>Next, ping the hostname google.com:</p><p><strong>ping</strong> google.com</p><p>Copy</p><p>You should receive similar results or a name resolution error like this:</p><p>ping: google.com: Temporary failure <strong>in</strong> name resolution</p><p>Copy</p><h3><strong>Results</strong></h3><p>If you receive a name resolution error from pinging the hostname but not the IP address, your network’s DNS configuration is likely incorrect.</p><p>If you receive errors from pinging both the hostname and the IP address, your network configuration could be misconfigured elsewhere, such as your <a href=\"https://docs.digitalocean.com/support/check-your-cloud-firewall-settings/\">DigitalOcean cloud firewall</a> or <a href=\"https://docs.digitalocean.com/support/check-your-droplet-firewall-settings/\">Droplet level firewall</a>.</p><p>If you received data from pinging both the IP address and hostname, your Droplet is resolving DNS correctly and you can <a href=\"https://docs.digitalocean.com/support/check-your-droplets-network-configuration/#conclusion\">skip to the next section</a>.</p><h3><strong>Correcting DNS Resolution</strong></h3><p>Each Droplet’s network configuration should contain the IP addresses of DigitalOcean DNS resolvers, as shown in this example:</p><p>network:\n &nbsp; &nbsp;version: 2\n &nbsp; &nbsp;ethernets:\n &nbsp; &nbsp; &nbsp; &nbsp;eth0:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 143.110.178.152/20\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 10.47.0.5/16\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;gateway4: 192.75.31.155\n\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;match:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;macaddress: 0a:ee:7a:c3:93:aa\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nameservers:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;addresses:\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.2\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- 67.207.67.3\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;search: []\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set-name: eth0\n....</p><p>&nbsp;\n \n \n \n</p><p>Copy</p><p>If the nameservers section has different IP addresses assigned to it than the ones shown above and your Droplet is experiencing hostname resolution issues, try adding DigitalOcean’s resolvers back to the nameservers section.</p><p>DigitalOcean’s nameserver resolver addresses are:</p><p>67.207.67.2\n67.207.67.3</p><p>Copy</p><p><a href=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"><img src=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"></a> <strong>Note</strong></p><p>DigitalOcean’s resolvers have limits of 100 queries per second. If you intend to exceed that rate, we recommend adding <a href=\"https://developers.google.com/speed/public-dns\">Google Public DNS’s</a> or <a href=\"https://www.opendns.com/setupguide\">OpenDNS’s resolvers</a> to your file, as well.</p><h3><strong>Save and Apply Any Changes</strong></h3><p>If you made any changes to the file after reviewing it, save the changes and then close the file. If you’re using the nano text editor, to save the changes and close the file, press ctrl + O and then ctrl + X.</p><p>To test the new configuration, run the netplan trial command again:</p><p>netplan try --debug</p><p>Copy</p><p>Use ping again from the Droplet’s command line to test if the Droplet can reach google.com. If the command returns successful results, your Droplet can connect to hostnames.</p><p>If this resolves your connectivity issue, press <strong>ENTER</strong>, before the 120 second timer ends, to confirm it and apply it. If you’re unsatisfied with the new configuration, press CTRL + C to revert the settings to the prior configuration.</p><p>If this does not resolve your Droplet’s connectivity issue, review the conclusion section of this guide.</p><h2><strong>Conclusion</strong></h2><p>If you’re still unable to get your Droplet to connect properly, you can <a href=\"https://cloudsupport.digitalocean.com/s/\">open a support ticket</a>. Make sure to include the following information:</p><ul><li>Your Droplet’s full OS version information. You can find this by running cat /etc/*release.</li><li>The full output of any errors related to the network issue.</li><li>All of the information you’ve gathered from troubleshooting so far.</li><li>Anything you were unclear about while referencing this article.</li></ul><p>Including all the above diagnostic information and clarifying where you are encountering the issue can help us quickly get up to speed with where your need on the issue is.</p>', 2);
INSERT DELAYED IGNORE INTO `knowledge_base` (`id`, `title`, `details`, `type_id`) VALUES
(9, 'How to Troubleshoot SSH Connectivity Issues', '<p>When connecting an SSH client to an SSH server, the first step is establishing basic network connectivity. This article covers how to identify some common situations that would cause issues at this point in the process, how to resolve those situations, and additional resources to prevent them in the future.</p><p><img src=\"https://docs.digitalocean.com/images/icons/default.svg\"></p><p><a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/\"><strong>Prerequisites to Troubleshooting SSH Issues</strong></a></p><p>Before troubleshooting SSH issues, determine if migrating or redeploying is more appropriate for your situation, make sure the issue is truly with SSH, and review information and skills you need to troubleshoot successfully.</p><h2><strong>Errors</strong></h2><h3><strong>Hostname Resolution</strong></h3><p>Most resolution errors occur when the reference to the SSH host can’t be mapped to a network address. While this is almost exclusively DNS related, the root cause isn’t always a DNS issue.</p><p>In an OpenSSH client, a command like ssh user@example.com may return an error like this:</p><p>ssh: Could not resolve hostname example.com: Name or service not known</p><p>Copy</p><p>In PuTTY, you might see an error window with text like this:</p><p>Unable to open connection to example.com Host does not exist</p><p>Copy</p><p>Here are some steps you can take to troubleshoot this error.</p><ul><li>Verify the hostname is properly spelled. Typographical errors can strike at any time.</li><li>Verify that you can resolve the hostname on your client machine using the system ping command. Using third-party sites like <a href=\"https://www.whatsmydns.net/\">WhatsMyDns.net</a> to check beyond your own DNS caching can also help confirm the results.</li></ul><p>If you’re having DNS resolution issues at any level, you can also use the Droplet IP address as an interim solution, as in ssh user@203.0.113.0 instead of ssh user@example.com.</p><p>The following tutorials are a good resource to begin working out DNS configuration errors:</p><ul><li><a href=\"https://www.digitalocean.com/community/tutorial_series/an-introduction-to-managing-dns\">An Introduction to Managing DNS</a></li><li><a href=\"https://www.digitalocean.com/community/tutorials/how-to-point-to-digitalocean-nameservers-from-common-domain-registrars\">How to Point to DigitalOcean Nameservers From Common Domain Registrars</a></li><li><a href=\"https://docs.digitalocean.com/products/networking/dns/\">How To Set Up a Host Name with DigitalOcean</a></li></ul><h3><strong>Connection Timeout</strong></h3><p>A connection timeout means that the client attempted to establish a network socket to the SSH server, but the server failed to respond within the timeout period.</p><p>In an OpenSSH client, a command like ssh user@203.0.113.0 may give an error like this:</p><p>ssh: connect to host 203.0.113.0 port 22: Connection timed out</p><p>Copy</p><p>In PuTTY, you might see an error window with text like this:</p><p>Network error: Connection timed out</p><p>Copy</p><p>Here are some steps you can take to troubleshoot this error.</p><ul><li>Verify that the host IP address is correct for the Droplet.</li><li>Verify that your network supports connectivity over the SSH port being used. Some public networks may block port 22 or custom SSH ports. You can do this by, for example, testing other hosts using the same port with a known working SSH server. This can help you determine if the issue isn’t specific to your Droplet.</li><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-your-firewall\">Verify the Droplet firewall rules</a>. Check that they’re not set to a default policy of DROP <strong>and</strong> the port is not added to allow connections.</li></ul><h3><strong>Connection Refused</strong></h3><p>A connection being refused has some subtle differences from a timeout. This means that the request is being routed to the SSH host, but the host does not successfully accept the request.</p><p>In an OpenSSH client, a command like ssh user@203.0.113.0 may return an error like this:</p><p>ssh: connect to host 203.0.113.0 port 22: Connection refused</p><p>Copy</p><p>In PuTTY, you might see an error window with text like this:</p><p>Network error: Connection refused</p><p>Copy</p><p>In this situation, you may have the same root issue as with connection timeout errors, but there are some additional things you can check:</p><ul><li>Verify that the host IP address is correct for the Droplet.</li><li>Verify that your network supports connectivity over the SSH port being used. Some public networks may block port 22 or custom SSH ports. You can do this by, for example, testing other hosts using the same port with a known working SSH server. This can help you determine if the issue isn’t specific to your Droplet.</li><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-your-firewall\">Verify the Droplet firewall rules</a>. Check that they’re not set to a default policy of DROP <strong>and</strong> the port is not added to allow connections.</li><li>Verify that the <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-the-ssh-service-status\">service is currently running</a> and <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-the-ssh-service-port\">bound to the expected port</a>.</li></ul><h2><strong>Solutions</strong></h2><h3><strong>Checking Your Firewall</strong></h3><p>Some connectivity problems can be caused by firewall configurations. If your firewall is set up to block certain ports or services, it can prevent you from connecting. You can learn more about firewalls in <a href=\"https://www.digitalocean.com/community/tutorials/what-is-a-firewall-and-how-does-it-work\">What is a Firewall and How Does It Work?</a>.</p><p>If you add a firewall rule that allows your local machine to connect by IP address, verify that the IP address assigned by your ISP has not changed. If it has, then you need to modify that firewall rule to permit the new IP address or address range.</p><p>How you check your firewall rules depends on which firewall your Droplet uses. Ubuntu servers usually run <a href=\"https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands\">UFW</a>; CentOS servers often use <a href=\"https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7\">FirewallD</a>. If you’re not using either, it’s likely that you’re using <a href=\"https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands\">iptables</a>.</p><p>For whichever firewall your system has, make sure to familiarize yourself with how to modify its rules. You also need to know which port your SSH service is using. By default, it’s 22, but you can follow the <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-the-ssh-service-port\">Checking the SSH Service Port</a> section below to confirm.</p><ul><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#firewalls-0\"><strong>iptables</strong></a></li><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#firewalls-1\">FirewallD</a></li><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#firewalls-2\">UFW</a></li></ul><p>For Linux systems not running UFW or FirewallD, list your firewall rules using the iptables command with sudo or as the <strong>root</strong> user.</p><p>iptables -nL</p><p>Copy</p><p>The following output would indicate that there are no rules in place that would block SSH traffic:</p><p>Chain INPUT (policy ACCEPT)\ntarget &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination\n\nChain FORWARD (policy ACCEPT)\ntarget &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination\n\nChain OUTPUT (policy ACCEPT)\ntarget &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination</p><p>Copy</p><p>If you see rules or a default policy of REJECT or DROP, you should ensure that the INPUT chain allows the port your SSH service is running on, which is 22 by default.</p><h3><strong>Checking the SSH Service Status</strong></h3><p>If you can’t SSH to your Droplet, you should check that the SSH service is running. How to very the service is running varies from system to system.</p><p>On older OS versions (Ubuntu 14 and below, CentOS 6, Debian 6) this may use the service command backed by <a href=\"https://www.digitalocean.com/community/tutorials/the-upstart-event-system-what-it-is-and-how-to-use-it\">Upstart</a>. More modern distributions with <a href=\"https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units\">systemd</a> use the systemctl command. Red Hat-based distributions (e.g. CentOS and Fedora) call the service sshd while Debian and Ubuntu call it ssh.</p><ul><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#ssh-service-status-0\"><strong>Using systemctl</strong></a></li><li><a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#ssh-service-status-1\">Using service</a></li></ul><p>Similarly, on a server using systemd (like CentOS 7), use the systemctl command to check the status:</p><p>systemctl status sshd</p><p>Copy</p><p>A running service shows output like this, with <strong>active (running)</strong> on the <strong>Active:</strong> line.</p><p>sshd.service - OpenSSH server daemon\n &nbsp; Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)\n &nbsp; Active: active (running) since Mon 2017-03-20 11:00:22 EDT; 1 months 1 days ago\n &nbsp;Process: 899 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)\n Main PID: 906 (sshd)\n &nbsp; CGroup: /system.slice/sshd.service\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ├ &nbsp;906 /usr/sbin/sshd -D\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ├26941 sshd: [accepted]\n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; └26942 sshd: [net]</p><p>&nbsp;\n</p><p>Copy</p><p>If the service is not running, the <strong>Active</strong> line displays <strong>inactive</strong> followed by recent journal entries for the service:</p><p>sshd.service - OpenSSH server daemon\n &nbsp; Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)\n &nbsp; Active: inactive (dead) since Fri 2017-04-21 08:36:13 EDT; 2s ago\n &nbsp;Process: 906 ExecStart=/usr/sbin/sshd -D $OPTIONS (code=exited, status=0/SUCCESS)\n &nbsp;Process: 899 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)\n Main PID: 906 (code=exited, status=0/SUCCESS)</p><p>&nbsp;\n</p><p>Copy</p><p>In this case, restart it with systemctl start sshd.</p><h3><strong>Checking the SSH Service Port</strong></h3><p>There are two general ways to check which port the SSH service is running on. One is checking the SSH configuration file, and the other is examining the running process.</p><p>On most systems, the SSH configuration file is /etc/ssh/sshd_config. The default port is 22, but can be overridden by any configuration line in this file specifying a Port directive with a number.</p><p>You can search lines like this <a href=\"https://www.digitalocean.com/community/tutorials/using-grep-regular-expressions-to-search-for-text-patterns-in-linux\">using grep</a>:</p><p><strong>grep</strong> Port /etc/ssh/sshd_config</p><p>Copy</p><p>You’ll see output like this with the port number:</p><p>Port 22</p><p>Copy</p><p>If you know <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-connectivity-issues/#checking-the-ssh-service-status\">the service is running</a>, you can confirm that the service is running on the expected port using ss (run with sudo or as the <strong>root</strong> user). Similar output is provided for the netstat -plnt command as well, but ss is the preferred command for querying socket information from the kernel.</p><p>ss -plnt</p><p>Copy</p><p>The output you are looking for should reference the program name listening on the configured port. For example, this output shows that the SSH service is listening on all interfaces, *, on port 22.</p><p>State &nbsp; &nbsp; &nbsp; Recv-Q Send-Q &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Local Address:Port &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Peer Address:Port\nLISTEN &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;128 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *:22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; users:((\"sshd\",pid=1493,fd=3))\nLISTEN &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;128 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:::22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; users:((\"sshd\",pid=1493,fd=4))</p><p>Copy</p><p>The interface references * and 0.0.0.0 indicate all interfaces on the Droplet. 127.0.0.1 indicates that the service is not publicly accessible. The relevant sshd_config directive is ListenAddress and should be commented out to default to all interfaces, or set to the public IP address of the Droplet.</p><h2><strong>Conclusion</strong></h2><p>If you need further help, you can <a href=\"https://cloudsupport.digitalocean.com/s/\">open a support ticket</a>. Make sure to include the following information:</p><ul><li>The username, host, and port you are using to connect.</li><li>The authentication mechanism you expect to use.</li><li>The full output of the errors linked to the stage of error, including verbose output of the SSH client</li><li>All of the information you’ve gathered from troubleshooting so far.</li><li>Anything you were unclear about while referencing this article.</li></ul><p>Including all the above diagnostic information and clarifying where you are encountering the issue when trying to connect can help us quickly get up to speed with where your need on the issue is.</p>', 1),
(10, 'How to Troubleshoot SSH Authentication Issues', '<p>Once the SSH connection is established and the protocol is initiated to communicate securely, the system can then verify the user connecting to the system. A wide variety of authentication mechanisms are supported. This walkthrough covers the two most common: password and private/public key pair.</p><p><img src=\"https://docs.digitalocean.com/images/icons/default.svg\"></p><p><a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/\"><strong>Prerequisites to Troubleshooting SSH Issues</strong></a></p><p>Before troubleshooting SSH issues, determine if migrating or redeploying is more appropriate for your situation, make sure the issue is truly with SSH, and review information and skills you need to troubleshoot successfully.</p><h2><strong>Errors</strong></h2><h3><strong>Permission Denied With Password</strong></h3><p><a href=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"><img src=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"></a> <strong>Note</strong></p><p>If you assigned an SSH key when creating your Droplet, PasswordAuthentication is disabled for your Droplet and you need to use your SSH key to log in.</p><p>You might see these errors in both PuTTY and OpenSSH clients when attempting to log in to a Droplet with a password:</p><p>root@203.0.113.0\'s password:\nPermission denied (publickey,password).</p><p>Copy</p><p>root@203.0.113.0\'s password:\nAccess denied\n\nServer sent disconnect message\ntype 2 (protocol error):\n\"Too many authentication failures for root\"</p><p>Copy</p><p>This indicates that authentication has failed and can be caused by a number of issues. Here are some steps you can take to troubleshoot this issue:</p><ul><li>Make sure you’re using the right username. On CoreOS, use the <strong>core</strong> user. On FreeBSD, use the <strong>freebsd</strong> user.</li><li>User password authentication could be broken, so check if the Recovery Console supports password login. If it doesn’t, <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#recovering-root-access\">attempt a password reset</a> or <a href=\"https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-iso/\">focus on recovering your data instead</a>.</li><li>Check that <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#checking-available-authentication-methods\">password authentication is allowed by the server</a>.</li></ul><h3><strong>Permission Denied With Key</strong></h3><p>This login method uses cryptographic keys to authenticate a user. Learn more about how SSH keys work in <a href=\"https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys\">SSH Essentials</a>.</p><p>When you create a Droplet with SSH keys, SSH keys are the only authentication method supported. You can enable password authentication in the SSH service configuration file once you successfully log in with your SSH key.</p><p>You might see an error like this:</p><p>Permission denied (publickey).</p><p>Copy</p><p>Disconnected: No supported authentication methods available (server sent: publickey)</p><p>Copy</p><p>Many of the most common issues regarding key-based authentication are caused by incorrect file permissions or ownership. Here are some steps you can take to troubleshoot this issue:</p><ul><li>Make sure the authorized_keys file and the private key itself have <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#fixing-key-permissions-and-ownership\">the correct permissions and ownership</a>.</li><li>Check that <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#checking-available-authentication-methods\">key-based authentication is allowed by the server</a>.</li><li>Make sure the private key is readable by the SSH client. If you’re using PuTTY, make sure <a href=\"https://docs.digitalocean.com/products/droplets/how-to/connect-with-ssh/putty/\">your SSH keys are properly configured for the session</a>. If you’re using an OpenSSH client, be sure your private SSH key <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#fixing-key-permissions-and-ownership\">has the proper permissions</a>.</li><li>Make sure the authorized_keys file contains the matching public key. <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#checking-ssh-public-and-private-keys\">Check that your public key is added to the Droplet</a>.</li><li>You may be using a private key that is no longer supported on the OpenSSH service. This commonly impacts OpenSSH 7+ servers (like our FreeBSD image) when using a private SSH DSA key. You’ll need to <a href=\"https://docs.digitalocean.com/support/how-to-troubleshoot-ssh-authentication-issues/#openssh-7-and-deprecated-key-algorithms\">update the server configuration to allow this key type</a>.</li></ul><h3><strong>Password Does Not Work In Console</strong></h3><p>If you cannot recover access to the console, this could indicate issues with the file system used for authentication or configuration issues within the PAM subsystem. This would also impact attempts to reset the <strong>root</strong> password and log in through the console.</p><p>From the console, you’ll see this login prompt:</p><p>Ubuntu 14.04.4 LTS server tty1\nserver Login:\nPassword:</p><p>Copy</p><p>But when you enter the correct password, you might get this error:</p><p>Login incorrect</p><p>Copy</p><p>After a <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#recovering-root-access\">password reset</a>, you’ll receive a prompt like this:</p><p>You are required to change your password immediately (root enforced)\nChanging password for root.\n(Current) UNIX Password:</p><p>Copy</p><p>You must re-enter the current password. If your connection closes immediately, then you may have made a mistake re-entering the current password, so try again.</p><p>On success, you are then prompted to enter the new password twice:</p><p>Enter new UNIX password:\nRetype new UNIX password:</p><p>Copy</p><p>However, if the session restarts after entering the same new password twice (meaning you get sent back to the login prompt), it typically means that there is a problem with one of the critical files managing your authentication data.</p><p>You can attempt to log in again using the console after a <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#recovering-root-access\">password reset</a>.</p><p>If the problem persists after resetting the Droplet’s password, consider using the recovery environment to <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#when-to-consider-migration-or-redeployment\">prepare your data for re-deployment</a> or attempt to resolve the issues with the PAM configuration or file system.</p><h2><strong>Solutions</strong></h2><h3><strong>Checking Available Authentication Methods</strong></h3><p>If you use verbose SSH client output or logging, check that the message outlining authentication methods includes password and/or publickey in the list:</p><p>debug1: Authentications that can continue: publickey,password</p><p>Copy</p><p>If the message doesn’t include the authentication method you want to use, take a look at the /etc/ssh/sshd_config configuration file. It’s a common error to accidentally set the PasswordAuthentication value to yes but PermitRootLogin to no or without-password when logging in as <strong>root</strong>.</p><p>Ensure that the appropriate configuration for your login method is set, then restart the service.</p><h3><strong>Fixing Key Permissions And Ownership</strong></h3><p>The OpenSSH server and client require strict <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#managing-files-and-permissions\">permissions</a> on the key files used.</p><p>Both the host and the client should have the following permissions and owners:</p><ul><li>~/.ssh permissions should be 700</li><li>~/.ssh should be owned by your account</li><li>~/.ssh/authorized_keys permissions should be 600</li><li>~/.ssh/authorized_keys should be owned by your account</li></ul><p>Client environments should additionally have the following permissions and owners:</p><ul><li>~/.ssh/config permissions should be 600</li><li>~/.ssh/id_* permissions should be 600</li></ul><p>These changes may need to be made through <a href=\"https://docs.digitalocean.com/support/ssh-troubleshooting/#accessing-the-web-console\">the Recovery Console</a>.</p><h3><strong>Checking SSH Public And Private Keys</strong></h3><p>If you forget which private key matches which public key, OpenSSH tools and the PuTTY suite of applications provide a way to generate a public key from a private key. You can use that to compare the contents of the ~/.ssh/authorized_keys file on your Droplets.</p><p>To get a public key from a private key in an OpenSSH environment, use the ssh-keygen command as follows, specifying the path of the private key. By default, it’s ~/.ssh/id_rsa.</p><p>ssh-keygen -y -f ~/.ssh/id_rsa</p><p>Copy</p><p>This generates a public key, like this:</p><p>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfBiMwCU1xoVVp0VbSYV3gTDV/jB57IHdILQ8kJ2622//Lmi4gDPlxA6HXVKq8odkGD/5MjqUw85X2rwEbhoBul74+LCToYJvvvBaDPCgg5z1icCKIJ1m/LJBrGNqPKCgqFWu0EH4/EFP2XIQqWqX1BZtJu/2YWrTr+xFOE/umoYmOd+t3dzQqMsv/2Aw+WmA/x/B9h+41WrobDgCExYNLPYcD0PO7fpsa8CcrZCo+TUWCe7MgQQCSM6WD4+PuYFpUWGw3ILTT51bOxoUhAo19U8B2QqxbMwZomzL1vIBhbUlbzyP/xgePTUhEXROTiTFx8W9yetDYLkfrQI8Q05+f</p><p>Copy</p><p>In PuTTY environments, the PuTTYgen.exe command loads a GUI where you can use the <strong>Load</strong> action to import the private key file. In PuTTY, this is normally stored in .ppk format, and you need to know the location of the file.</p><p>Once you import the key, the window contains a <strong>Public key for pasting into OpenSSH authorized_keys file</strong> section with a similar-looking sequence. If you select that text and paste it into a file, it collapses the + characters that it shows, and produce the public key.</p><p>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfBiMwCU1xoVVp0VbSYV3gTDV/jB57IHdILQ8kJ2622//Lmi4gDPlxA6HXVKq8odkGD/5MjqUw85X2rwEbhoBul74+LCToYJvvvBaDPCgg5z1icCKIJ1m/LJBrGNqPKCgqFWu0EH4/EFP2XIQqWqX1BZtJu/2YWrTr+xFOE/umoYmOd+t3dzQqMsv/2Aw+WmA/x/B9h+41WrobDgCExYNLPYcD0PO7fpsa8CcrZCo+TUWCe7MgQQCSM6WD4+PuYFpUWGw3ILTT51bOxoUhAo19U8B2QqxbMwZomzL1vIBhbUlbzyP/xgePTUhEXROTiTFx8W9yetDYLkfrQI8Q05+f imported-openssh-key</p><p>Copy</p><p>You can ignore the comment following the public key (which is imported-openssh-key) as it may differ from your generated key comment.</p><p>In both cases, make sure this public key is included as a line in your ~/.ssh/authorized_keys file on the server, and add it if not.</p><h3><strong>OpenSSH 7 And Deprecated Key Algorithms</strong></h3><p>On systems with OpenSSH 7 (FreeBSD and CoreOS, by default), any older DSA-based keys are not supported for authentication. The ssh-dss key is considered weak and using more modern key algorithms is strongly recommended.</p><p>Consequently, the best solution is to generate more modern keys and update your existing hosts to allow the new keys. However, as a workaround, you can set the PubkeyAcceptedKeyTypes directive to +ssh-dss in your /etc/ssh/sshd_config file.</p><h2><strong>Conclusion</strong></h2><p>For steps on successfully setting up key-based authentication, you can learn <a href=\"https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/\">how to add SSH keys to Droplets</a> or read <a href=\"https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys\">SSH Essentials: Working with SSH Servers, Clients, and Keys</a>.</p><p>If you need further help, you can <a href=\"https://cloudsupport.digitalocean.com/s/\">open a support ticket</a>. Make sure to include the following information:</p><ul><li>The username, host, and port you are using to connect.</li><li>The authentication mechanism you expect to use.</li><li>The full output of the errors linked to the stage of error, including verbose output of the SSH client</li><li>All of the information you’ve gathered from troubleshooting so far.</li><li>Anything you were unclear about while referencing this article.</li></ul><p>Including all the above diagnostic information and clarifying where you are encountering the issue when trying to connect can help us quickly get up to speed with where your need on the issue is.</p>', 4),
(11, 'How can I allowlist the DigitalOcean Metrics agent with my firewall?', '<p>Firewalls place a barrier between your servers and other machines on the network to protect them from external attacks, but they can also prevent the <a href=\"https://docs.digitalocean.com/products/monitoring/\">DigitalOcean Metrics Agent</a> from working on your Droplet. This includes <a href=\"https://docs.digitalocean.com/products/networking/firewalls/\">DigitalOcean’s Cloud Firewall service</a> and locally installed firewalls protecting your Droplet. Whatever firewall you use, you’ll want to allowlist the metrics agent to access the DigitalOcean monitoring service, otherwise the Droplet’s metrics data can’t be reported to the monitoring service.</p><p>&nbsp;</p><h2><strong>Configure DigitalOcean Cloud Firewall</strong></h2><p>If you are using DigitalOcean’s Cloud Firewall, you need to <a href=\"https://docs.digitalocean.com/products/networking/firewalls/how-to/configure-rules/\">create firewall rules</a> that allow all outgoing IPv4 and IPv6 HTTP/HTTPS traffic through ports 80 and 443.</p><p>&nbsp;</p><h2><strong>Configure Locally Installed Firewall</strong></h2><p>The DigitalOcean Metrics Agent connects to DigitalOcean using ports 80 and 443 on your Droplet. To allow the metrics agent to connect through the firewall, you need to create rules in your firewall software that allow all outgoing IPv4 and IPv6 HTTP/HTTPS traffic through ports 80 and 443.</p><p>You can create these rules using <a href=\"https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu-20-04\">UFW for Ubuntu and Debian systems</a>, or <a href=\"https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-8\">Firewalld for CentOS and Fedora systems</a>. These services interface with iptables, the Linux kernal firewall program native to most Linux operating systems. You can also <a href=\"https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands\">configure these firewall rules in iptables directly</a>, although we recommend using UFW or FirewallD because they are easier to use.</p>', 1);
INSERT DELAYED IGNORE INTO `knowledge_base` (`id`, `title`, `details`, `type_id`) VALUES
(12, 'My firewalls are not working correctly', '<p>Cloud Firewalls are designed to be intuitive, but the combination of multiple network policies and interaction with software active on Droplets can sometimes lead to unexpected results.</p><p>This guide explores strategies to gather information about your network policies and troubleshoot DigitalOcean Cloud Firewall issues. It covers how to:</p><ul><li>Find your active Firewalls</li><li>View the comprehensive set of rules applied to a single Droplet</li><li>Discover host-based firewalls that might be active on Droplet</li><li>Mitigate or resolve conflicting policies</li></ul><h2><strong>Finding Firewall Information</strong></h2><p>The first step in diagnosing problems in your Firewall policy is to understand the which rules are being applied. The <a href=\"https://cloud.digitalocean.com/\">control panel</a> contains information about individual Firewalls as well as the combined rule set that applies to each Droplet.</p><h3><strong>Displaying Information About All Firewalls</strong></h3><p>To view all of your Firewalls in the DigitalOcean Control Panel, click on the <strong>Networking</strong> item in the main navigation pane and then select the <strong>Firewalls</strong> subitem. The Firewall index page lists basic information about each of your Firewalls like the number of Droplets it applies to, the number of rules it contains, and when it was created:</p><p><a href=\"https://docs.digitalocean.com/screenshots/firewalls/main-page.bf796230b63a7ce97c1d0594df20db9768c305f403be4c770fa62d38a38c2d62.png\"><img src=\"https://docs.digitalocean.com/screenshots/firewalls/main-page.bf796230b63a7ce97c1d0594df20db9768c305f403be4c770fa62d38a38c2d62.png\" alt=\"Main Firewalls page\"></a></p><p>Clicking the name of a Firewall takes you to the Firewall detail page where you can see the policy’s individual rules and the Droplets it targets. This is also where you can add and remove Droplets and tags.</p><p><a href=\"https://docs.digitalocean.com/screenshots/firewalls/droplet-more-menu.bf2a3eca6475545001312962c78557344ee640396364bc2865c669662647b602.png\"><img src=\"https://docs.digitalocean.com/screenshots/firewalls/droplet-more-menu.bf2a3eca6475545001312962c78557344ee640396364bc2865c669662647b602.png\" alt=\"Droplet in a Firewall with more menu open\"></a></p><p>Reviewing the rules applied by each of your Firewalls can provide an overview of the types of network policy being enforced on your infrastructure as a whole.</p><h3><strong>Displaying the Firewall Policy Affecting an Individual Droplet</strong></h3><p>The Firewall index and detail pages are not the best place to look if you are interested in the policy affecting an individual Droplet. Instead, check the Droplet’s detail page.</p><p>From the <strong>Droplets</strong> item in the main control panel navigation menu, click the Droplet’s name. From there, click <strong>Networking</strong> in the Droplet menu. Towards the bottom of the page, a section called <strong>Firewalls</strong> lists the Firewalls that target the Droplet. Below, the policies from each of the Droplet’s Firewalls are combined into a comprehensive table:</p><p><a href=\"https://docs.digitalocean.com/screenshots/firewalls/combined-ruleset.d0097b3e49f0f66faac9b636761582acafd4b44ab75a38feb2c21543a26b5610.png\"><img src=\"https://docs.digitalocean.com/screenshots/firewalls/combined-ruleset.d0097b3e49f0f66faac9b636761582acafd4b44ab75a38feb2c21543a26b5610.png\" alt=\"Firewall combined ruleset\"></a></p><p>These inbound and outbound rules represent all of the traffic allowed through the Firewall for the Droplet. If you are experiencing issues with connectivity to your Droplet after applying a Firewall policy, this is a good place to look.</p><h2><strong>Displaying Host-Based Firewall Rules Active on Droplets</strong></h2><p>While the DigitalOcean Cloud Firewall service provides a network-based firewall solution, many administrators may also have a host-based firewall on the Droplet itself. Popular host-based firewalls include IPTables, UFW, and firewalld. When troubleshooting connectivity issues, check these services because they may also be filtering traffic on the Droplet level.</p><h3><strong>Finding the UFW Firewall Settings</strong></h3><p>If your server runs a <strong>UFW</strong> firewall, you can view the current filtering rules by typing:</p><p><strong>sudo</strong> ufw status verbose</p><p>Copy</p><p>Status: active\nLogging: on (low)\nDefault: deny (incoming), allow (outgoing), disabled (routed)\nNew profiles: skip\n\nTo &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Action &nbsp; &nbsp; &nbsp;From\n-- &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ------ &nbsp; &nbsp; &nbsp;----\n22/tcp (OpenSSH) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ALLOW IN &nbsp; &nbsp;Anywhere\n22/tcp (OpenSSH (v6)) &nbsp; &nbsp; &nbsp;ALLOW IN &nbsp; &nbsp;Anywhere (v6)</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>Copy</p><p>The output shows a few things:</p><ul><li>The Status line indicates that the firewall is actively enforcing traffic rules.</li><li>The Default line indicates that the incoming policy is to deny traffic and the outgoing policy is to allow traffic.</li><li>The rule set at the bottom indicates that incoming connections to port 22 are allowed on both IPv4 and IPv6 addresses.</li></ul><p>If you have a DigitalOcean Cloud Firewall in place with conflicting rules, you can disable your UFW firewall by typing:</p><p><strong>sudo</strong> ufw disable</p><p>Copy</p><p>If you want to keep UFW in place as a second line of defense, you should modify its rules to match the DigitalOcean Cloud Firewall settings. You can learn how to modify the UFW rules by following the <a href=\"https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands\">UFW Essentials: Common Firewall Rules and Commands</a> guide.</p><h3><strong>Finding the Firewalld Firewall Settings</strong></h3><p>If your Droplet runs a <strong>firewalld</strong> firewall, you can view the current traffic rules with a sequence of checks.</p><p>First, check whether firewalld is active:</p><p><strong>sudo</strong> firewall-cmd --state</p><p>Copy</p><p>running</p><p>Copy</p><p>If the firewall is running, check the active zones:</p><p><strong>sudo</strong> firewall-cmd --get-active-zones</p><p>Copy</p><p>public\n &nbsp;interfaces: eth0</p><p>Copy</p><p>If firewalld has active zones, it means that it is evaluating traffic against a set of rules. We can display the ports and services associated with each of the active zones with the --info-zone option:</p><p><strong>sudo</strong> firewall-cmd --info-zone=public</p><p>Copy</p><p>public (active)\n &nbsp;target: default\n &nbsp;icmp-block-inversion: no\n &nbsp;interfaces: eth0\n &nbsp;sources:\n &nbsp;services: dhcpv6-client ssh\n &nbsp;ports:\n &nbsp;protocols:\n &nbsp;masquerade: no\n &nbsp;forward-ports:\n &nbsp;sourceports:\n &nbsp;icmp-blocks:\n &nbsp;rich rules:</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>Copy</p><p>Check whether any ports are open by looking at:</p><ul><li>The target value: If this is set to DROP or %%REJECT%%, all traffic will be denied regardless of the other settings.</li><li>The ports value: this lists ports explicitly allowed through the firewall</li><li>The services value: this lists services that are allowed through. These are specific sets rules that can be allowed through as a unit.</li></ul><p>Here, we can see that the dhcpv6-client and ssh services are allowed through the firewall. We can check the ports associated with these services by typing:</p><p><strong>sudo</strong> firewall-cmd --permanent --get-ports --service=dhcpv6-client\n<strong>sudo</strong> firewall-cmd --permanent --get-ports --service=ssh</p><p>Copy</p><p>546/udp\n22/tcp</p><p>Copy</p><p>If you have a DigitalOcean Cloud Firewall in place with conflicting rules, you can disable your firewalld firewall by typing:</p><p><strong>sudo</strong> systemctl stop firewalld\n<strong>sudo</strong> systemctl disable firewalld</p><p>Copy</p><p>If you want to keep firewalld in place as a second line of defense, you should modify its rules to match the DigitalOcean Cloud Firewall settings. You can learn how to modify the firewalld rules by following the <a href=\"https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7\">How To Set Up a Firewall Using FirewallD on CentOS 7</a> guide.</p><h3><strong>Finding the IPTables Firewall Settings</strong></h3><p>If you are using an IPTables firewall, you can view the current IPv4 filtering rules by typing:</p><p><strong>sudo</strong> iptables --line-numbers -vL</p><p>Copy</p><p>Chain INPUT (policy DROP 1 packets, 40 bytes)\nnum &nbsp; pkts bytes target &nbsp; &nbsp; prot opt in &nbsp; &nbsp; out &nbsp; &nbsp; source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination\n1 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; 0 ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;lo &nbsp; &nbsp; * &nbsp; &nbsp; &nbsp; 0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0\n2 &nbsp; &nbsp; &nbsp;764 56512 ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;* &nbsp; &nbsp; &nbsp;* &nbsp; &nbsp; &nbsp; 0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ctstate RELATED,ESTABLISHED\n3 &nbsp; &nbsp; &nbsp; &nbsp;9 &nbsp; 540 ACCEPT &nbsp; &nbsp; tcp &nbsp;-- &nbsp;* &nbsp; &nbsp; &nbsp;* &nbsp; &nbsp; &nbsp; 0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:22\n4 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; 0 ACCEPT &nbsp; &nbsp; tcp &nbsp;-- &nbsp;* &nbsp; &nbsp; &nbsp;* &nbsp; &nbsp; &nbsp; 0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;tcp dpt:80\n\nChain FORWARD (policy ACCEPT 0 packets, 0 bytes)\nnum &nbsp; pkts bytes target &nbsp; &nbsp; prot opt in &nbsp; &nbsp; out &nbsp; &nbsp; source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination\n\n\nChain OUTPUT (policy ACCEPT 374 packets, 97673 bytes)\nnum &nbsp; pkts bytes target &nbsp; &nbsp; prot opt in &nbsp; &nbsp; out &nbsp; &nbsp; source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>Copy</p><p>The output indicates:</p><ul><li>The default policy for incoming and outgoing traffic (DROP for incoming, and ACCEPT for outgoing)</li><li>The exceptions to the default policies. Here, we can see exemptions for incoming TCP traffic to ports 22 and 80 (as well as traffic related to existing connections and traffic coming from the local interface)</li></ul><p>If you are more comfortable with IPTables configuration syntax, you may find the rules-based view more helpful:</p><p><strong>sudo</strong> iptables -S</p><p>Copy</p><p>-P INPUT DROP\n-P FORWARD ACCEPT\n-P OUTPUT ACCEPT\n-A INPUT -i lo -j ACCEPT\n-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT\n-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT\n-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>&nbsp;\n</p><p>Copy</p><p>The iptables command only displays the rules for filtering IPv4 traffic. To show the IPv6 filtering rules, rerun the above commands using the ip6tables instead of iptables.</p><p>If your DigitalOcean Cloud Firewall has rules that conflict with your IPTables firewall, you can disable your IPTables firewall by typing:</p><p><strong>sudo</strong> iptables -P INPUT ACCEPT\n<strong>sudo</strong> iptables -P OUTPUT ACCEPT\n<strong>sudo</strong> iptables -P FORWARD ACCEPT\n<strong>sudo</strong> iptables -F\n<strong>sudo</strong> ip6tables -P INPUT ACCEPT\n<strong>sudo</strong> ip6tables -P OUTPUT ACCEPT\n<strong>sudo</strong> ip6tables -P FORWARD ACCEPT\n<strong>sudo</strong> ip6tables -F</p><p>Copy</p><p>If you are using a service like iptables-persistent or have a script loading IPTables rules at boot, you may have to disable those as well.</p><p>If you want to keep IPTables in place as a second line of defense, you should modify its rules to match the DigitalOcean Cloud Firewall settings. You can learn how to modify the IPTables rules by following the <a href=\"https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands\">Iptables Essentials: Common Firewall Rules and Commands</a> guide.</p><h2><strong>Viewing Running Services</strong></h2><p>If you are experiencing connection problems, it’s useful to verify which services are actually running on your Droplets. Sometimes a service might go down or be under heavy load, which can cause some of the same symptoms as a closed port.</p><p>On your Droplets, you can view the services currently bound to a port by typing:</p><p><strong>sudo</strong> <strong>netstat</strong> -plunt</p><p>Copy</p><p>Active Internet connections (only servers)\nProto Recv-Q Send-Q Local Address &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Foreign Address &nbsp; &nbsp; &nbsp; &nbsp; State &nbsp; &nbsp; &nbsp; PID/Program name\ntcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 0.0.0.0:80 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; &nbsp; &nbsp;13704/nginx -g daem\ntcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 0.0.0.0:22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; &nbsp; &nbsp;1762/sshd\ntcp6 &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 :::80 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN &nbsp; &nbsp; &nbsp;13704/nginx -g daem\ntcp6 &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 :::22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :::* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LISTEN &nbsp; &nbsp; &nbsp;1762/sshd</p><p>Copy</p><p>Check the port numbers and interfaces in the Local Address section against your expected services. If one of your expected services is not present in the netstat output, your service isn’t running. This would cause connection attempts to fail.</p><h2><strong>Evaluating Connectivity From an External Source</strong></h2><p>Gathering information about the state of your DigitalOcean Cloud Firewall rules and any host-based firewall rules helps you understand the intended network access. In addition, testing helps you validate the actual traffic filtering behavior.</p><p>By installing tools like nmap on an outside host, we can check which ports we can connect to on our Droplets. If you have Firewall rules that limit access based on the originating host, you may have to install nmap on multiple machines (those in the allowed group and those outside) for a full understanding.</p><p><a href=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"><img src=\"https://docs.digitalocean.com/images/icons/notice/note.46023f71f66f6043ba30323acdb457485d28f26c83a019597c2ba5cd1e37dac8.svg\"></a> <strong>Note</strong></p><p>If you only wish to allow connections from certain hosts, targeting Firewall rules with tags will make management and testing significantly simpler. You can install nmap on a single test Droplet and then add or remove tags from that server to change which rules match the connection request.</p><p>For more complete information about scanning hosts with nmap, follow our guide on <a href=\"https://www.digitalocean.com/community/tutorials/how-to-test-your-firewall-configuration-with-nmap-and-tcpdump\">How To Test your Firewall Configuration with Nmap and Tcpdump</a>.</p><h3><strong>Installing Nmap</strong></h3><p>To start, you will need to install nmap on a Droplet that is not a part of the infrastructure you wish to scan.</p><p>To install nmap on an Ubuntu or Debian testing Droplet, type:</p><p><strong>sudo</strong> <strong>apt-get</strong> update\n<strong>sudo</strong> <strong>apt-get</strong> <strong>install</strong> nmap</p><p>Copy</p><p>To install nmap on a CentOS testing Droplet, type:</p><p><strong>sudo</strong> yum <strong>install</strong> nmap</p><p>Copy</p><p>You should now be able to check the target infrastructure.</p><h3><strong>Scanning TCP Ports</strong></h3><p>Once the scanner is installed, you can scan for open TCP ports by typing:</p><p><strong>sudo</strong> nmap -sS -Pn -p- -T4 -vv --reason Droplet_IP_address</p><p>Copy</p><p>The scan will attempt a SYN TCP connection to every port on the target Droplet. If you want to limit the number of scanned ports to speed up the scan, you can replace the -p- option with a range or sequence of ports instead:</p><p><strong>sudo</strong> nmap -sS -Pn -p 1-5000 -T4 -vv --reason Droplet_IP_address</p><p>Copy</p><p>If you remove the -p option entirely, nmap will scan the 1000 most common ports, which is good when you have limited time or are only interested in the state of common service ports:</p><p><strong>sudo</strong> nmap -sS -Pn -T4 -vv --reason Droplet_IP_address</p><p>Copy</p><p>If you have rules that limit traffic according to origin, run this test against your target infrastructure from a host where connections are supposed to be allowed and again from a host where connections are supposed to be denied.</p><h3><strong>Scanning UDP Ports</strong></h3><p>Because UDP is a connectionless protocol, scanning with UDP is significantly more error prone and time consuming than TCP scans. Since the Cloud Firewalls block traffic by silently dropping offending packets, it is difficult or impossible to distinguish between open and filtered UDP ports by port scanning.</p><p>This is beneficial in most situations as it makes it more difficult for outside parties to understand the services running on your infrastructure. However, this interferes with your ability to audit your UDP Firewall rules and so it cannot be used reliably for this purpose.</p><p>You can read more about the limitations of UDP scanning in our <a href=\"https://www.digitalocean.com/community/tutorials/how-to-test-your-firewall-configuration-with-nmap-and-tcpdump#scan-your-target-for-open-udp-ports\">article on testing firewalls with nmap and tcpdump</a>.</p><h2><strong>General Troubleshooting Information</strong></h2><p>So far, we’ve demonstrated how to gather information about your network policies and audit them. If you are still having trouble tracking down the source of your problems, some of the information in this section may help.</p><h3><strong>Connections Blocked by DigitalOcean Cloud Firewalls Will Timeout</strong></h3><p>The message you receive when attempting to connect to your server often contains valuable information about the source or type of problem you are experiencing. The exact user-facing message may be different depending on which type of client you are using. For example, SSH clients will have different failure messages than web browsers, and web browsers will each have their own style of messaging.</p><p>When DigitalOcean Cloud Firewalls filter traffic, they drop packets that do not match any exception rules. Eventually, after repeated failed attempts, the client connection typically times out. If you see a connection timeout message when attempting to connect to your Droplets, it <i>may</i> be caused by your DigitalOcean Cloud Firewalls rules.</p><p>Keep in mind that many other types of scenarios can also cause connection timeouts. For instance, many host-based firewalls also filter by dropping packets. This is also a status you may see if the service you are trying to reach is not operating or if the server itself has gone down. If a connection was redirected incorrectly by a routing component, this could also be the response.</p><p>If you see a timeout error, your Cloud Firewalls policy may be responsible. Double-check your rules to verify that the appropriate inbound and outbound traffic is permitted.</p><p>If you immediately receive an error message that is not a timeout, the request was blocked by something other than Cloud firewalls. Some of the following messages fall into this category:</p><ul><li>connection refused</li><li>destination unreachable</li><li>port unreachable</li><li>host unreachable</li><li>net unreachable</li><li>protocol unreachable</li><li>net prohibited</li><li>host prohibited</li><li>admin prohibited</li><li>no route</li><li>address unreachable</li><li>TCP reset</li></ul><p>These are all indicators that the connection was denied by some other piece of software. For instance, most host-based firewalls include an option to deny traffic with an ICMP rejection message instead of silently dropping packets. Clients that receive these messages are able to error immediately instead of retrying until a timeout limit is reached.</p><p>DigitalOcean Cloud Firewalls do not send rejection messages, so if you see one, it means that your request is being blocked somewhere else.</p><h3><strong>DigitalOcean Cloud Firewall Rules are Additive</strong></h3><p>DigitalOcean Cloud Firewalls drop all traffic as a policy. To allow traffic to pass through, you must define exceptions by adding rules.</p><p>Because all rules are exceptions to the default drop policy, the rule set is entirely additive. This means that once you allow traffic in one rule, it is impossible to lock it back down in another rule.</p><p>This can lead to unexpected results when more than one rule applies to a connection, especially if they come from separate Cloud Firewalls. If the connection matches <i>any</i> rule, it is able to pass through the firewall. You can view the aggregate rules applied to your Droplet by checking out the <strong>Networking</strong> section on the Droplet’s detail page.</p><h3><strong>Restricting Connections by Source or Destination Requires Static IP Addresses</strong></h3><p>Cloud Firewalls are able to restrict inbound traffic based on the originating IP address and outbound traffic based on the destination IP address. This works well when the secondary party is another server with a static IP address.</p><p>However, you may run into trouble if you try to use this functionality to restrict connections to your home connection. Many internet service providers rotate customer IP addresses over time. This means that although a rule limiting connections to your home IP address may work now, it may stop working in the future.</p><p>Keep this in mind if you have Cloud Firewall rules that limit connections. If the address or network range is not stable, the rule will not function correctly over time.</p><h3><strong>Applications Sometimes Require Additional Network Access</strong></h3><p>Some applications and services require broader network access than the regular listening port. Not accounting for these situations can lead to difficult to debug issues.</p><p>Some examples of additional required network access that might not be immediately obvious:</p><ul><li><strong>DigitalOcean Monitoring Agent</strong>: The DigitalOcean Monitoring agent requires <strong>outbound</strong> TCP access on ports 80 and 443 to authenticate to the Monitoring service and to send metrics. If you are restricting outbound traffic on these ports, DigitalOcean Monitoring will no longer work.</li><li><strong>DNS Lookups</strong>: Many applications require DNS access to function correctly. Blocking outbound DNS (TCP and UDP port 53) may lead to many difficult to diagnose issues.</li><li><strong>Service Coordination</strong>: Many applications use additional ports to coordinate with other servers or to accept special types of traffic. For instance, databases use designated ports for clustering or replication.</li></ul><p>Not accounting for these additional requirements can cause problems, so be sure to check which ports your services are using with sudo netstat -plunt.</p><h2><strong>More Information</strong></h2><p>Learning how to diagnose problems with your Firewalls can help you identify the cause of connection problems. To help avoid some common problems with firewalls, consider adopting some of the practices recommended in our <a href=\"https://docs.digitalocean.com/products/networking/firewalls/concepts/organization/\">How To Organize Your DigitalOcean Cloud Firewalls</a> guide.</p>', 4),
(13, 'When connecting to my database, I get a \"Connection Refused\" error.', '<p>There are two types of Connection Refused errors: refused for Hostname and for IP Address. Reference the following guides to identify your issue and troubleshoot:</p><h2>&nbsp;</h2><h2><strong>Connection Refused (Hostname)</strong></h2><p>A Connection Refused (Hostname) error occurs when:</p><ul><li>You use the wrong port in the connection string.</li><li>You connect from a machine that is not in the database’s list of trusted sources.</li></ul><p>If you are getting this error:</p><ul><li>Check the port in the connection string.</li><li>Check that you have added the machine or resource you are connecting from to the database’s list of trusted sources.<ul><li>To check your database’s trusted sources, see the following guides for <a href=\"https://docs.digitalocean.com/products/databases/postgresql/how-to/secure/#firewalls\">PostgreSQL</a>, <a href=\"https://docs.digitalocean.com/products/databases/mysql/how-to/secure/#firewalls\">MySQL</a>, <a href=\"https://docs.digitalocean.com/products/databases/redis/how-to/secure/#firewalls\">Redis</a>, and <a href=\"https://docs.digitalocean.com/products/databases/mongodb/how-to/secure/#firewalls\">MongoDB</a>.</li></ul></li></ul><h2>&nbsp;</h2><h2><strong>Connection Refused (IP Address)</strong></h2><p>A Connection Refused (IP Address) error occurs when:</p><ul><li>You use the wrong IP address in the connection string.</li><li>Use the database’s private IP address in the connection string and try to connect from a Droplet that isn’t allowed to access the VPC network.</li></ul><p>If you are getting this error:</p><ul><li>Check the IP address in the connection string or use the database’s hostname. We recommend using the hostname over the IP address because the IP address may change, but the hostname will always remain the same.</li><li>If you’re using the database’s private IP address, connect from a Droplet that meets the following criteria:<ul><li>The Droplet is on the same DigitalOcean account as the database.</li><li>The Droplet is in the same datacenter region as the database.</li><li>The Droplet resides in the same VPC network as the target Droplet.<ul><li>To check VPC networks, see the following guides for <a href=\"https://docs.digitalocean.com/products/databases/postgresql/how-to/secure/#firewalls\">PostgreSQL</a>, <a href=\"https://docs.digitalocean.com/products/databases/mysql/how-to/secure/#firewalls\">MySQL</a>, <a href=\"https://docs.digitalocean.com/products/databases/redis/how-to/secure/#firewalls\">Redis</a>, and <a href=\"https://docs.digitalocean.com/products/databases/mongodb/how-to/secure/#firewalls\">MongoDB</a>.</li></ul></li></ul></li></ul>', 3),
(14, 'Design your apps in your own way', '<p>The most well-known dummy text is the \'Lorem Ipsum\', which is said to have originated in the 16th century. Lorem Ipsum is composed in a pseudo-Latin language which more or less corresponds to \'proper\' Latin. It contains a series of real Latin words. This ancient dummy text is also incomprehensible, but it imitates the rhythm of most European languages in Latin script.</p><p>&nbsp;</p><p>\" There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable. \"</p><p>&nbsp;</p><p>The advantage of its Latin origin and the relative meaninglessness of Lorum Ipsum is that the text does not attract attention to itself or distract the viewer\'s attention from the layout.</p>', 4);

TRUNCATE TABLE `languages`;
INSERT DELAYED IGNORE INTO `languages` (`id`, `code`, `name`) VALUES
(1, 'en', 'English'),
(2, 'de', 'German'),
(3, 'en', 'English'),
(4, 'de', 'German'),
(5, 'cn', 'Chinese'),
(6, 'bd', 'Bengali'),
(7, 'nl', 'Dutch'),
(8, 'it', 'Italian'),
(9, 'sa', 'Arabic'),
(10, 'es', 'Spanish'),
(11, 'se', 'Swedish');

TRUNCATE TABLE `messages`;
INSERT DELAYED IGNORE INTO `messages` (`id`, `guid`, `conversation_id`, `user_id`, `contact_id`, `is_read`, `message`, `created_at`, `updated_at`, `deleted_at`) VALUES
(7, NULL, 1, NULL, 102, 1, 'great', '2021-12-25 23:28:03', '2021-12-26 13:11:40', NULL),
(8, NULL, 1, 1, NULL, 1, 'ok', '2021-12-25 23:35:36', '2021-12-26 13:11:40', NULL),
(9, NULL, 1, 1, NULL, 1, 'gook', '2021-12-26 13:12:51', '2021-12-26 13:13:15', NULL),
(10, NULL, 1, 1, NULL, 1, 'hey', '2021-12-26 13:13:24', '2022-09-10 07:49:17', NULL),
(11, NULL, 1, 1, NULL, 1, 'asdf', '2021-12-26 13:13:36', '2022-09-10 07:49:17', NULL),
(12, NULL, 2, 1, NULL, 1, 'Hey Customer, welcome to website.com - how can I help?', '2022-09-10 04:21:31', '2022-09-10 04:27:35', NULL),
(13, NULL, 2, NULL, 103, 1, 'How are you?', '2022-09-10 04:27:11', '2022-09-10 04:27:35', NULL),
(14, NULL, 2, 1, NULL, 1, 'hello', '2022-09-10 04:27:46', '2022-09-10 07:49:05', NULL),
(15, NULL, 2, NULL, 103, 1, 'yeah!', '2022-09-10 04:27:58', '2022-09-10 07:49:05', NULL),
(16, NULL, 1, 1, NULL, 1, 'ok', '2022-09-13 22:19:01', '2022-09-13 22:19:10', NULL),
(17, NULL, 1, 2, NULL, 1, 'Another Message', '2022-09-16 05:49:25', '2022-10-09 05:45:38', '2022-10-09 05:45:38'),
(18, NULL, 1, 2, NULL, 1, 'Okay', '2022-09-16 05:49:28', '2022-10-09 05:45:38', '2022-10-09 05:45:38'),
(19, NULL, 1, 2, NULL, 1, 'Good', '2022-09-16 05:49:29', '2022-10-09 05:45:38', '2022-10-09 05:45:38'),
(20, NULL, 2, 1, NULL, 1, 'hey there.....', '2022-10-08 04:00:54', '2022-10-08 04:00:56', NULL),
(21, NULL, 3, 1, NULL, 1, 'Hey Robin, welcome to website.com - how can I help?', '2022-10-08 04:23:19', '2022-10-08 05:52:23', NULL),
(22, NULL, 4, 1, NULL, 1, 'Hey Hello, welcome to website.com - how can I help?', '2022-10-08 04:23:44', '2022-10-08 05:52:22', NULL),
(23, NULL, 6, 10, NULL, 1, 'Hey New, welcome to HelpDesk support - how can I help?', '2022-10-08 05:12:33', '2022-10-08 05:44:42', NULL),
(24, NULL, 6, NULL, 110, 1, 'hey there new', '2022-10-08 05:41:09', '2022-10-08 05:44:42', NULL),
(25, NULL, 6, NULL, 110, 1, 'ok', '2022-10-08 05:44:35', '2022-10-08 05:44:42', NULL),
(26, NULL, 6, 1, NULL, 1, 'nice', '2022-10-08 05:44:49', '2022-10-08 05:51:53', NULL),
(27, NULL, 6, NULL, 110, 1, 'anther', '2022-10-08 09:47:17', '2022-10-08 09:47:21', NULL),
(28, NULL, 6, 1, NULL, 1, 'ok', '2022-10-08 09:47:26', '2022-10-08 09:48:08', NULL),
(29, NULL, 1, NULL, 102, 1, 'ok', '2022-10-08 09:48:52', '2022-10-08 09:49:16', NULL),
(30, NULL, 1, NULL, 102, 1, 'hello', '2022-10-08 09:49:09', '2022-10-08 09:49:16', NULL),
(31, NULL, 6, 1, NULL, 1, 'laskdfj', '2022-10-08 11:48:41', '2022-10-08 11:51:05', NULL),
(32, NULL, 6, 1, NULL, 1, 'aslkdf', '2022-10-08 11:48:42', '2022-10-08 11:51:05', NULL),
(33, NULL, 6, 1, NULL, 1, 'asdklf', '2022-10-08 11:48:42', '2022-10-08 11:51:05', NULL),
(34, NULL, 6, 1, NULL, 1, 'asdflkasdf', '2022-10-08 11:48:44', '2022-10-08 11:51:05', NULL);

TRUNCATE TABLE `notes`;
INSERT DELAYED IGNORE INTO `notes` (`id`, `user_id`, `name`, `details`, `color`, `created_at`, `updated_at`) VALUES
(1, 1, '14 things to work on', 'Our interior design experts work with you to create the space that you have been dreaming about.', NULL, '2022-10-05 00:19:18', '2022-10-05 02:30:55'),
(6, 1, 'What does success as a UX', 'What does success as a UX designer look like and how to get there systematically.', NULL, '2022-10-05 02:49:38', '2022-10-05 02:49:38'),
(7, 1, '15 things to work on', 'Probabo, inquit, sic agam, ut labore et voluptatem sequi nesciunt, neque porro quisquam est, quid malum, sensu iudicari', NULL, '2022-10-05 02:49:55', '2022-10-05 02:49:55'),
(8, 1, 'Far far away, behind the word mountains', 'Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.', NULL, '2022-10-05 02:51:44', '2022-10-05 02:51:44'),
(9, 1, 'European languages are members of the same family', 'The European languages are members of the same family. Their separate existence is a myth. For science, music, sport, etc, Europe uses the same vocabulary. The languages only differ in their grammar, their pronunciation and their most common words.', NULL, '2022-10-05 02:52:01', '2022-10-05 02:52:01'),
(10, 1, 'A wonderful serenity has taken possession of my entire soul', 'A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart. I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine.', NULL, '2022-10-05 02:52:26', '2022-10-05 02:52:26'),
(11, 1, 'One morning, when Gregor Samsa woke', 'One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment. His many legs, pitifully thin compared with the size of the rest of him, waved about helplessly as he looked.', NULL, '2022-10-05 02:52:50', '2022-10-05 02:52:50'),
(12, 1, 'Brown fox jumps over a lazy dog', 'The quick, brown fox jumps over a lazy dog. DJs flock by when MTV ax quiz prog. Junk MTV quiz graced by fox whelps. Bawds jog, flick quartz, vex nymphs. Waltz, bad nymph, for quick jigs vex! Fox nymphs grab quick-jived waltz. Brick quiz whangs jumpy veldt fox.', NULL, '2022-10-05 02:53:13', '2022-10-05 02:53:13'),
(13, 1, 'Nemo enim ipsam voluptatem quia voluptas sit', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', NULL, '2022-10-05 02:53:34', '2022-10-05 02:53:34'),
(14, 1, 'One morning, when Gregor Samsa woke from troubled dreams', 'One morning, when Gregor Samsa woke from troubled dreams, he found himself transformed in his bed into a horrible vermin. He lay on his armour-like back, and if he lifted his head a little he could see his brown belly, slightly domed and divided by arches into stiff sections. The bedding was hardly able to cover it and seemed ready to slide off any moment.', NULL, '2022-10-05 02:54:04', '2022-10-05 02:54:04'),
(15, 1, 'Quisque rutrum. Aenean imperdiet', 'Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet.', NULL, '2022-10-05 02:56:37', '2022-10-05 02:56:37');

TRUNCATE TABLE `organizations`;
INSERT DELAYED IGNORE INTO `organizations` (`id`, `name`, `email`, `phone`, `address`, `city`, `region`, `country`, `postal_code`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 'Bosco-Hand', 'lia36@lowe.com', '(866) 905-6059', '7922 Ciara Estates Suite 599', 'West Filomenaland', 'Kentucky', 'US', '41699', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(2, 'Russel, Kuphal and Shanahan', 'bartoletti.lila@thiel.com', '888-764-6955', '34248 Huels Station', 'McClureville', 'Missouri', 'US', '57908-8595', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(3, 'Wisozk, Jakubowski and Jast', 'hyatt.don@bruen.net', '1-855-487-1262', '782 Antoinette Flat Apt. 259', 'South Carmine', 'Illinois', 'US', '96968', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(4, 'Mante, Rippin and Moore', 'callie14@stiedemann.com', '1-888-583-0510', '556 Conroy Lights', 'Port Horacio', 'Washington', 'US', '25356-3301', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(5, 'McKenzie-Smitham', 'denesik.mohammed@walker.com', '855-313-3070', '259 Alexa Cove', 'Robertsfort', 'Delaware', 'US', '13423', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(6, 'Ankunding Ltd', 'tavares15@auer.com', '855.502.6390', '7557 Christop Burg', 'New Andre', 'Arkansas', '19', '20763', '2021-08-24 19:36:09', '2022-09-14 12:31:33', NULL),
(7, 'Morissette-DuBuque', 'fhintz@waters.com', '(877) 522-0636', '793 Pollich Ramp', 'Handberg', 'West Virginia', 'US', '66917-4280', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(8, 'Reichert-Kuphal', 'ukuhic@labadie.com', '(877) 703-2726', '767 Ziemann Glen', 'Lake Jaclyn', 'Massachusetts', 'US', '19809-7113', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(9, 'Herzog, Rogahn and Gorczany', 'xzboncak@wolff.com', '844.833.8159', '26872 Aiden Centers Apt. 035', 'Cristopherbury', 'Montana', 'US', '15909-6506', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(10, 'Franecki-Legros', 'bgoodwin@johns.com', '(888) 974-5520', '9539 Walker Shores', 'Lake Arden', 'Kansas', 'US', '35107', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(11, 'Kshlerin, Yundt and Hansen', 'blanda.katrina@towne.com', '1-877-899-6612', '7474 Lydia Knolls Suite 931', 'New Boport', 'Tennessee', 'US', '27246-6172', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(12, 'Lehner LLC', 'annabelle56@toy.biz', '1-844-268-1991', '3512 Brandy Ranch Suite 291', 'Shieldsburgh', 'Oregon', 'US', '84427-8507', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(13, 'Frami PLC', 'florine88@hansen.com', '1-877-792-0868', '28584 Nelda Vista Apt. 586', 'Lake Esperanzaberg', 'Tennessee', 'US', '31770', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(14, 'Frami, Quitzon and Halvorson', 'randal08@carter.com', '(866) 512-5108', '3459 Romaguera Expressway', 'Murazikfort', 'West Virginia', 'US', '73829', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(15, 'Bins LLC', 'hhane@hartmann.com', '(855) 695-7321', '88461 Fritz Skyway Apt. 462', 'Port Eda', 'Iowa', 'US', '91277', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(16, 'Bernhard and Sons', 'maud21@champlin.info', '888.855.2760', '605 Osinski Springs Suite 256', 'Lake Christophe', 'Idaho', 'US', '74086', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(17, 'Grimes and Sons', 'zelma42@schneider.com', '1-866-860-1960', '3146 Dangelo Rapids Suite 401', 'Jacynthestad', 'Wyoming', 'US', '05392-4237', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(18, 'Wisoky-Cole', 'vida.pacocha@howe.org', '844-302-3272', '5691 Libbie Knolls Apt. 326', 'South Hildegardberg', 'Minnesota', 'US', '00265-8642', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(19, 'O\'Keefe LLC', 'veum.adolfo@bartell.com', '1-877-724-9742', '9260 Block Rapid', 'South Javonfurt', 'Massachusetts', 'US', '35436-1319', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(20, 'Hyatt-Trantow', 'sheaney@mayer.com', '866-255-3770', '3100 Rempel Mills', 'Lake Macie', 'Wisconsin', 'US', '84210', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(21, 'Veum and Sons', 'devonte.cruickshank@kuphal.com', '800.857.4700', '7155 Zboncak Squares', 'North Berenice', 'Wisconsin', 'US', '85594-9184', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(22, 'Shanahan Ltd', 'schimmel.jorge@ziemann.com', '(855) 774-2142', '385 Schumm Plains', 'Klingside', 'Pennsylvania', 'US', '17819-9433', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(23, 'Erdman PLC', 'brent77@farrell.com', '800.271.0442', '55674 Ortiz Orchard', 'Lake Myriamside', 'South Dakota', 'US', '40816-3224', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(24, 'Von LLC', 'stiedemann.briana@johns.org', '1-855-480-4824', '8696 Wisoky Shores Apt. 138', 'West Kylieberg', 'Arkansas', 'US', '88752', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(25, 'Daniel-Dietrich', 'zlehner@waelchi.info', '866.316.2853', '97720 Bailey Dam Suite 750', 'New Mathilde', 'West Virginia', 'US', '40145', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(26, 'Stroman Ltd', 'jaquan.yost@crona.net', '(855) 768-9080', '6284 Leila Causeway Suite 261', 'West Haileebury', 'North Carolina', 'US', '62794', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(27, 'Lesch Inc', 'denis82@carroll.com', '877.938.6106', '325 Kilback Forks', 'Pabloland', 'Michigan', 'US', '70190', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(28, 'King Group', 'ofelia32@carroll.info', '888.815.4933', '32630 Eddie Hills', 'Jalynchester', 'Montana', 'US', '93373', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(29, 'Romaguera, Kreiger and Reilly', 'wkertzmann@stanton.net', '800-353-7843', '2440 Verna Mountain Apt. 453', 'Connellyport', 'Pennsylvania', 'US', '20289-3302', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(30, 'Skiles, Klein and Johnston', 'yasmin.emard@reynolds.info', '1-877-339-9600', '23010 O\'Kon Track', 'Dorianchester', 'North Carolina', 'US', '30118', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(31, 'Swaniawski Group', 'kamille.osinski@mosciski.com', '844-761-3881', '97431 Louie Manor Apt. 878', 'South Kiaraport', 'Delaware', 'US', '00969-7067', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(32, 'Volkman, Huel and Hudson', 'camylle.stroman@cassin.net', '844-406-1185', '499 Mills Center', 'Hoegerburgh', 'Maryland', 'US', '71095', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(33, 'Bayer Ltd', 'uriel60@howell.com', '888.825.7771', '642 Osinski Way Apt. 201', 'Shemarberg', 'Iowa', 'US', '73610-7286', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(34, 'Kuhlman Inc', 'runolfsdottir.makenna@tromp.com', '800-231-9408', '853 Gleichner Knoll', 'Hackettburgh', 'South Dakota', 'US', '96609', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(35, 'O\'Keefe-Hilpert', 'wendell.medhurst@halvorson.com', '(877) 888-2459', '47281 Grimes Alley', 'North Haven', 'North Dakota', 'US', '39426', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(36, 'Gutkowski and Sons', 'burdette.harris@waelchi.org', '1-844-219-2627', '59167 Gusikowski Valley', 'Elianeview', 'North Carolina', 'US', '28800', '2021-08-24 19:36:09', '2022-10-06 03:22:34', '2022-10-06 03:22:34'),
(37, 'Collier-West', 'kavon39@zieme.biz', '(888) 636-6305', '7746 Nelle Expressway', 'South Alysa', 'Missouri', 'US', '02276', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(38, 'Bergstrom Inc', 'martin.larson@cruickshank.com', '844.610.7224', '2105 Brice Ferry Suite 685', 'Port Cornelius', 'Colorado', 'US', '38760', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(39, 'Sauer Ltd', 'camilla29@berge.org', '888-377-9236', '74639 Lysanne Spring', 'Vonport', 'Iowa', 'US', '67915', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(40, 'Daniel-Romaguera', 'mswift@walter.org', '(888) 825-8861', '41763 Cyrus Trail Suite 127', 'Earnestfort', 'South Dakota', 'US', '82778', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(41, 'Dach, Jones and Murray', 'jeffery27@kshlerin.com', '866.562.5801', '85219 Boehm Valleys', 'South Teresa', 'Florida', 'US', '84631-2618', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(42, 'King-Swaniawski', 'drew.wehner@hahn.com', '(800) 692-5707', '3157 Deckow Extension Suite 378', 'Lake Dulce', 'Nebraska', 'US', '92261-5644', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(43, 'Lemke, Haag and Murazik', 'harold30@herman.com', '1-877-818-8907', '1194 Idell Lodge', 'Kochbury', 'South Carolina', 'US', '38677', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(44, 'Schinner Group', 'wiza.alia@shields.net', '888.535.1841', '897 Boehm Keys', 'Martineberg', 'Kentucky', 'US', '45403', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(45, 'Boehm, Schinner and Becker', 'kwalter@huel.biz', '1-888-626-6632', '25130 Watsica Plaza', 'Bulahbury', 'Utah', 'US', '64553', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(46, 'Boyer-Beahan', 'jean.macejkovic@paucek.info', '1-855-972-8715', '67293 Dawson Valley', 'New Karenburgh', 'New York', 'US', '49342-0657', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(47, 'Hirthe-Witting', 'kuhic.dulce@paucek.com', '1-800-369-7653', '2390 Davis Circle', 'Elmirabury', 'Iowa', 'US', '50040', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(48, 'Nienow-Kuhn', 'cole.ernser@hyatt.com', '(800) 667-7064', '1059 Audie Pike', 'Turcottemouth', 'Vermont', 'US', '21547-4752', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(49, 'Towne and Sons', 'antonetta.gaylord@altenwerth.org', '1-877-286-7129', '229 Alycia Circle Apt. 599', 'Braunmouth', 'New Mexico', 'US', '76473-3230', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(50, 'Kozey, Brown and Schmeler', 'kihn.yesenia@farrell.org', '866.980.8927', '830 Jarred Walks', 'North Derickside', 'Wisconsin', 'US', '25668-1322', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(51, 'Abbott Ltd', 'cassidy51@veum.biz', '855-708-8901', '369 Kennith Passage', 'West Helga', 'Maryland', '19', '30952', '2021-08-24 19:36:09', '2022-09-14 12:31:17', NULL),
(52, 'Yost, Walter and Breitenberg', 'fwuckert@bogan.com', '(877) 486-1723', '9789 Ezekiel Highway Apt. 492', 'Port Mafaldahaven', 'Arizona', 'US', '43919', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(53, 'Schneider, Wunsch and Hermann', 'rita31@stehr.com', '(866) 950-6550', '1270 Phoebe Ports Apt. 697', 'South Geovanyhaven', 'Mississippi', 'US', '80931-4082', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(54, 'Orn PLC', 'heaney.evert@hudson.com', '1-855-539-8653', '7675 Rutherford Harbor', 'Lake Santina', 'California', 'US', '37580', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(55, 'Wisoky and Sons', 'jermey04@fritsch.com', '1-888-696-4139', '6530 Casimir Mountains Apt. 984', 'Elenoramouth', 'Arizona', 'US', '02831-0196', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(56, 'Haag and Sons', 'pollich.aryanna@okon.com', '888-852-6031', '72121 Abernathy Dam Suite 449', 'West Constantin', 'Washington', 'US', '40611', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(57, 'Stiedemann, Rosenbaum and Abbott', 'veffertz@denesik.com', '1-877-719-4426', '81545 Cody Plain', 'East Laverneville', 'Oklahoma', 'US', '81347-8781', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(58, 'Beer, Mayert and Boyle', 'pschmidt@lowe.com', '855.297.1895', '1523 Agnes Squares', 'Kendraview', 'Arkansas', 'US', '04595', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(59, 'Ebert-Hayes', 'ethiel@goldner.org', '855.244.2288', '601 Halvorson Ports Apt. 868', 'Lake Maybellfurt', 'North Dakota', 'US', '19917-3527', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(60, 'Jacobson-Haag', 'brakus.carleton@hartmann.com', '1-866-648-9575', '295 Lavonne Meadows Suite 638', 'South Veldaton', 'Arizona', 'US', '51830-4310', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(61, 'Little, Feest and Fritsch', 'halvorson.kelton@cassin.com', '888.246.4201', '109 Lynch Pass', 'South Tressa', 'Alaska', 'US', '69013-8258', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(62, 'Morissette-Reichert', 'bschiller@weimann.net', '(877) 463-4847', '9463 Eichmann Route', 'East Jaclynburgh', 'Nevada', 'US', '01964', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(63, 'Howell-Goyette', 'isai.mann@weissnat.com', '(855) 204-0150', '2595 Langworth Extension Apt. 548', 'Hicklemouth', 'South Carolina', 'US', '76697', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(64, 'Kiehn-Franecki', 'oreilly.leilani@cassin.com', '877-295-6952', '522 Kshlerin Ways Suite 924', 'North Alyson', 'Rhode Island', 'US', '16079', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(65, 'Block, Price and Haag', 'garfield.bosco@pacocha.org', '(855) 686-4703', '2579 Payton Summit', 'East Nicolasborough', 'Colorado', 'US', '02895-8954', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(66, 'Parker LLC', 'tromp.nathan@schiller.com', '866.724.1993', '520 Chase Underpass', 'Aliaburgh', 'Iowa', 'US', '90984-0220', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(67, 'Pouros-Jacobi', 'frederique83@stroman.com', '1-844-435-6968', '63197 Prohaska Locks Suite 021', 'New Shawnabury', 'Missouri', 'US', '60531', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(68, 'Reichert, Brown and Sawayn', 'cecilia22@hickle.biz', '(855) 813-4019', '6147 Audie Fords', 'South Rachel', 'Washington', 'US', '45550', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(69, 'Beer Group', 'sborer@feest.com', '888-230-5709', '2508 Roman Crossroad', 'Rowefort', 'Louisiana', 'US', '01147-2508', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(70, 'Mraz, Marquardt and Graham', 'xlarkin@lehner.net', '(866) 600-4938', '987 Keith Unions', 'Alexanderberg', 'Washington', 'US', '12632', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(71, 'Collins-Kutch', 'dasia30@volkman.net', '(800) 686-2365', '15834 Maximilian Vista Apt. 489', 'Elseborough', 'South Carolina', 'US', '65243', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(72, 'Simonis, Raynor and Keebler', 'willa.schulist@kihn.org', '866-427-1523', '7592 Leola Lodge Suite 042', 'New Kolbymouth', 'Nevada', 'US', '72079', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(73, 'Rolfson-Langworth', 'skrajcik@romaguera.org', '800-304-7131', '272 Dashawn Hollow Apt. 849', 'East Ardith', 'Montana', 'US', '07591', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(74, 'Macejkovic, Kulas and Hermann', 'gibson.tara@harvey.com', '1-866-682-7302', '8242 Stanton Avenue', 'Haagview', 'Oregon', 'US', '06065-0870', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(75, 'Daniel-Shanahan', 'aadams@rogahn.net', '877.653.0599', '3794 Emmerich Estates', 'Ziemannstad', 'New Hampshire', 'US', '61431-3629', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(76, 'Ziemann-Thiel', 'abecker@vandervort.net', '(855) 838-3400', '5453 Fritsch Grove', 'Brownside', 'Michigan', 'US', '87273', '2021-08-24 19:36:09', '2022-10-09 08:03:50', '2022-10-09 08:03:50'),
(77, 'Bahringer Group', 'hyman.cronin@mcdermott.com', '855-728-3257', '7426 Bednar Creek Apt. 506', 'New Celineside', 'District of Columbia', 'US', '33302', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(78, 'Roob, Blick and Weber', 'gleichner.jaiden@hauck.info', '866.824.5801', '2822 Quitzon Mission', 'New Alenaton', 'New Jersey', 'US', '46954', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(79, 'McDermott, Walter and Sanford', 'kozey.dawn@smith.biz', '877-857-8584', '7194 King Field Suite 903', 'North Jaunitaside', 'Tennessee', 'US', '63114-6194', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(80, 'Runolfsson-Hayes', 'carissa37@stark.biz', '877-674-5885', '82658 Cleta Drives Suite 885', 'East Larrymouth', 'Wisconsin', 'US', '59244-5559', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(81, 'Lemke Group', 'eberge@west.com', '877-669-8402', '294 Destini Drive', 'Lebsackview', 'New York', 'US', '96667', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(82, 'Mosciski and Sons', 'nroob@altenwerth.info', '877-672-4292', '9787 Harmony Wells', 'Verlieside', 'Indiana', 'US', '48869', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(83, 'Kuhic, O\'Kon and Ullrich', 'nyasia.oconner@gutkowski.com', '(866) 747-0734', '34184 Jessy Locks', 'Doraborough', 'Arkansas', 'US', '01046', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(84, 'Waters Group', 'briana.frami@white.info', '855-559-7983', '8371 Hallie Dale', 'North Lacey', 'New Hampshire', 'US', '53049', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(85, 'O\'Reilly-Flatley', 'mylene92@metz.com', '(888) 387-2300', '7122 Katherine Canyon', 'Jeramyfort', 'Arizona', 'US', '66417', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(86, 'Orn-Mitchell', 'alexandre.hill@orn.org', '800-881-9641', '48099 Monahan Canyon Apt. 423', 'Kayatown', 'Idaho', 'US', '50131-5922', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(87, 'Rempel PLC', 'zieme.emil@rath.com', '(877) 505-7390', '335 Maggio Lodge', 'East Larry', 'Arizona', 'US', '26841', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(88, 'Effertz-Huels', 'lesch.raven@shields.com', '888.673.4808', '29558 Cyril Parks', 'North Zola', 'Tennessee', 'US', '15056', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(89, 'Howe-Hickle', 'dickinson.peggie@osinski.com', '855-280-3735', '46719 Jacobi Station Suite 684', 'Lake Lavon', 'Montana', 'US', '78154-1646', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(90, 'Dicki and Sons', 'ejohns@prohaska.com', '866.722.4694', '7107 Leanne Center', 'Lake Anthony', 'New Mexico', 'US', '61709-8446', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(91, 'O\'Reilly, Wunsch and Johnston', 'connie.hauck@ryan.com', '1-877-329-0170', '300 Antonietta Hill', 'South Gudrunport', 'South Dakota', 'US', '75867', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(92, 'Bayer-Spencer', 'gardner18@murphy.org', '(877) 935-7882', '8577 Heathcote Views', 'Westonberg', 'Oregon', 'US', '64189', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(93, 'Schuppe, Nader and Lubowitz', 'durgan.estell@auer.com', '888.417.6695', '7328 Levi Squares', 'Keithside', 'California', 'US', '18726-2237', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(94, 'Kiehn, Dooley and Runte', 'lessie.mitchell@leannon.org', '877.601.8217', '6812 Willy Camp Apt. 417', 'Durganfort', 'Idaho', 'US', '17535-8462', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(95, 'Lind, Kunze and Tillman', 'fschuppe@kutch.com', '(855) 894-0885', '71093 Weimann Shore Suite 474', 'East Renemouth', 'Vermont', 'US', '43828', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(96, 'Keebler, Cronin and Weimann', 'maiya85@wisoky.biz', '(866) 641-2839', '885 Zieme Road Suite 597', 'Wehnerhaven', 'Massachusetts', 'US', '78329', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(97, 'Hoppe-O\'Conner', 'merle75@terry.biz', '800.483.9145', '2846 Mateo Rue Apt. 643', 'Port Lavernaberg', 'California', 'US', '16983', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(98, 'Bauch-Jacobs', 'chanel93@dickinson.com', '1-844-763-9400', '93892 Hilma Shoals', 'South Ocie', 'Oklahoma', 'US', '41360', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(99, 'Gerlach, Gibson and Franecki', 'turcotte.felicity@thiel.com', '866.298.8125', '3222 Ashleigh Loop', 'Port Kittyborough', 'New Jersey', 'US', '01969-7598', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL),
(100, 'Brown Inc', 'emma.barton@bednar.biz', '888.442.4493', '666 Marjorie Extension', 'South Loyalview', 'Mississippi', 'US', '79967-2027', '2021-08-24 19:36:09', '2021-08-24 19:36:09', NULL);

TRUNCATE TABLE `participants`;
INSERT DELAYED IGNORE INTO `participants` (`id`, `conversation_id`, `user_id`, `contact_id`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 3, '2021-12-22 18:11:46', '2021-12-22 18:11:46'),
(2, 2, 1, 5, '2021-12-22 18:11:46', '2021-12-22 18:11:46'),
(3, 6, 10, 110, '2022-10-08 05:12:33', '2022-10-08 05:12:33');

TRUNCATE TABLE `password_resets`;
TRUNCATE TABLE `pending_emails`;
INSERT DELAYED IGNORE INTO `pending_emails` (`id`, `user_id`, `ticket_id`, `type`, `value`, `created_at`, `updated_at`) VALUES
(1, NULL, 1, NULL, NULL, '2022-09-13 20:27:51', '2022-09-13 20:27:51'),
(2, NULL, 2, NULL, NULL, '2022-09-14 00:47:32', '2022-09-14 00:47:32'),
(3, NULL, 3, NULL, NULL, '2022-09-14 00:54:55', '2022-09-14 00:54:55'),
(4, NULL, 4, NULL, NULL, '2022-09-14 00:56:54', '2022-09-14 00:56:54'),
(5, NULL, 1, 'change_status', NULL, '2022-09-18 06:02:59', '2022-09-18 06:02:59'),
(6, NULL, 1, NULL, NULL, '2022-09-18 06:02:59', '2022-09-18 06:02:59'),
(7, NULL, 1, 'change_status', NULL, '2022-09-18 06:04:12', '2022-09-18 06:04:12'),
(8, NULL, 1, 'change_status', NULL, '2022-09-18 06:06:27', '2022-09-18 06:06:27'),
(9, NULL, 1, NULL, NULL, '2022-09-18 06:06:27', '2022-09-18 06:06:27'),
(10, NULL, 2, 'change_status', NULL, '2022-09-18 10:23:28', '2022-09-18 10:23:28');

TRUNCATE TABLE `pending_users`;
TRUNCATE TABLE `personal_access_tokens`;
TRUNCATE TABLE `posts`;
INSERT DELAYED IGNORE INTO `posts` (`id`, `title`, `author_id`, `is_active`, `image`, `type_id`, `details`, `created_at`, `updated_at`) VALUES
(1, 'Smartest Applications for Business', 1, 1, '/files/posts/jdV9e37cDpNPTNdOspX3QxbH6YEjd3gzphK1FYbu.jpg', 2, '<p>The most well-known dummy text is the \'Lorem Ipsum\', which is said to have originated in the 16th century. Lorem Ipsum is composed in a pseudo-Latin language which more or less corresponds to \'proper\' Latin. It contains a series of real Latin words. This ancient dummy text is also incomprehensible, but it imitates the rhythm of most European languages in Latin script.</p><p>&nbsp;</p><p>\" There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don\'t look even slightly believable. \"</p><p>&nbsp;</p><p>The advantage of its Latin origin and the relative meaninglessness of Lorum Ipsum is that the text does not attract attention to itself or distract the viewer\'s attention from the layout.</p>', '2022-09-20 10:05:08', '2022-09-20 11:10:26'),
(4, 'Apple Event Unlikely This October Despite Many New Devices Expected', 1, 1, '/files/posts/hfvN4aLFQcDhp7aNruEGRjepw2cp0rJ9pLJ1e6i0.jpg', 2, '<p>This week also saw the launch of the iPhone 14 Plus, the last member of the iPhone 14 lineup to become available following last month\'s introduction. We\'re also looking forward to operating system updates coming soon, with a bug fix iOS update likely imminent and a more substantial iOS 16.1 one coming alongside iPadOS 16 and macOS Ventura, so read on for details on these stories and more!<br>While <a href=\"https://www.macrumors.com/2022/10/05/apple-products-to-avoid-buying-right-now/\">new iPad and Mac models</a> are expected to be announced this month, <i>Bloomberg</i>\'s Mark Gurman believes that Apple is <a href=\"https://www.macrumors.com/2022/10/02/gurman-doubles-down-on-no-october-event/\">unlikely to hold a media event in October this year</a>.</p><p><img src=\"https://images.macrumors.com/t/anPClZKcM-Jo8GFujWtF9kB1RM8=/400x0/article-new/2021/05/ipad-pro-m1-feature.jpg?lossy\" alt=\"ipad pro m1 feature\" srcset=\"https://images.macrumors.com/t/anPClZKcM-Jo8GFujWtF9kB1RM8=/400x0/article-new/2021/05/ipad-pro-m1-feature.jpg?lossy 400w,https://images.macrumors.com/t/3FU9Ace-iiWg2HxGyzDgbTuOI6c=/800x0/article-new/2021/05/ipad-pro-m1-feature.jpg?lossy 800w,https://images.macrumors.com/t/7hZCaaMo4T4JV6eLoJX2ou4lyqI=/1600x0/article-new/2021/05/ipad-pro-m1-feature.jpg 1600w,https://images.macrumors.com/t/ogVR6esOJBe2VoknZXOBTDaFsxA=/2500x0/filters:no_upscale()/article-new/2021/05/ipad-pro-m1-feature.jpg 2500w\" sizes=\"100vw\" width=\"1780\"><br>Gurman said \"the big iPhone 14 unveiling last month was probably it for Apple in 2022 in terms of major presentations,\" suggesting that any more new products this year would be announced with press releases, media briefings, and updates to Apple\'s online store.</p><p>Updated versions of the iPad Pro, MacBook Pro, and Mac mini — all with M2 series chips — are \"highly likely to launch\" before the end of 2022, according to Gurman. He also said an <a href=\"https://www.macrumors.com/2022/06/28/apple-tv-rumored-features/\">updated Apple TV with an A14 chip</a> and extra RAM was \"getting closer and could potentially launch this year.\"<br>&nbsp;</p><h2><strong>Apple Preparing iOS 16.0.3 With More Bug Fixes Following iPhone 14 Launch</strong></h2><p>iOS 16.0.2 was released last month with several bug fixes for iPhone 14 issues, excessive copy and paste permission prompts, and more. Now, evidence suggests that <a href=\"https://www.macrumors.com/2022/10/03/apple-preparing-ios-16-0-3/\">Apple is planning to release iOS 16.0.3 with additional bug fixes</a> soon.</p><p><img src=\"https://images.macrumors.com/t/mRG-FiNZ3pYHus31FUZkVVAcFdM=/400x0/article-new/2022/09/iOS-16.0.3-Beta-Feature.jpg?lossy\" alt=\"iOS 16\" srcset=\"https://images.macrumors.com/t/mRG-FiNZ3pYHus31FUZkVVAcFdM=/400x0/article-new/2022/09/iOS-16.0.3-Beta-Feature.jpg?lossy 400w,https://images.macrumors.com/t/jXxS56hc9CnGyeoSXQcRLNREKFo=/800x0/article-new/2022/09/iOS-16.0.3-Beta-Feature.jpg?lossy 800w,https://images.macrumors.com/t/_1qZQSCNg6KJ7lNWBBlLHUJWLBc=/1600x0/article-new/2022/09/iOS-16.0.3-Beta-Feature.jpg 1600w,https://images.macrumors.com/t/jwzaWxVJMlZ7mqK7sscEYytqOMw=/2500x0/filters:no_upscale()/article-new/2022/09/iOS-16.0.3-Beta-Feature.jpg 2500w\" sizes=\"100vw\" width=\"2500\"><br>There are several remaining iOS 16 bugs that iOS 16.0.3 would hopefully address, including an issue with <a href=\"https://www.macrumors.com/2022/09/20/iphone-14-pro-carplay-phone-calls-issue/\">low volume during CarPlay phone calls placed with iPhone 14 Pro models</a>, a string of text that can crash the Mail app, and more.<br>&nbsp;</p><h2><strong>Apple Rumored to Launch 27\" Mini-LED Display in Q1 2023</strong></h2><p>Apple is planning to <a href=\"https://www.macrumors.com/2022/10/06/apple-mini-led-display-q1-2023/\">launch an external monitor with a 27-inch mini-LED display in the first quarter of 2023</a>, according to Display Supply Chain Consultants (DSCC) analyst Ross Young.</p><p><img src=\"https://images.macrumors.com/t/GltJQdQ7POBF9zMFkMIssc_qZUQ=/400x0/article-new/2022/03/studio-display-3.jpg?lossy\" alt=\"studio display 3\" srcset=\"https://images.macrumors.com/t/GltJQdQ7POBF9zMFkMIssc_qZUQ=/400x0/article-new/2022/03/studio-display-3.jpg?lossy 400w,https://images.macrumors.com/t/DDbbjYSaBKOpOKrdU-7JWqNzGe0=/800x0/article-new/2022/03/studio-display-3.jpg?lossy 800w,https://images.macrumors.com/t/SnX9yUh2RUSs2R9Y6ZBtAuM9ZVM=/1600x0/article-new/2022/03/studio-display-3.jpg 1600w,https://images.macrumors.com/t/OWLrf3ONlTcszbBzFukfZ9hxoCc=/2500x0/filters:no_upscale()/article-new/2022/03/studio-display-3.jpg 2500w\" sizes=\"100vw\" width=\"1920\"><br>Apple\'s upcoming display is said to feature mini-LED technology along with ProMotion support, allowing for up to a 120Hz refresh rate. It\'s unclear if the monitor would be branded as a Studio Display or have a different name.<br>&nbsp;</p><h2><strong>iPhone 14 Plus Reviews: Multi-Day Battery Life</strong></h2><p>The <a href=\"https://www.macrumors.com/review/iphone-14-plus/\">first reviews of the iPhone 14 Plus</a> hit just ahead of its <a href=\"https://www.macrumors.com/2022/10/06/iphone-14-plus-australia-new-zealand/\">launch on Friday</a>, providing a closer look at the device in action.</p><p><img src=\"https://images.macrumors.com/t/EgKHqo7HcbLwwwNiTRqloEVYa0w=/400x0/article-new/2022/09/iphone-14-iphone-14-plus-in-hand-feature.jpg?lossy\" alt=\"iphone 14 iphone 14 plus in hand feature\" srcset=\"https://images.macrumors.com/t/EgKHqo7HcbLwwwNiTRqloEVYa0w=/400x0/article-new/2022/09/iphone-14-iphone-14-plus-in-hand-feature.jpg?lossy 400w,https://images.macrumors.com/t/TkuO88EWyuQK2C0vPR5-eCcjy7Q=/800x0/article-new/2022/09/iphone-14-iphone-14-plus-in-hand-feature.jpg?lossy 800w,https://images.macrumors.com/t/9wQh4B6adCmiffEjTmrlYUgKE8s=/1600x0/article-new/2022/09/iphone-14-iphone-14-plus-in-hand-feature.jpg 1600w,https://images.macrumors.com/t/SoYdH_NzNTxsRKaK6Fn4R-BjvP0=/2500x0/filters:no_upscale()/article-new/2022/09/iphone-14-iphone-14-plus-in-hand-feature.jpg 2500w\" sizes=\"100vw\" width=\"2078\"><br>Reviews highlighted the iPhone 14 Plus\' impressively long battery life, while other new features include <a href=\"https://www.macrumors.com/2022/09/30/apple-responds-to-crash-detection-test/\">car crash detection</a>, upcoming support for emergency texting via satellite starting in the U.S. and Canada, improved front and rear cameras, and more. U.S. pricing starts at $899.<br>&nbsp;</p><h2><strong>EU Passes Law to Switch iPhone to USB-C by End of 2024</strong></h2><p>The European Parliament this week voted overwhelmingly in favor of <a href=\"https://www.macrumors.com/2022/10/04/eu-passes-law-to-switch-iphone-to-usb-c-in-2024/\">enforcing USB-C as a common charging port</a> across a wide range of devices, including the iPhone and AirPods, by the end of 2024.</p><p><img src=\"https://images.macrumors.com/t/p6SRpXFyzxvLIaxRQetVqy8NTLE=/400x0/article-new/2021/09/USB-C-Over-Lightning-Feature.jpg?lossy\" alt=\"USB C Over Lightning Feature\" srcset=\"https://images.macrumors.com/t/p6SRpXFyzxvLIaxRQetVqy8NTLE=/400x0/article-new/2021/09/USB-C-Over-Lightning-Feature.jpg?lossy 400w,https://images.macrumors.com/t/ctpNFaqzF32tY0Z-1k8hIQsXyHQ=/800x0/article-new/2021/09/USB-C-Over-Lightning-Feature.jpg?lossy 800w,https://images.macrumors.com/t/O2sXT6D89LCNkWe1TyEov3hWjUA=/1600x0/article-new/2021/09/USB-C-Over-Lightning-Feature.jpg 1600w,https://images.macrumors.com/t/jNcHn1JcWRHPb78DgWV61EwK1x8=/2500x0/filters:no_upscale()/article-new/2021/09/USB-C-Over-Lightning-Feature.jpg 2500w\" sizes=\"100vw\" width=\"2500\"><br>Rumors suggest that <a href=\"https://www.macrumors.com/2022/05/11/iphone-15-ditch-lightning-for-usb-c/\">all iPhone 15 models will be equipped with a USB-C port</a> next year, ahead of the EU\'s deadline. AirPods cases and MagSafe accessories are also expected to switch to USB-C.<br>&nbsp;</p><h2><strong>10 New iOS 16 Features Coming Later This Year</strong></h2><p>iOS 16 was released to the public over three weeks ago with a customizable Lock Screen, the ability to edit recently sent iMessages, and much more. And in the coming months, iPhone and iPad users have even more new features to look forward to.</p><p><img src=\"https://images.macrumors.com/t/Y6RwJq_LNEiEYHo7E9ll0vq45oU=/400x0/article-new/2022/09/iOS-16-Live-Activities-Sports-MLB.jpeg?lossy\" alt=\"iOS 16 Live Activities Sports MLB\" srcset=\"https://images.macrumors.com/t/Y6RwJq_LNEiEYHo7E9ll0vq45oU=/400x0/article-new/2022/09/iOS-16-Live-Activities-Sports-MLB.jpeg?lossy 400w,https://images.macrumors.com/t/rYms-Qih3w6pX-BXRXREAlA7SW0=/800x0/article-new/2022/09/iOS-16-Live-Activities-Sports-MLB.jpeg?lossy 800w,https://images.macrumors.com/t/gb6rFHGiyg7gQsCb3yXJDtaPj1A=/1600x0/article-new/2022/09/iOS-16-Live-Activities-Sports-MLB.jpeg 1600w,https://images.macrumors.com/t/nZo6OLfSt02rTIHw8IqKlc6j6xs=/2500x0/filters:no_upscale()/article-new/2022/09/iOS-16-Live-Activities-Sports-MLB.jpeg 2500w\" sizes=\"100vw\" width=\"1306\"><br>We\'ve rounded up <a href=\"https://www.macrumors.com/2022/10/03/10-new-ios-16-features-coming-later-this-year/\">10 new features coming to the iPhone and iPad later this year</a>, according to Apple. Many of the features are part of iOS 16.1, which is currently in beta testing, but some of the features are not expected until later in the year.</p>', '2022-10-08 11:14:31', '2022-10-10 02:12:44'),
(5, 'Five Apple Products You Should Avoid Buying Right Now', 1, 1, '/files/posts/bcIEIm0m7b0Ih6p4OIHwaLZAXgovLI36WMv2TpZo.jpg', 2, '<p>Rumors suggest that Apple still has several new devices that are coming before the end of the year, including a range of Macs and iPads. It\'s not looking like we\'re going to <a href=\"https://www.macrumors.com/2022/10/02/gurman-doubles-down-on-no-october-event/\">get an October event</a> in 2022, but refreshes are coming soon, probably via press release. If you\'re planning to buy a Mac or an <a href=\"https://www.macrumors.com/roundup/ipad/\">iPad</a>, make sure to check out our list to know what\'s safe to pick up now and what\'s not.</p><h2><a href=\"https://www.macrumors.com/roundup/ipad-pro/\"><strong>iPad Pro</strong></a></h2><p>The <a href=\"https://www.macrumors.com/roundup/ipad-pro/\">iPad Pro</a> was last updated in April 2021, and we\'re expecting an updated version before the end of 2022. There are no design huge changes that we know of coming, but there are some features worth waiting for.</p><p><img src=\"https://images.macrumors.com/t/uXEb_ccgqNfQMC5mWaJDjGMBE70=/400x0/article-new/2022/01/iPad-Pro-Big-Ol-Logo.jpg?lossy\" alt=\"iPad Pro Big Ol Logo\" srcset=\"https://images.macrumors.com/t/uXEb_ccgqNfQMC5mWaJDjGMBE70=/400x0/article-new/2022/01/iPad-Pro-Big-Ol-Logo.jpg?lossy 400w,https://images.macrumors.com/t/bpfaLzXHhuFHwkp69Cl-mZ2J4aY=/800x0/article-new/2022/01/iPad-Pro-Big-Ol-Logo.jpg?lossy 800w,https://images.macrumors.com/t/4KSbtd4gfoXhGOONYp_NoR41vik=/1600x0/article-new/2022/01/iPad-Pro-Big-Ol-Logo.jpg 1600w,https://images.macrumors.com/t/VjKACp7vYXiNqB0NnCzYYv5EwU8=/2500x0/filters:no_upscale()/article-new/2022/01/iPad-Pro-Big-Ol-Logo.jpg 2500w\" sizes=\"100vw\" width=\"1398\"><br>Both the 11-inch and 12.9-inch ‌iPad Pro‌ models will get a refresh, but rumors suggest just the 12.9-inch model will have a mini-LED display, despite some information that had indicated Apple could bring the technology to both models.</p><p>Apple\'s updated ‌iPad‌ Pros are expected to use the <a href=\"https://www.macrumors.com/guide/m2/\">M2</a> chip that was first introduced in the new <a href=\"https://www.macrumors.com/roundup/macbook-air/\">MacBook Air</a> in June, bringing speed and performance improvements. There have also been rumors of wireless charging support, with Apple perhaps adding a new larger glass Apple logo at the back that would allow for <a href=\"https://www.macrumors.com/guide/magsafe-battery-pack/\">MagSafe</a> charging.</p><p>Reverse wireless charging is also a possibility with the new ‌iPad Pro‌ models able to charge iPhones, AirPods, and other devices.<br>&nbsp;</p><h2><a href=\"https://www.macrumors.com/guide/2022-ipad/\"><strong>Low-Cost iPad</strong></a></h2><p>Apple has long offered a low-cost basic ‌iPad‌ that is available at a ~$300 price point, but this year, the cheap ‌iPad‌ is getting some trickle down features that have previously been limited to higher-end iPads.</p><p><img src=\"https://images.macrumors.com/t/ZsPEnlsp9vBNPJodGDk70cqIDYg=/400x0/article-new/2022/08/10th-Generation-iPad-MySmartPrice-Render.jpg?lossy\" alt=\"10th Generation iPad MySmartPrice Render\" srcset=\"https://images.macrumors.com/t/ZsPEnlsp9vBNPJodGDk70cqIDYg=/400x0/article-new/2022/08/10th-Generation-iPad-MySmartPrice-Render.jpg?lossy 400w,https://images.macrumors.com/t/aDAzMu_lai2m1p5SLJf5ZnO7vZo=/800x0/article-new/2022/08/10th-Generation-iPad-MySmartPrice-Render.jpg?lossy 800w,https://images.macrumors.com/t/6S1GirgsUJWv1_IBhlQ83dJMopc=/1600x0/article-new/2022/08/10th-Generation-iPad-MySmartPrice-Render.jpg 1600w,https://images.macrumors.com/t/Xo3yuxY3KqvT_am_cSGBv8_am48=/2500x0/filters:no_upscale()/article-new/2022/08/10th-Generation-iPad-MySmartPrice-Render.jpg 2500w\" sizes=\"100vw\" width=\"1200\"><br>Apple is going to refresh the tired old design the low-cost ‌iPad‌ has been using for years, introducing 10.5-inch display with a more modern look featuring flat edges and rounded corners. We\'ve previously seen this design used for the <a href=\"https://www.macrumors.com/roundup/ipad-mini/\">iPad mini</a>, <a href=\"https://www.macrumors.com/roundup/ipad-air/\">iPad Air</a>, and ‌iPad Pro‌.</p><p><img src=\"https://images.macrumors.com/t/OfMlMjTTg1nDLijaTtQg5RdVyGo=/400x0/article-new/2022/08/10th-Generation-iPad-Render-MySmartPrice-2.jpg?lossy\" alt=\"10th Generation iPad Render MySmartPrice 2\" srcset=\"https://images.macrumors.com/t/OfMlMjTTg1nDLijaTtQg5RdVyGo=/400x0/article-new/2022/08/10th-Generation-iPad-Render-MySmartPrice-2.jpg?lossy 400w,https://images.macrumors.com/t/VMzv7JQwBQKW2NVdk6CVk_XzCp4=/800x0/article-new/2022/08/10th-Generation-iPad-Render-MySmartPrice-2.jpg?lossy 800w,https://images.macrumors.com/t/axzqrb-mMbmMU-Gqiq7jxUQmPCk=/1600x0/article-new/2022/08/10th-Generation-iPad-Render-MySmartPrice-2.jpg 1600w,https://images.macrumors.com/t/_H-tWn_XJLghv_EkHWS9dGkuzmc=/2500x0/filters:no_upscale()/article-new/2022/08/10th-Generation-iPad-Render-MySmartPrice-2.jpg 2500w\" sizes=\"100vw\" width=\"1200\"><br>The flat-edged design usually accompanies a bezel-free interface, but rumors right now suggest the ‌iPad‌ will continue to have top and bottom bezels along with a <a href=\"https://www.macrumors.com/guide/touch-id/\">Touch ID</a> Home button, but it remains to be seen if that\'s true. Apple could opt for the same power button ‌Touch ID‌ design used for the ‌iPad mini‌ and the ‌iPad Air‌.</p><p>With the exception of the low-cost ‌iPad‌, every ‌iPad‌ uses a USB-C port, and Apple is going to swap Lightning for USB-C with the 10th-generation ‌iPad‌ refresh.</p><p>We could also see some improvements to the camera, and a faster chip is a sure thing (likely the A14), but one thing the ‌iPad‌ might lose is the headphone jack. Removing the headphone jack would bring the low-cost ‌iPad‌ in line with the rest of the ‌iPad‌ lineup.<br>&nbsp;</p><h2><a href=\"https://www.macrumors.com/guide/2023-macbook-pro/\"><strong>14 and 16-inch MacBook Pro</strong></a></h2><p>The <a href=\"https://www.macrumors.com/guide/m1-pro/\">M1 Pro</a> and <a href=\"https://www.macrumors.com/guide/m1-max/\">M1 Max</a> MacBook Pros came out in October of last year, and we might see new ‌M2‌ Pro and ‌M2‌ Max models released before the end of the year. New MacBook Pro models are said to be planned for release <a href=\"https://www.macrumors.com/2022/08/28/macbook-pro-m2-pro-m2-max-development/\">as soon as this fall</a>, but there is a chance the timing could be pushed back because of supply constraints that Apple has been dealing with.</p><p><img src=\"https://images.macrumors.com/t/OIbyjkkmj8Z1nM0f1pCGkh-Y1nE=/400x0/article-new/2022/09/macbook-pro-purple.jpg?lossy\" alt=\"macbook pro purple\" srcset=\"https://images.macrumors.com/t/OIbyjkkmj8Z1nM0f1pCGkh-Y1nE=/400x0/article-new/2022/09/macbook-pro-purple.jpg?lossy 400w,https://images.macrumors.com/t/HC36mgoLTV0UnCwQYNJcYdhevxM=/800x0/article-new/2022/09/macbook-pro-purple.jpg?lossy 800w,https://images.macrumors.com/t/_EPm6PqSKDlwtf6slCMB3EaTjzY=/1600x0/article-new/2022/09/macbook-pro-purple.jpg 1600w,https://images.macrumors.com/t/Cpr8V5vj58sFo_i8yNpJ_vbnbAc=/2500x0/filters:no_upscale()/article-new/2022/09/macbook-pro-purple.jpg 2500w\" sizes=\"100vw\" width=\"2500\"></p><h2><a href=\"https://www.macrumors.com/guide/2022-mac-mini/\"><strong>Mac Mini</strong></a></h2><p>There hasn\'t been a <a href=\"https://www.macrumors.com/roundup/mac-mini/\">Mac mini</a> refresh since 2020 when the <a href=\"https://www.macrumors.com/guide/m1/\">M1</a> chip was added, but Apple doesn\'t yet plan on discontinuing the desktop machine. A refresh is in the works, and updated ‌Mac mini‌ devices could include ‌M2‌ and ‌M2‌ Pro chips.</p><p>We\'re not expecting any design changes, and the highest-end chips will likely be reserved for the <a href=\"https://www.macrumors.com/roundup/mac-studio/\">Mac Studio</a>, which is like a hybrid of the <a href=\"https://www.macrumors.com/roundup/mac-pro/\">Mac Pro</a> and the ‌Mac mini‌.<br>&nbsp;</p><h2><strong>Apple TV</strong></h2><p>Apple last updated the <a href=\"https://www.macrumors.com/roundup/apple-tv/\">Apple TV</a> in April of 2021, and it may be time for a refresh. Rumors suggest that there is a new model with an A14 chip and 4GB RAM <a href=\"https://www.macrumors.com/2022/10/02/gurman-doubles-down-on-no-october-event/\">in development</a>, and it could be ready to launch before the end of 2022.</p><p><img src=\"https://images.macrumors.com/t/mJdGQLPFxayrnei6gCXnBxqNZKY=/400x0/article-new/2021/04/apple-tv-4k-design-blue.jpg?lossy\" alt=\"apple tv 4k design blue\" srcset=\"https://images.macrumors.com/t/mJdGQLPFxayrnei6gCXnBxqNZKY=/400x0/article-new/2021/04/apple-tv-4k-design-blue.jpg?lossy 400w,https://images.macrumors.com/t/MGDil64feT_ABLwjHLiE_S8vvPE=/800x0/article-new/2021/04/apple-tv-4k-design-blue.jpg?lossy 800w,https://images.macrumors.com/t/3v19vFbmucJ4zepypqFAH3DbkIc=/1600x0/article-new/2021/04/apple-tv-4k-design-blue.jpg 1600w,https://images.macrumors.com/t/eSHXEcTK_i25qVCkEszUFSXwPG8=/2500x0/filters:no_upscale()/article-new/2021/04/apple-tv-4k-design-blue.jpg 2500w\" sizes=\"100vw\" width=\"2500\"><br>Apple analyst <a href=\"https://www.macrumors.com/guide/ming-chi-kuo/\">Ming-Chi Kuo</a> has said several times this year that Apple is planning to <a href=\"https://www.macrumors.com/2022/05/13/kuo-new-apple-tv-to-launch-second-half-2022/\">lower the price</a> of the ‌Apple TV‌ when it\'s refreshed, but whether that will actually happen remains to be seen.<br>&nbsp;</p><h2><a href=\"https://www.macrumors.com/roundup/mac-pro/\"><strong>Bonus: Mac Pro</strong></a></h2><p>Since the ‌Mac Pro‌ hasn\'t been updated since 2019 and doesn\'t yet use Apple silicon chips it\'s obvious that now is not a great time to buy. While we did hear some early 2022 rumors suggesting that the ‌Mac Pro‌ could get a refresh before the end of the year, it\'s now looking like a new ‌Mac Pro‌ isn\'t coming until 2023.</p><p><img src=\"https://images.macrumors.com/t/3Akk_Ab12Li6ux9RzafA4TSa8lo=/400x0/article-new/2022/03/mac-pro-tower-close-up.jpeg?lossy\" alt=\"mac pro tower close up\" srcset=\"https://images.macrumors.com/t/3Akk_Ab12Li6ux9RzafA4TSa8lo=/400x0/article-new/2022/03/mac-pro-tower-close-up.jpeg?lossy 400w,https://images.macrumors.com/t/n8gj2XjozFmCVLA7rT_xn23q1y4=/800x0/article-new/2022/03/mac-pro-tower-close-up.jpeg?lossy 800w,https://images.macrumors.com/t/sKE5zQTFxEPS70BkPyGZ-z57E0Q=/1600x0/article-new/2022/03/mac-pro-tower-close-up.jpeg 1600w,https://images.macrumors.com/t/ZJMl_fIDwvrviTA4O9pcnWOEEeM=/2500x0/filters:no_upscale()/article-new/2022/03/mac-pro-tower-close-up.jpeg 2500w\" sizes=\"100vw\" width=\"1200\"><br>While we may have several months to go before the ‌Mac Pro‌ sees an update, we don\'t recommend buying one right now. You\'re definitely going to want to wait on Apple to bring its ultra fast Apple silicon chips to its highest-end pro machine.</p><p>Rumors suggest that the ‌Mac Pro‌ will use an ‌M2‌ Ultra, an upgrade to the <a href=\"https://www.macrumors.com/guide/m1-ultra/\">M1 Ultra</a> first introduced in the ‌Mac Studio‌, and an even more powerful ‌M2‌ Extreme chip. The ‌M1 Ultra‌ features up to a 20-core CPU and a 64-core GPU, and the ‌M2‌ Ultra could be even more powerful.</p><p>The ‌M2‌ Extreme will be Apple\'s most powerful chip to date, and <i>Bloomberg</i>\'s <a href=\"https://www.macrumors.com/guide/mark-gurman/\">Mark Gurman</a> <a href=\"https://www.macrumors.com/2021/05/18/bloomberg-mac-pro-32-high-performance-cores/\">has said</a> that the chip could have upwards of 40 CPU cores and 128 GPU cores.<br>&nbsp;</p><h2><strong>Wrap Up</strong></h2><p>Note that this list is based on rumors that we\'ve heard, so it\'s possible that some of these refreshes could be delayed into 2023. Timing Apple product releases is not always straightforward, but if you can wait on a purchase, it\'s a good idea to hold off until a new product announcement if you\'re concerned about having the latest and greatest device.</p><p>We have more product release timelines available for every Apple device in <a href=\"https://buyersguide.macrumors.com/\">our dedicated Buyer\'s Guide</a>, which is an invaluable resource for Apple fans.</p>', '2022-10-08 11:18:20', '2022-10-08 11:18:20'),
(6, 'Apple Seeds Eighth Public Beta of macOS 13 Ventura', 1, 1, '/files/posts/PoNwpqBgns6jwyUdDHiPwxx9BYOU25c7qr0lbVIe.jpg', 2, '<p>Apple today seeded the eighth beta of <a href=\"https://www.macrumors.com/roundup/macos-13/\">macOS Ventura</a> to its public beta testing group, allowing non-developers to test the new ‌macOS Ventura‌ operating system ahead of its release. The eighth beta comes following <a href=\"https://www.macrumors.com/2022/09/21/apple-releases-macos-ventura-public-beta-6/\">the seventh public beta</a> and it corresponds with tenth developer beta released earlier this week.</p><p>Public beta testers can download the macOS 13 Ventura update from the Software Update section of the System Preferences app after installing the proper profile from <a href=\"https://beta.apple.com/sp/betaprogram/\">Apple\'s beta software website</a>.</p><p>‌macOS Ventura‌ introduces <a href=\"https://www.macrumors.com/guide/stage-manager/\">Stage Manager</a>, a new multi-tasking option for focusing on a task while having other apps waiting in the wings. ‌Stage Manager‌ puts your main app front and center, tucking your other apps to the side for quick access.</p><p>Continuity Camera allows you to use your <a href=\"https://www.macrumors.com/guide/iphone/\">iPhone</a> as a webcam for your Mac, offering much better camera quality than the built-in Mac camera. Apple is building special stands to hold the ‌iPhone‌ with a Mac, and there are neat features like Desk View, which uses the Ultra Wide lens.</p><p>Handoff now works with <a href=\"https://www.macrumors.com/guide/facetime/\">FaceTime</a> so you can answer calls on the Mac and then transfer them over to another device, and Messages is gaining undo, edit, and mark as unread features. SharePlay now works in Messages in addition to ‌FaceTime‌, and the Mail app has been overhauled. Search is more relevant, emails can be scheduled, and there\'s even an option to undo an email for up to 10 seconds after it\'s sent.</p><p>Apple brought the Weather and Clock apps to the Mac, redesigned System Preferences and renamed it System Settings, and added support for Shared Tab Groups. Passwords are being replaced with more secure Passkeys in <a href=\"https://www.macrumors.com/roundup/ios-16/\">iOS 16</a> and ‌macOS Ventura‌, and there are updates to Spotlight, Visual Lookup, Live Text, and more.</p><p>There are a ton of other features in ‌macOS Ventura‌, and we have a full rundown available in our <a href=\"https://www.macrumors.com/roundup/macos-13/\">dedicated macOS Ventura roundup</a>.</p>', '2022-10-08 11:20:01', '2022-10-08 11:20:01'),
(7, 'Meta’s making it easier to report bugs in its Horizon VR app', 1, 1, '/files/posts/acpEjEgiePqHggjkBjEjh5DBaLVNmUeZp9QLnLrU.jpg', 3, '<blockquote><h2><i>Just mash all the face buttons on your controllers at once, which you may have been doing out of frustration anyways</i></h2></blockquote><p>&nbsp;</p><p>Meta <a href=\"https://click.linksynergy.com/deeplink?id=nOD/rLJHOac&amp;mid=43993&amp;u1=[]vg[p]23157326[t]w[r]https://www.theverge.com/tech[d]D&amp;murl=https://www.oculus.com/blog/meta-horizon-worlds-v78-release-notes/\">has updated Horizon Worlds</a>, its main virtual reality / “metaverse” app, to make it easier to report bugs. If you see something going wrong while using the app, you can now press and hold the A, B, X, and Y buttons on your controllers to bring up the “report a problem” window, where you can also attach a screenshot showing what went wrong.</p><p>If the experience seems familiar, it may be because it’s been in testing for a while; according to Meta spokesperson Kelsi Horn, there were early tests available to “a subset of creators” as far back as April 2021. Since then, according to Horn, Meta has improved the UI and is now rolling it out to everyone. Horn added that “bugs reported through this tool are individually triaged by members of the Horizon Worlds team,” so it seems like Meta’s definitely trying to pay attention to the reports.</p><p>That’s not necessarily a surprise. In <a href=\"https://click.linksynergy.com/deeplink?id=nOD/rLJHOac&amp;mid=43993&amp;u1=[]vg[p]23157326[t]w[r]https://www.theverge.com/tech[d]D&amp;murl=https://www.oculus.com/blog/meta-horizon-worlds-v78-release-notes/\">the blog post announcing the update</a>, Meta admits that a competition it ran in the app couldn’t be fairly judged because “the platform was unstable and had too many bugs near the end of the competition.” A <a href=\"https://www.theverge.com/2022/10/6/23391895/meta-facebook-horizon-worlds-vr-social-network-too-buggy-leaked-memo\">recent report</a> from my colleague Alex Heath reveals that Horizon’s bugginess has been a sore spot within the company; the team behind it is in a “quality lockdown” for the rest of 2022 to iron out the bugs before more people start using the app (early this year, <a href=\"https://www.theverge.com/2022/2/17/22939297/meta-social-vr-platform-horizon-300000-users\">Alex reported</a> that it had around 300,000 monthly users). In a memo, Meta’s VP of metaverse, Vishal Shah, told employees: “feedback from our creators, users, playtesters, and many of us on the team is that the aggregate weight of papercuts, stability issues, and bugs is making it too hard for our community to experience the magic of Horizon.”</p><p>&nbsp;</p><blockquote><p>why the team who built the app doesn’t spend more time in it themselves.</p><p>&nbsp;</p></blockquote><p>&nbsp;</p><p>Meta CEO Mark Zuckerberg, whose vision has largely driven the company’s metaverse efforts, has <a href=\"https://www.theverge.com/2022/8/19/23313469/mark-zuckerberg-horizon-worlds-screenshot-memes-response-upgrades\">promised to share details</a> about “major updates to Horizon and avatar graphics” at the company’s Connect conference on October 11th. The company’s also set to announce its next-gen headset, the Quest Pro, which seemingly <a href=\"https://www.theverge.com/2022/9/11/23347979/meta-quest-pro-leak-vr-project-cambria-headset\">leaked in spectacular fashion</a> last month. Of course, new graphics and new hardware could mean a host of new bugs as well, so this upgrade to the reporting system is well-timed.</p><p>&nbsp;</p>', '2022-10-08 11:25:20', '2022-10-08 11:25:20'),
(9, 'Is Tailwind CSS Worth It?', 1, 1, '/files/posts/iqWEfVKTA6yr4EjAEhvmQyWG6HDhhra9doJWD0R2.jpg', 3, '<p>The Good, the Bad, and the Ugly of Utility-Based CSS</p><p>CSS utility classes have been around for a long time now. However, their popularity has recently skyrocketed with the adoption of libraries like <a href=\"https://tailwindcss.com/\">Tailwind CSS</a>. In this article, I want to share my thoughts, opinions, and hot takes about how tools like this change the user experience for developers and alter our relationship with the DOM. Feel free to completely disagree with me!</p><p>&nbsp;</p><h2><strong>What Problem Are We Trying To Solve?</strong></h2><p>In my view, the goal of a utility class-based system is to decouple. You can decouple your component styles from the HTML structure. You can decouple your rules from grouped component styles. At first glance, this sounds great, and it is. However, this methodology comes with its own set of problems.</p><p>CSS utility classes, or Functional CSS, are all about thinking small. The goal is to break up your app into a ton of little tiny classes that do one thing. You may have heard of a similar concept in programming called the <a href=\"https://en.wikipedia.org/wiki/Single-responsibility_principle\">Single Responsibility Principle</a> or Functional Programming. In CSS, the same concept exists. For example, they might center text in a div with a class called .text-center. These tiny classes are then composed together on a DOM element until the desired result is achieved.</p><p>&nbsp;</p><p>&nbsp;</p><p>It sounds straightforward at first but, while focusing on the micro we lose sight of the macro. In <a href=\"https://www.youtube.com/watch?v=PcrzsCdoFoY\">this interview</a>, Sarah Dayan gives an amazing walk down memory lane about the recent history of CSS. She elegantly describes not only the technologies that were used but, expands on the philosophy behind them. Even though this video is a few years old now, I think it’s still relevant. She leads us to a logical path of using Atomic CSS and Design Systems to build modern websites and apps. She’s not wrong.</p><p>&nbsp;</p><p>She is also currently found on the homepage of the Tailwind CSS website. There she is quoted as saying that Tailwind is the only framework that has scaled on large teams. I think she makes some great points but misses a crucial one. Tailwind is UGLY! I’m not the first person to say this. The internet has plenty of places you can find critiques of Tailwind.</p><p>I’d like to focus on the actual UX for developers who use it. When asked about the ugly HTML that is generated by a pure utility class approach, even she was backed into a corner around the 14 min mark and was forced to admit that “you can get used to almost anything”. My question is, should we?</p><p>&nbsp;</p><blockquote><p><i>Abstraction reduces cognitive load</i></p><p>&nbsp;</p></blockquote><h2>&nbsp;</h2><h2><strong>The UX of Utility Classes</strong></h2><p>I worry that sometimes as developers we get so obsessed with DRY principles and smaller bundles, that we forget our own needs as the people building this stuff. Ease of use, productivity, and general happiness while using the methodology <i>matter</i>. I don’t care what the bundle size looks like if it makes my life much harder. We focus on the objective more than the subjective. Which makes sense, until it doesn’t. There’s a reason why we don’t create web apps in raw JavaScript. It’s tedious, hard to read, and hard to organize. This is how I feel about a pure CSS utility class approach.</p><p>Imagine having to order your dinner by listing all of the ingredients instead of just saying the name of the dish. For example, you <i>could</i> sit down in a restaurant, wait for the waiter to come over, then say I want a “traditional Italian meal consisting of long thin wheat noodles, tomatoes that have been turned into a liquid, and small chunks of beef that have been shaped into spheres”. This is how utility classes work. I’d rather just order “spaghetti and meatballs” and call it a day. 🤷‍♂️🍝</p><p>&nbsp;</p><p>In addition to producing some headache-inducing HTML templates, this style of CSS encourages less semantic HTML. Don’t take my word for it though, go look at the Tailwind CSS website. I see lots of “<a href=\"https://www.hackterms.com/div%20soup\">div soup</a>” in the examples.</p><p>&nbsp;</p><p>Here’s a sample of what I’m talking about from their website. Do you have any idea what this is without rendering it? I sure don’t.</p><blockquote><p>&lt;div class=\"space-y-2\"&gt;<br>&nbsp; &lt;div class=\"relative\"&gt;<br>&nbsp; &nbsp; &lt;div class=\"bg-slate-100 dark:bg-slate-700 rounded-full overflow-hidden\"&gt;<br>&nbsp; &nbsp; &nbsp; &lt;div<br>&nbsp; &nbsp; &nbsp; &nbsp; class=\"bg-cyan-500 dark:bg-cyan-400 w-1/2 h-2\"<br>&nbsp; &nbsp; &nbsp; &nbsp; role=\"progressbar\"<br>&nbsp; &nbsp; &nbsp; &nbsp; aria-label=\"music progress\"<br>&nbsp; &nbsp; &nbsp; &nbsp; aria-valuenow=\"1456\"<br>&nbsp; &nbsp; &nbsp; &nbsp; aria-valuemin=\"0\"<br>&nbsp; &nbsp; &nbsp; &nbsp; aria-valuemax=\"4550\"<br>&nbsp; &nbsp; &nbsp; &gt;&lt;/div&gt;<br>&nbsp; &nbsp; &lt;/div&gt;<br>&nbsp; &nbsp; &lt;div<br>&nbsp; &nbsp; &nbsp; class=\"ring-cyan-500 dark:ring-cyan-400 ring-2 absolute left-1/2 top-1/2 w-4 h-4 -mt-2 -ml-2 flex items-center justify-center bg-white rounded-full shadow\"<br>&nbsp; &nbsp; &gt;<br>&nbsp; &nbsp; &nbsp; &lt;div<br>&nbsp; &nbsp; &nbsp; &nbsp; class=\"w-1.5 h-1.5 bg-cyan-500 dark:bg-cyan-400 rounded-full ring-1 ring-inset ring-slate-900/5\"<br>&nbsp; &nbsp; &nbsp; &gt;&lt;/div&gt;<br>&nbsp; &nbsp; &lt;/div&gt;<br>&nbsp; &lt;/div&gt;<br>&nbsp; &lt;div class=\"flex justify-between text-sm leading-6 font-medium tabular-nums\"&gt;<br>&nbsp; &nbsp; &lt;div class=\"text-cyan-500 dark:text-slate-100\"&gt;24:16&lt;/div&gt;<br>&nbsp; &nbsp; &lt;div class=\"text-slate-500 dark:text-slate-400\"&gt;75:50&lt;/div&gt;<br>&nbsp; &lt;/div&gt;<br>&lt;/div&gt;</p></blockquote><p>&nbsp;</p><p>Can you imagine quickly scanning this HTML file to find the correct div to update with this<i> lack of context</i>? By context I mean, when you look at the template, you know what it is. Tailwind goes against the old Object-Oriented CSS patterns and exchanges them for total anarchy. Heaven forbid were you to find a CSS bug. You might have to adjust classes on <i>several</i> elements before finding the exact px-3 class you need. As humans, we need abstract concepts to use as mental models to save time and do value mapping in our brains. The infamous .card class which has been used in several different CSS frameworks and apps, was hugely popular because it scratched our primal itch to attach meaning to a thing. Pure utility class templates throw all that out the window.</p><h2>&nbsp;</h2><h2><strong>The Best of Both Worlds</strong></h2><p>OK, let’s get to the <i>less</i> negative part of this article. After all, I do like the idea of making things atomic! I just don’t think that classes are the place to do it. We really can make better design systems without reinventing the wheel with every new component. If you want to get Atomic, you need to go even smaller than classes. You need to use <a href=\"https://developer.mozilla.org/en-US/docs/Web/CSS/--*\">CSS Custom Properties</a>.</p><p>&nbsp;</p><p>I recently discovered a library that perfectly sums up my thoughts on this. It’s called <a href=\"https://open-props.style/\">Open Props</a> and I highly recommend you check it out. It solves both problems elegantly. How do I create meaning and abstractions in my HTML while also creating global styles that are reusable?</p><p>&nbsp;</p><p>You can see in the Open Props examples that they mostly use meaningful class names. Which leads to better “scannability” in our HTML and faster troubleshooting. Take this example:</p><p>.hero {<br>&nbsp; line-height: var(--font-lineheight-1);<br>&nbsp; font-size: var(--font-size-fluid-3);<br>&nbsp; font-weight: var(--font-weight-9);<br>&nbsp; font-family: var(--font-sans);<br>}</p><p>&nbsp;</p><p>Everyone knows what a “hero” element is. With a pure utility class approach, this would become 4 separate classes to maintain the individual element. Now, they’re grouped in one spot which makes it easier to read and understand. Oh and by the way, it won’t add extra noise to your framework-specific DOM attributes such as Angular’s *ngFor .</p><p>&nbsp;</p><p>This also allows you to continue using other class naming conventions such as <a href=\"http://getbem.com/introduction/\">BEM</a> or <a href=\"https://cube.fyi/#what-does-cube-css-stand-for\">CUBE</a>. The choice is yours. To be fair, you could even combine this with utility classes if you prefer. However, I still argue that you’re making a big trade-off by doing so.</p><p>.fs-lg {<br>&nbsp; font-size: var(--font-size-8);<br>}&lt;div class=\"fs-lg\"&gt;Hello World&lt;/div&gt; &nbsp;&lt;-- you lose the meaning again</p><h2>&nbsp;</h2><h2><strong>Conclusion</strong></h2><p>To wrap things up, I just want to reiterate that I support building more global styling rules that help us build web apps in an “atomic” way. I just don’t believe classes are the place to do it. Tailwind is probably not going anywhere and we need to accept it but, I don’t want to lose sight of what we’re losing in the process.</p><p>&nbsp;</p><p>I am excited about libraries like Open Props which might be the best way to find a middle ground between reusability and meaning. I hope this article gave you some food for thought when choosing you\'re next CSS framework. Let me know what you think in the comments!</p>', '2022-10-08 11:32:39', '2022-10-08 11:32:39'),
(10, 'AWS EKS cluster networking', 1, 1, '/files/posts/odPmosXDbT1dguhmJyT6m6dYuU1pSfygZkQkKFVY.png', 1, '<p>On AWS Kubernetes requires an understanding the EKS networking to the cluster control plane with worker node reach. This blog is just explain networking on EKS and resolution to investigating and troubleshooting. when you have a problem with cluster communication between EKS control-plan(EKS VPC) to worker nodes(Subnet).</p><p>EKS Cluster</p><ul><li>VPC</li><li>ClusterIP CIDR</li><li>Subnet</li><li>ENI</li><li>Security Group</li><li>NetworkACLs</li><li>RouteTable</li></ul><p>&nbsp;</p><p>EKS with public and Private subnet</p><p>EKS with public and Private subnet</p><p>Consider, EKS control plan needs to use ENI that reseverd for Amazon EKS to comunicate the nodes, and on each of instances are attached eni which control inbound/outbound by network ACLs on VPC Subnet and router by routetable for contrrol traffice to CIDR range. The instances policy are applied on-top by security group layer.</p><p>Cluster Add-on Plugins</p><ul><li>CoreDNS</li><li>Kube-Proxy</li><li>VPC-CNI</li></ul><p><strong>Cluster IPs and PODs IPs</strong></p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*TjP9HYojvdNrdq4BJ3D5kA.png 640w, https://miro.medium.com/max/720/1*TjP9HYojvdNrdq4BJ3D5kA.png 720w, https://miro.medium.com/max/750/1*TjP9HYojvdNrdq4BJ3D5kA.png 750w, https://miro.medium.com/max/786/1*TjP9HYojvdNrdq4BJ3D5kA.png 786w, https://miro.medium.com/max/828/1*TjP9HYojvdNrdq4BJ3D5kA.png 828w, https://miro.medium.com/max/1100/1*TjP9HYojvdNrdq4BJ3D5kA.png 1100w, https://miro.medium.com/max/1400/1*TjP9HYojvdNrdq4BJ3D5kA.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*TjP9HYojvdNrdq4BJ3D5kA.png\" alt=\"\"></picture></p><p>The Cluster IPs is IP for internal cluster comunication it depend by cluster CIDR range at first time cluster has been created.</p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*qosV6Oe-H9TOC8SzERGTMg.png 640w, https://miro.medium.com/max/720/1*qosV6Oe-H9TOC8SzERGTMg.png 720w, https://miro.medium.com/max/750/1*qosV6Oe-H9TOC8SzERGTMg.png 750w, https://miro.medium.com/max/786/1*qosV6Oe-H9TOC8SzERGTMg.png 786w, https://miro.medium.com/max/828/1*qosV6Oe-H9TOC8SzERGTMg.png 828w, https://miro.medium.com/max/1100/1*qosV6Oe-H9TOC8SzERGTMg.png 1100w, https://miro.medium.com/max/1400/1*qosV6Oe-H9TOC8SzERGTMg.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*qosV6Oe-H9TOC8SzERGTMg.png\" alt=\"\"></picture></p><p>The IPs of pods these are reserved from instance with secondary private IPv4 it depend by subnet.</p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*Ab27gVHKdJhj8oxtWlUAlA.png 640w, https://miro.medium.com/max/720/1*Ab27gVHKdJhj8oxtWlUAlA.png 720w, https://miro.medium.com/max/750/1*Ab27gVHKdJhj8oxtWlUAlA.png 750w, https://miro.medium.com/max/786/1*Ab27gVHKdJhj8oxtWlUAlA.png 786w, https://miro.medium.com/max/828/1*Ab27gVHKdJhj8oxtWlUAlA.png 828w, https://miro.medium.com/max/1100/1*Ab27gVHKdJhj8oxtWlUAlA.png 1100w, https://miro.medium.com/max/1400/1*Ab27gVHKdJhj8oxtWlUAlA.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*Ab27gVHKdJhj8oxtWlUAlA.png\" alt=\"\"></picture></p><p>IPV4 table</p><p><strong>Example</strong> if subet A set CIDR = 192.168.96.0/19 the first IPv4 is <a href=\"https://www.ip2location.com/demo/192.168.96.0\">192.168.96.0</a> and the last IP is <a href=\"https://www.ip2location.com/demo/192.168.127.255\">192.168.127.255</a>. that reseved to 8,192 IPv4</p><p><strong>Check Plugins pods</strong></p><p>use to kubectl logs and exec.</p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*nLVl8BYzyXdUoGh9gTGJ2w.png 640w, https://miro.medium.com/max/720/1*nLVl8BYzyXdUoGh9gTGJ2w.png 720w, https://miro.medium.com/max/750/1*nLVl8BYzyXdUoGh9gTGJ2w.png 750w, https://miro.medium.com/max/786/1*nLVl8BYzyXdUoGh9gTGJ2w.png 786w, https://miro.medium.com/max/828/1*nLVl8BYzyXdUoGh9gTGJ2w.png 828w, https://miro.medium.com/max/1100/1*nLVl8BYzyXdUoGh9gTGJ2w.png 1100w, https://miro.medium.com/max/1400/1*nLVl8BYzyXdUoGh9gTGJ2w.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*nLVl8BYzyXdUoGh9gTGJ2w.png\" alt=\"\"></picture></p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*EhasfEYN527mnCxOB6aV4A.png 640w, https://miro.medium.com/max/720/1*EhasfEYN527mnCxOB6aV4A.png 720w, https://miro.medium.com/max/750/1*EhasfEYN527mnCxOB6aV4A.png 750w, https://miro.medium.com/max/786/1*EhasfEYN527mnCxOB6aV4A.png 786w, https://miro.medium.com/max/828/1*EhasfEYN527mnCxOB6aV4A.png 828w, https://miro.medium.com/max/1100/1*EhasfEYN527mnCxOB6aV4A.png 1100w, https://miro.medium.com/max/1400/1*EhasfEYN527mnCxOB6aV4A.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*EhasfEYN527mnCxOB6aV4A.png\" alt=\"\"></picture></p><p>In configmap kube-proxy.it config to cluster sever endpoint (EKS master endpoint) reached to EKS loadbalacer.</p><h2><strong>Investigating tools</strong></h2><p>AWS <a href=\"https://medium.com/@didanaiavs/aws-eks-cluster-networking-a64bc1f5250f#ReachabilityAnalyzer:\">Reachability Analyzer</a></p><p><a href=\"https://docs.aws.amazon.com/vpc/latest/reachability/what-is-reachability-analyzer.html\">https://docs.aws.amazon.com/vpc/latest/reachability/what-is-reachability-analyzer.html</a></p><p><a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html\">AWS Flow logs</a></p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*P4brsoovf-oA2zkiHeugiw.png 640w, https://miro.medium.com/max/720/1*P4brsoovf-oA2zkiHeugiw.png 720w, https://miro.medium.com/max/750/1*P4brsoovf-oA2zkiHeugiw.png 750w, https://miro.medium.com/max/786/1*P4brsoovf-oA2zkiHeugiw.png 786w, https://miro.medium.com/max/828/1*P4brsoovf-oA2zkiHeugiw.png 828w, https://miro.medium.com/max/1100/1*P4brsoovf-oA2zkiHeugiw.png 1100w, https://miro.medium.com/max/1400/1*P4brsoovf-oA2zkiHeugiw.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*P4brsoovf-oA2zkiHeugiw.png\" alt=\"\"></picture></p><p>Flow Logs on Cloud watch</p><p><picture><source srcset=\"https://miro.medium.com/max/640/1*2wUI-nW0J_YFbxK3fo7jHw.png 640w, https://miro.medium.com/max/720/1*2wUI-nW0J_YFbxK3fo7jHw.png 720w, https://miro.medium.com/max/750/1*2wUI-nW0J_YFbxK3fo7jHw.png 750w, https://miro.medium.com/max/786/1*2wUI-nW0J_YFbxK3fo7jHw.png 786w, https://miro.medium.com/max/828/1*2wUI-nW0J_YFbxK3fo7jHw.png 828w, https://miro.medium.com/max/1100/1*2wUI-nW0J_YFbxK3fo7jHw.png 1100w, https://miro.medium.com/max/1400/1*2wUI-nW0J_YFbxK3fo7jHw.png 1400w\" sizes=\"(min-resolution: 4dppx) and (max-width: 700px) 50vw, (-webkit-min-device-pixel-ratio: 4) and (max-width: 700px) 50vw, (min-resolution: 3dppx) and (max-width: 700px) 67vw, (-webkit-min-device-pixel-ratio: 3) and (max-width: 700px) 65vw, (min-resolution: 2.5dppx) and (max-width: 700px) 80vw, (-webkit-min-device-pixel-ratio: 2.5) and (max-width: 700px) 80vw, (min-resolution: 2dppx) and (max-width: 700px) 100vw, (-webkit-min-device-pixel-ratio: 2) and (max-width: 700px) 100vw, 700px\"><img src=\"https://miro.medium.com/max/1400/1*2wUI-nW0J_YFbxK3fo7jHw.png\" alt=\"\"></picture></p><p><a href=\"https://medium.com/@didanaiavs/aws-eks-cluster-networking-a64bc1f5250f#ReachabilityAnalyzer:\">Reachability Analyzer</a></p><h2><strong>Conclusion</strong></h2><p>For a well understanding of the EKS network communication you can read from Ref below for adoption on your project and make more experince on AWS EKS. enjoy with code thanks.</p><p>Ref: <a href=\"https://aws.amazon.com/blogs/containers/de-mystifying-cluster-networking-for-amazon-eks-worker-nodes/\">https://aws.amazon.com/blogs/containers/de-mystifying-cluster-networking-for-amazon-eks-worker-nodes/</a></p><p>Ref: <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html\">https://docs.aws.amazon.com/eks/latest/userguide/create-cluster.html</a></p>', '2022-10-08 11:34:24', '2022-10-08 11:34:24');

TRUNCATE TABLE `priorities`;
INSERT DELAYED IGNORE INTO `priorities` (`id`, `name`, `deleted_at`) VALUES
(1, 'Generally', NULL),
(2, 'Less Urgent', NULL),
(3, 'Urgent', NULL),
(4, 'Very Urgent', NULL),
(5, 'asdfasdfasdf', '2022-10-09 11:35:51'),
(6, 'asdfasdf', '2022-10-09 11:41:16');

TRUNCATE TABLE `reviews`;
TRUNCATE TABLE `settings`;
INSERT DELAYED IGNORE INTO `settings` (`id`, `name`, `slug`, `type`, `value`) VALUES
(1, 'App Name', 'app_name', 'text', 'Help Desk'),
(2, 'Default Language', 'default_language', 'text', 'en'),
(3, 'Footer Text', 'footer_text', 'text', 'Help Desk © 2022 - Powered by W3BD'),
(4, 'Email Notifications', 'email_notifications', 'json', '[{\"name\":\"Create ticket by new customer\",\"slug\":\"create_ticket_new_customer\",\"value\":false},{\"name\":\"Create ticket from dashboard\",\"slug\":\"create_ticket_dashboard\",\"value\":false},{\"name\":\"Notification for the first comment\",\"slug\":\"first_comment\",\"value\":false},{\"name\":\"User got assigned for a task\",\"slug\":\"assigned_ticket\",\"value\":false},{\"name\":\"Status or priority changes\",\"slug\":\"status_priority\",\"value\":false},{\"name\":\"Create a new user\",\"slug\":\"user_created\",\"value\":false}]');

TRUNCATE TABLE `status`;
INSERT DELAYED IGNORE INTO `status` (`id`, `name`, `slug`, `deleted_at`) VALUES
(1, 'Pending', 'pending', NULL),
(2, 'Processing', 'processing', NULL),
(3, 'Completed', 'completed', NULL),
(4, 'Delay processing', 'delay_processing', NULL),
(5, 'Waiting for confirmation', 'waiting_for_confirmation', NULL),
(6, 'Closed', 'closed', NULL),
(7, 'asdfadsfasdf', 'asdfadsfasdf', '2022-10-09 11:33:22'),
(8, 'asdfasdfasdf', 'asdfasdfasdf', '2022-10-09 11:30:02');

TRUNCATE TABLE `tickets`;
INSERT DELAYED IGNORE INTO `tickets` (`id`, `uid`, `subject`, `status_id`, `open`, `due`, `close`, `response`, `user_id`, `contact_id`, `client_type`, `email`, `created_by`, `location`, `priority_id`, `department_id`, `category_id`, `assigned_to`, `type_id`, `details`, `review_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, '8510001', 'Laptop Warranty Issue', 1, '2022-07-05 04:02:08', NULL, NULL, '2022-10-09 22:04:16', 4, NULL, NULL, NULL, '1', NULL, 1, 5, 18, 2, 2, '<p>I have an issue on my new Laptop which one purchased from your store.</p>', NULL, '2022-07-05 04:02:08', '2022-10-09 22:04:16', NULL),
(2, '7350002', 'Email marketing service', 6, '2022-10-10 04:21:44', NULL, NULL, '2022-10-10 00:22:47', 6, NULL, NULL, NULL, '1', NULL, 4, 1, 5, 1, 1, '<p>We need email marketing service for your Company. Can you please provide that for us.</p>', NULL, '2022-04-05 22:21:44', '2022-10-10 00:22:47', NULL),
(3, '5610003', 'New Hosting Service', 2, '2022-10-10 04:23:29', NULL, NULL, NULL, 5, NULL, NULL, NULL, '1', NULL, 1, 1, 6, 2, 1, '<p>We need a new hosting service for our new business website. Can you please provide that within short time period?</p>', NULL, '2022-10-09 22:23:29', '2022-10-09 22:23:29', NULL),
(4, '5900004', 'Organize an event', 1, '2022-10-10 04:26:19', NULL, NULL, NULL, 3, NULL, NULL, NULL, '1', NULL, 1, 1, 4, NULL, 4, '<p>We need to organize a new event to promote one of our upcoming products. We need to arrange 100 sit of a room to the next month. I would like to get your help in that case.</p>', NULL, '2022-09-06 22:26:19', '2022-10-09 22:26:19', NULL),
(5, '8430005', 'Windows 11 license expired', 1, '2022-10-10 04:34:00', NULL, NULL, '2022-10-10 00:15:26', 6, NULL, NULL, NULL, '1', NULL, 1, 1, 4, 2, 1, '<p>I purchased a license from your shop. Recently, it showed expired - I am not pretty sure how this happened.&nbsp;</p>', NULL, '2022-10-09 22:34:00', '2022-10-10 00:15:26', NULL),
(6, '9090006', 'Manage five laptops for Team 1', 2, '2022-10-10 04:38:50', NULL, NULL, NULL, 3, NULL, NULL, NULL, '1', NULL, 3, 2, 11, 1, 3, '<p>We need to manage five laptops for our Team 1 in emergency cases. Because our project will be launched the next month, we have only 25 days remaining to get the rest of the tasks done.</p>', NULL, '2022-10-09 22:38:50', '2022-10-09 22:38:50', NULL),
(7, '6840007', 'Build a new company website', 1, '2022-10-10 04:42:29', NULL, NULL, NULL, 8, NULL, NULL, NULL, '1', NULL, 1, 7, 4, 10, 3, '<p>We need to build a new website for one of our client\'s company. I will collect all of the data needed for the website this week. Please let me know which kinds of data are required initially to start the project.</p>', NULL, '2022-10-09 22:42:29', '2022-10-09 22:42:29', NULL),
(8, '9750008', 'Need an wall mounted 56 inches monitor', 2, '2022-10-10 04:50:00', NULL, NULL, '2022-10-09 22:56:24', 6, NULL, NULL, NULL, '1', NULL, 3, 5, 19, 10, 2, '<p>We need a new monitor in an urgent case.</p>', NULL, '2022-08-01 22:50:00', '2022-10-09 22:56:24', NULL),
(9, '9750009', 'Website is not working', 2, '2022-10-10 04:52:18', NULL, NULL, NULL, 3, NULL, NULL, NULL, '1', NULL, 1, 7, 4, 10, 3, '<p>Recently we have been having a strange issue with our new website. When we announce a notice on our website\'s home page, it can\'t load 50 thousand visitors at a time to view that. We need to increase the capability for that.</p>', NULL, '2022-10-09 22:52:18', '2022-10-09 22:52:18', NULL),
(10, '6350010', 'Re-Design the existing Logo', 1, '2022-10-10 04:55:26', NULL, NULL, '2022-10-09 23:01:44', 5, NULL, NULL, NULL, '1', NULL, 2, 1, 19, 10, 3, '<p>We need to re-design our existing logo with a new tagline. Can you help me in that case? We require that within this month.</p><p>All versions of the logos would be in a different colour. We can discuss more in the chat section</p>', NULL, '2022-08-09 22:55:26', '2022-10-09 23:01:44', NULL),
(11, '7020011', 'Meeting arrangement for the team 1', 1, '2022-10-10 05:01:20', NULL, NULL, '2022-10-09 23:01:33', 9, NULL, NULL, NULL, '1', NULL, 3, 8, 19, 1, 4, '<p>Our team 1 is ready to produce the meeting for this year. Please choose a location for that and get an initial estimation for that. We can discuss more on the message.</p>', NULL, '2022-10-09 23:01:20', '2022-10-09 23:01:33', NULL);

TRUNCATE TABLE `types`;
INSERT DELAYED IGNORE INTO `types` (`id`, `name`, `deleted_at`) VALUES
(1, 'Service', NULL),
(2, 'Hardware', NULL),
(3, 'Software', NULL),
(4, 'Event', NULL),
(5, 'New types', NULL);
