-- Table structure for leave_types
-- ----------------------------
CREATE TABLE `leave_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `type_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `no_of_leaves` int NOT NULL DEFAULT 5,
  `paid` tinyint(1) NOT NULL DEFAULT 1,
  `monthly_limit` int NOT NULL DEFAULT 0,
  `effective_after` int NULL DEFAULT NULL,
  `effective_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `unused_leave` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `encashed` tinyint(1) NOT NULL,
  `allowed_probation` tinyint(1) NOT NULL,
  `allowed_notice` tinyint(1) NOT NULL,
  `gender` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `marital_status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `department` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `designation` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `role` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `leave_types_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `leave_types_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of leave_types
-- ----------------------------
INSERT INTO `leave_types` VALUES (1, 1, 'Casual', '#16813D', 5, 1, 0, NULL, NULL, NULL, 0, 0, 0, '[\"male\",\"female\",\"others\"]', '[\"married\",\"unmarried\"]', '[1]', '[1]', '[1,2]', NULL, '2023-06-22 17:23:14');
INSERT INTO `leave_types` VALUES (2, 1, 'Sick', '#DB1313', 5, 1, 0, NULL, NULL, NULL, 0, 0, 0, '[\"male\",\"female\",\"others\"]', '[\"married\",\"unmarried\"]', '[1]', '[1]', '[1,2]', NULL, '2023-06-22 17:23:14');
INSERT INTO `leave_types` VALUES (3, 1, 'Earned', '#B078C6', 5, 1, 0, NULL, NULL, NULL, 0, 0, 0, '[\"male\",\"female\",\"others\"]', '[\"married\",\"unmarried\"]', '[1]', '[1]', '[1,2]', NULL, '2023-06-22 17:23:14');

-- ----------------------------
-- Table structure for leaves
-- ----------------------------
CREATE TABLE `leaves`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `leave_type_id` int UNSIGNED NOT NULL,
  `unique_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `duration` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `leave_date` date NOT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('approved','pending','rejected') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reject_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `paid` tinyint(1) NOT NULL DEFAULT 0,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `event_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_at` datetime NULL DEFAULT NULL,
  `half_day_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `manager_status_permission` enum('pre-approve','approved') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `approve_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `leaves_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `leaves_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `leaves_leave_type_id_foreign`(`leave_type_id` ASC) USING BTREE,
  INDEX `leaves_leave_date_index`(`leave_date` ASC) USING BTREE,
  INDEX `leaves_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `leaves_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `leaves_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  CONSTRAINT `leaves_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `leaves_ibfk_2` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `leaves_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `leaves_ibfk_4` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `leaves_ibfk_5` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `leaves_ibfk_6` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of leaves
-- ----------------------------

-- ----------------------------
-- Table structure for log_time_for
-- ----------------------------
CREATE TABLE `log_time_for`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `log_time_for` enum('project','task') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'project',
  `auto_timer_stop` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `approval_required` tinyint(1) NOT NULL,
  `tracker_reminder` tinyint(1) NOT NULL,
  `timelog_report` tinyint(1) NOT NULL,
  `daily_report_roles` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `time` time NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `log_time_for_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `log_time_for_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of log_time_for
-- ----------------------------
INSERT INTO `log_time_for` VALUES (1, 1, 'project', 'no', 0, 0, 0, NULL, '2023-06-19 19:34:17', '2023-06-19 19:34:17', NULL);

-- ----------------------------
-- Table structure for ltm_translations
-- ----------------------------
CREATE TABLE `ltm_translations`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `status` int NOT NULL DEFAULT 0,
  `locale` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `group` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ltm_translations
-- ----------------------------

-- ----------------------------
-- Table structure for mention_users
-- ----------------------------
CREATE TABLE `mention_users`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_comment_id` int UNSIGNED NULL DEFAULT NULL,
  `task_note_id` int UNSIGNED NULL DEFAULT NULL,
  `task_id` int UNSIGNED NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `project_note_id` int UNSIGNED NULL DEFAULT NULL,
  `discussion_id` int UNSIGNED NULL DEFAULT NULL,
  `ticket_id` int UNSIGNED NULL DEFAULT NULL,
  `event_id` int UNSIGNED NULL DEFAULT NULL,
  `user_chat_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `discussion_reply_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `mention_users_task_comment_id_foreign`(`task_comment_id` ASC) USING BTREE,
  INDEX `mention_users_task_note_id_foreign`(`task_note_id` ASC) USING BTREE,
  INDEX `mention_users_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `mention_users_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `mention_users_project_note_id_foreign`(`project_note_id` ASC) USING BTREE,
  INDEX `mention_users_discussion_id_foreign`(`discussion_id` ASC) USING BTREE,
  INDEX `mention_users_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `mention_users_discussion_reply_id_foreign`(`discussion_reply_id` ASC) USING BTREE,
  INDEX `mention_users_ticket_id_foreign`(`ticket_id` ASC) USING BTREE,
  INDEX `mention_users_event_id_foreign`(`event_id` ASC) USING BTREE,
  INDEX `mention_users_user_chat_id_foreign`(`user_chat_id` ASC) USING BTREE,
  CONSTRAINT `mention_users_ibfk_1` FOREIGN KEY (`discussion_id`) REFERENCES `discussions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_10` FOREIGN KEY (`user_chat_id`) REFERENCES `users_chat` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_11` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_2` FOREIGN KEY (`discussion_reply_id`) REFERENCES `discussion_replies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_3` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_4` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_5` FOREIGN KEY (`project_note_id`) REFERENCES `project_notes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_6` FOREIGN KEY (`task_comment_id`) REFERENCES `task_comments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_7` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_8` FOREIGN KEY (`task_note_id`) REFERENCES `task_notes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `mention_users_ibfk_9` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of mention_users
-- ----------------------------

-- ----------------------------
-- Table structure for menu_settings
-- ----------------------------
CREATE TABLE `menu_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `main_menu` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `default_main_menu` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `setting_menu` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `default_setting_menu` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of menu_settings
-- ----------------------------

-- ----------------------------
-- Table structure for menus
-- ----------------------------
CREATE TABLE `menus`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `menu_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `translate_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `route` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `module` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `icon` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `setting_menu` tinyint(1) NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of menus
-- ----------------------------

-- ----------------------------
-- Table structure for message_settings
-- ----------------------------
CREATE TABLE `message_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `allow_client_admin` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `allow_client_employee` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `restrict_client` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `send_sound_notification` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `message_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `message_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of message_settings
-- ----------------------------
INSERT INTO `message_settings` VALUES (1, 1, 'no', 'no', 'no', '2023-06-19 19:34:17', '2023-06-19 19:34:17', 0);

-- ----------------------------
-- Table structure for migrations
-- ----------------------------
CREATE TABLE `migrations`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 97 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of migrations
-- ----------------------------
INSERT INTO `migrations` VALUES (1, '2018_01_01_000000_create_worksuite_new_table', 1);
INSERT INTO `migrations` VALUES (2, '2022_07_04_111754_add_project_short_code_column_project_table', 1);
INSERT INTO `migrations` VALUES (3, '2022_07_14_063826_contract_templates', 1);
INSERT INTO `migrations` VALUES (4, '2022_07_22_042424_create_proposal_templates_table', 1);
INSERT INTO `migrations` VALUES (5, '2022_07_28_043824_add_export_column_custom_fields_table', 1);
INSERT INTO `migrations` VALUES (6, '2022_08_03_101616_create_event_files_table', 1);
INSERT INTO `migrations` VALUES (7, '2022_08_12_000000_create_other_migration_till_date_table', 1);
INSERT INTO `migrations` VALUES (8, '2022_08_13_070443_add_task_unique_id_column_tasks_table', 1);
INSERT INTO `migrations` VALUES (9, '2022_08_18_120924_create_task_settings_table', 1);
INSERT INTO `migrations` VALUES (10, '2022_08_19_100314_add_leave_widget_in_dashboard_widget_table', 1);
INSERT INTO `migrations` VALUES (11, '2022_08_19_115209_create_project_status_settings_table', 1);
INSERT INTO `migrations` VALUES (12, '2022_08_22_104028_knowledge_heading_missing', 1);
INSERT INTO `migrations` VALUES (13, '2022_08_23_065943_change_status_type_projects_table', 1);
INSERT INTO `migrations` VALUES (14, '2022_08_24_122345_add_lead_widget_in_dashboard_widget_table', 1);
INSERT INTO `migrations` VALUES (15, '2022_08_25_085025_add_other_location_to_attendances_table', 1);
INSERT INTO `migrations` VALUES (16, '2022_08_25_123713_add_work_from_home_widget_in_dashboard_widgets_table', 1);
INSERT INTO `migrations` VALUES (17, '2022_08_26_042542_remove_on_delete_cascade_from_invoice_recurring_id_to_invoices', 1);
INSERT INTO `migrations` VALUES (18, '2022_08_26_053139_add_parent_id_column_designation_table', 1);
INSERT INTO `migrations` VALUES (19, '2022_08_29_064339_add_added_by_to_project_template', 1);
INSERT INTO `migrations` VALUES (20, '2022_08_29_103443_add_flag_code_column_to_language_settings', 1);
INSERT INTO `migrations` VALUES (21, '2022_09_00_000000_create_company_table', 1);
INSERT INTO `migrations` VALUES (22, '2022_09_01_000000_add_company_id_in_all_table', 1);
INSERT INTO `migrations` VALUES (23, '2022_09_01_060824_create_appreciations_table', 1);
INSERT INTO `migrations` VALUES (24, '2022_09_01_083053_create_global_settings_table', 1);
INSERT INTO `migrations` VALUES (25, '2022_09_02_151515_create_flags_table', 1);
INSERT INTO `migrations` VALUES (26, '2022_09_05_064405_add_miro_board_column_in_project_table', 1);
INSERT INTO `migrations` VALUES (27, '2022_09_07_172743_add_lead_status_column_to_permissions', 1);
INSERT INTO `migrations` VALUES (28, '2022_09_13_075642_add_customised_permission_column', 1);
INSERT INTO `migrations` VALUES (29, '2022_09_13_075642_create_leave_settings_table', 1);
INSERT INTO `migrations` VALUES (30, '2022_09_16_071005_add_headcount_and_joining_vs_attrition_widget_in_dashboard_widget_table', 1);
INSERT INTO `migrations` VALUES (31, '2022_09_16_105720_update_permission_of_client_and_employee_document', 1);
INSERT INTO `migrations` VALUES (32, '2022_09_19_124014_add_delete_approve_leave_in_permission_table', 1);
INSERT INTO `migrations` VALUES (33, '2022_09_20_045836_add_bank_account_module_in_module_table', 1);
INSERT INTO `migrations` VALUES (34, '2022_09_23_053942_update_type_of_hsn_sac_code_to_proposal_template_items', 1);
INSERT INTO `migrations` VALUES (35, '2022_09_23_181722_add_approve_reason_column_to_leaves_table', 1);
INSERT INTO `migrations` VALUES (36, '2022_10_09_155207_add_custom_year_to_companies_table', 1);
INSERT INTO `migrations` VALUES (37, '2022_10_31_130459_order_with_order_number', 1);
INSERT INTO `migrations` VALUES (38, '2022_11_03_115958_add_auto_clock_in_location_to_attendance_settings_table', 1);
INSERT INTO `migrations` VALUES (39, '2022_11_16_122431_add_contract_note_to_contracts_table', 1);
INSERT INTO `migrations` VALUES (40, '2022_11_23_070556_show_new_webhook_alert', 1);
INSERT INTO `migrations` VALUES (41, '2022_11_25_083742_add_company_id_for_null_values', 1);
INSERT INTO `migrations` VALUES (42, '2022_12_01_070705_create_leave_files_table', 1);
INSERT INTO `migrations` VALUES (43, '2022_12_05_062331_create_emoji_address_ticket_widget_table', 1);
INSERT INTO `migrations` VALUES (44, '2022_12_12_113800_add_wasabi_hash_test_payfast', 1);
INSERT INTO `migrations` VALUES (45, '2022_12_13_071454_add_currency_id_in_currency_format_table', 1);
INSERT INTO `migrations` VALUES (46, '2022_12_13_112213_add_new_fields_in_employee_details_table', 1);
INSERT INTO `migrations` VALUES (47, '2022_12_28_112213_add_new_fields_in_companies_table', 1);
INSERT INTO `migrations` VALUES (48, '2022_12_29_061634_add_column_in_invoice_table', 1);
INSERT INTO `migrations` VALUES (49, '2022_12_29_084526_create_subscriptions_table', 1);
INSERT INTO `migrations` VALUES (50, '2022_12_30_045028_add_number_separator_to_invoice_settings_table', 1);
INSERT INTO `migrations` VALUES (51, '2022_12_30_090615_move_google_map_key', 1);
INSERT INTO `migrations` VALUES (52, '2023_01_05_084453_add_column_in_log_time_table', 1);
INSERT INTO `migrations` VALUES (53, '2023_01_09_162235_create_estimate_templates_table', 1);
INSERT INTO `migrations` VALUES (54, '2023_01_20_052539_create_unit_types_table', 1);
INSERT INTO `migrations` VALUES (55, '2023_01_23_122023_add_column_in_invoice_recurring_table', 1);
INSERT INTO `migrations` VALUES (56, '2023_01_31_072924_add_settings_to_email_notification_settings', 1);
INSERT INTO `migrations` VALUES (57, '2023_02_01_085841_add_company_sign_contracts_table', 1);
INSERT INTO `migrations` VALUES (58, '2023_02_04_064358_create_lead_products_table', 1);
INSERT INTO `migrations` VALUES (59, '2023_02_07_122807_create_quick_books_settings_table', 1);
INSERT INTO `migrations` VALUES (60, '2023_02_09_083357_create_passprt_and_visa_table', 1);
INSERT INTO `migrations` VALUES (61, '2023_02_13_045833_add_report_column_in_log_time_table', 1);
INSERT INTO `migrations` VALUES (62, '2023_02_15_045950_add_unit_id_orders_table', 1);
INSERT INTO `migrations` VALUES (63, '2023_02_15_121548_add_data_in_ticket_custom_forms_table', 1);
INSERT INTO `migrations` VALUES (64, '2023_02_17_052112_add_permissions_for_lead_report', 1);
INSERT INTO `migrations` VALUES (65, '2023_02_27_081104_add_column_in_leave_type_table', 1);
INSERT INTO `migrations` VALUES (66, '2023_03_16_105629_add_manage_ticket_group_field_in_permission_table', 1);
INSERT INTO `migrations` VALUES (67, '2023_03_17_045842_lead_custom_field', 1);
INSERT INTO `migrations` VALUES (68, '2023_03_21_090422_add_order_prefix_in_invoice_settings_table', 1);
INSERT INTO `migrations` VALUES (69, '2023_03_21_095340_add_column_in_attendance_setting_table', 1);
INSERT INTO `migrations` VALUES (70, '2023_03_23_064221_add_country_phonecode_column_in_users_table', 1);
INSERT INTO `migrations` VALUES (71, '2023_03_24_073030_add_payment_columns_in_invoices_table', 1);
INSERT INTO `migrations` VALUES (72, '2023_03_24_081626_add_permission_for_sales_report', 1);
INSERT INTO `migrations` VALUES (73, '2023_03_29_072032_create_order_carts_table', 1);
INSERT INTO `migrations` VALUES (74, '2023_03_29_090137_create_custom_link_settings_table', 1);
INSERT INTO `migrations` VALUES (75, '2023_03_31_123237_fix_timelog_project_id', 1);
INSERT INTO `migrations` VALUES (76, '2023_04_03_132318_fix_invoice_units', 1);
INSERT INTO `migrations` VALUES (77, '2023_04_04_101429_google_calendar_keys_move_to_global_settings', 1);
INSERT INTO `migrations` VALUES (78, '2023_04_11_083659_add_bank_column_in_recurring_invoice_table', 1);
INSERT INTO `migrations` VALUES (79, '2023_04_11_092420_add_overwrite_existing_attendance_column_in_attendances_table', 1);
INSERT INTO `migrations` VALUES (80, '2023_04_11_101429_task_hash_insert_in_task_table', 1);
INSERT INTO `migrations` VALUES (81, '2023_04_12_073033_add_contract_setting_permission', 1);
INSERT INTO `migrations` VALUES (82, '2023_04_14_110419_add_send_status_column_in_proposals_table', 1);
INSERT INTO `migrations` VALUES (83, '2023_04_17_085738_add_visible_column_in_custom_fields_table', 1);
INSERT INTO `migrations` VALUES (84, '2023_04_18_061829_add_file_column_in_employee_shift_schedules_table', 1);
INSERT INTO `migrations` VALUES (85, '2023_04_18_124728_create_mention_users_table', 1);
INSERT INTO `migrations` VALUES (86, '2023_04_19_100128_add_auth_theme_text_to_global_settings_table', 1);
INSERT INTO `migrations` VALUES (87, '2023_04_27_082330_create_invoice_files_table', 1);
INSERT INTO `migrations` VALUES (88, '2023_05_02_100907_fix_bug', 1);
INSERT INTO `migrations` VALUES (89, '2023_05_04_083334_add_early_clock_in_employee_shift_table', 1);
INSERT INTO `migrations` VALUES (90, '2023_05_16_083058_add_ids_in_mention_users_table', 1);
INSERT INTO `migrations` VALUES (91, '2023_05_16_083334_add_allow_max_file_to_global_settings_table', 1);
INSERT INTO `migrations` VALUES (92, '2023_05_16_085400_remove_translations', 1);
INSERT INTO `migrations` VALUES (93, '2023_05_16_114755_file_upload_to_s3', 1);
INSERT INTO `migrations` VALUES (94, '2023_05_21_113800_add_minio_s3', 1);
INSERT INTO `migrations` VALUES (95, '2023_05_31_052844_add_user_chat_id_in_mention_users_table', 1);
INSERT INTO `migrations` VALUES (96, '2023_06_12_094139_fix_file_upload_to_s3', 1);

-- ----------------------------
-- Table structure for module_settings
-- ----------------------------
CREATE TABLE `module_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `module_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('admin','employee','client','developer','manager','receptionist') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'admin',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `module_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `module_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 135 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of module_settings
-- ----------------------------
INSERT INTO `module_settings` VALUES (1, 1, 'clients', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (2, 1, 'projects', 'deactive', 'admin', NULL, '2023-06-23 07:48:44');
INSERT INTO `module_settings` VALUES (3, 1, 'tickets', 'deactive', 'admin', NULL, '2023-06-23 07:48:47');
INSERT INTO `module_settings` VALUES (4, 1, 'invoices', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (5, 1, 'estimates', 'deactive', 'admin', NULL, '2023-06-23 07:48:56');
INSERT INTO `module_settings` VALUES (6, 1, 'events', 'deactive', 'admin', NULL, '2023-06-23 07:48:53');
INSERT INTO `module_settings` VALUES (7, 1, 'messages', 'deactive', 'admin', NULL, '2023-06-23 07:48:59');
INSERT INTO `module_settings` VALUES (8, 1, 'tasks', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (9, 1, 'timelogs', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (10, 1, 'contracts', 'deactive', 'admin', NULL, '2023-06-23 07:49:05');
INSERT INTO `module_settings` VALUES (11, 1, 'notices', 'deactive', 'admin', NULL, '2023-06-23 07:49:09');
INSERT INTO `module_settings` VALUES (12, 1, 'payments', 'active', 'admin', NULL, '2023-06-28 10:35:04');
INSERT INTO `module_settings` VALUES (13, 1, 'orders', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (14, 1, 'knowledgebase', 'deactive', 'admin', NULL, '2023-06-23 07:49:22');
INSERT INTO `module_settings` VALUES (15, 1, 'employees', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (16, 1, 'attendance', 'deactive', 'admin', NULL, '2023-06-23 07:49:16');
INSERT INTO `module_settings` VALUES (17, 1, 'expenses', 'deactive', 'admin', NULL, '2023-06-23 07:49:50');
INSERT INTO `module_settings` VALUES (18, 1, 'leaves', 'deactive', 'admin', NULL, '2023-06-23 07:49:27');
INSERT INTO `module_settings` VALUES (19, 1, 'leads', 'deactive', 'admin', NULL, '2023-06-23 07:49:32');
INSERT INTO `module_settings` VALUES (20, 1, 'holidays', 'deactive', 'admin', NULL, '2023-06-23 07:49:37');
INSERT INTO `module_settings` VALUES (21, 1, 'products', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (22, 1, 'reports', 'deactive', 'admin', NULL, '2023-06-23 07:49:45');
INSERT INTO `module_settings` VALUES (23, 1, 'settings', 'active', 'admin', NULL, NULL);
INSERT INTO `module_settings` VALUES (24, 1, 'bankaccount', 'deactive', 'admin', NULL, '2023-06-23 07:49:41');
INSERT INTO `module_settings` VALUES (25, 1, 'clients', 'active', 'employee', NULL, NULL);
INSERT INTO `module_settings` VALUES (26, 1, 'projects', 'deactive', 'employee', NULL, '2023-06-23 07:50:02');
INSERT INTO `module_settings` VALUES (27, 1, 'tickets', 'deactive', 'employee', NULL, '2023-06-23 07:50:11');
INSERT INTO `module_settings` VALUES (28, 1, 'invoices', 'deactive', 'employee', NULL, '2023-06-23 07:57:21');
INSERT INTO `module_settings` VALUES (29, 1, 'estimates', 'deactive', 'employee', NULL, '2023-06-23 07:50:20');
INSERT INTO `module_settings` VALUES (30, 1, 'events', 'deactive', 'employee', NULL, '2023-06-23 07:50:38');
INSERT INTO `module_settings` VALUES (31, 1, 'messages', 'deactive', 'employee', NULL, '2023-06-23 07:50:30');
INSERT INTO `module_settings` VALUES (32, 1, 'tasks', 'active', 'employee', NULL, NULL);
INSERT INTO `module_settings` VALUES (33, 1, 'timelogs', 'active', 'employee', NULL, NULL);
INSERT INTO `module_settings` VALUES (34, 1, 'contracts', 'deactive', 'employee', NULL, '2023-06-23 07:52:08');
INSERT INTO `module_settings` VALUES (35, 1, 'notices', 'deactive', 'employee', NULL, '2023-06-23 07:51:49');
INSERT INTO `module_settings` VALUES (36, 1, 'payments', 'deactive', 'employee', NULL, '2023-06-23 07:52:13');
INSERT INTO `module_settings` VALUES (37, 1, 'orders', 'deactive', 'employee', NULL, '2023-06-23 07:56:28');
INSERT INTO `module_settings` VALUES (38, 1, 'knowledgebase', 'deactive', 'employee', NULL, '2023-06-23 07:51:04');
INSERT INTO `module_settings` VALUES (39, 1, 'employees', 'deactive', 'employee', NULL, '2023-06-23 07:53:13');
INSERT INTO `module_settings` VALUES (40, 1, 'attendance', 'deactive', 'employee', NULL, '2023-06-23 07:51:55');
INSERT INTO `module_settings` VALUES (41, 1, 'expenses', 'deactive', 'employee', NULL, '2023-06-23 07:51:19');
INSERT INTO `module_settings` VALUES (42, 1, 'leaves', 'deactive', 'employee', NULL, '2023-06-23 07:51:26');
INSERT INTO `module_settings` VALUES (43, 1, 'leads', 'deactive', 'employee', NULL, '2023-06-23 07:51:33');
INSERT INTO `module_settings` VALUES (44, 1, 'holidays', 'deactive', 'employee', NULL, '2023-06-23 07:51:40');
INSERT INTO `module_settings` VALUES (45, 1, 'products', 'active', 'employee', NULL, NULL);
INSERT INTO `module_settings` VALUES (46, 1, 'reports', 'deactive', 'employee', NULL, '2023-06-23 07:54:48');
INSERT INTO `module_settings` VALUES (47, 1, 'settings', 'active', 'employee', NULL, NULL);
INSERT INTO `module_settings` VALUES (48, 1, 'bankaccount', 'deactive', 'employee', NULL, '2023-06-23 07:54:24');
INSERT INTO `module_settings` VALUES (49, 1, 'clients', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (50, 1, 'projects', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (51, 1, 'tickets', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (52, 1, 'invoices', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (53, 1, 'estimates', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (54, 1, 'events', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (55, 1, 'messages', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (56, 1, 'tasks', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (57, 1, 'timelogs', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (58, 1, 'contracts', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (59, 1, 'notices', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (60, 1, 'payments', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (61, 1, 'orders', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (62, 1, 'knowledgebase', 'active', 'client', NULL, NULL);
INSERT INTO `module_settings` VALUES (63, 1, 'clients', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (64, 1, 'projects', 'active', 'developer', NULL, '2023-06-23 09:40:54');
INSERT INTO `module_settings` VALUES (65, 1, 'tickets', 'active', 'developer', NULL, '2023-06-23 09:41:07');
INSERT INTO `module_settings` VALUES (66, 1, 'invoices', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (67, 1, 'estimates', 'active', 'developer', NULL, '2023-06-23 09:41:22');
INSERT INTO `module_settings` VALUES (68, 1, 'events', 'active', 'developer', NULL, '2023-06-23 09:41:28');
INSERT INTO `module_settings` VALUES (69, 1, 'messages', 'active', 'developer', NULL, '2023-06-23 09:42:37');
INSERT INTO `module_settings` VALUES (70, 1, 'tasks', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (71, 1, 'timelogs', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (72, 1, 'contracts', 'active', 'developer', NULL, '2023-06-23 09:42:44');
INSERT INTO `module_settings` VALUES (73, 1, 'notices', 'active', 'developer', NULL, '2023-06-23 09:44:15');
INSERT INTO `module_settings` VALUES (74, 1, 'payments', 'active', 'developer', NULL, '2023-06-23 09:46:00');
INSERT INTO `module_settings` VALUES (75, 1, 'orders', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (76, 1, 'knowledgebase', 'active', 'developer', NULL, '2023-06-23 09:45:54');
INSERT INTO `module_settings` VALUES (77, 1, 'employees', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (78, 1, 'attendance', 'active', 'developer', NULL, '2023-06-23 09:46:34');
INSERT INTO `module_settings` VALUES (79, 1, 'expenses', 'active', 'developer', NULL, '2023-06-23 09:46:29');
INSERT INTO `module_settings` VALUES (80, 1, 'leaves', 'active', 'developer', NULL, '2023-06-23 09:38:10');
INSERT INTO `module_settings` VALUES (81, 1, 'leads', 'active', 'developer', NULL, '2023-06-23 09:46:24');
INSERT INTO `module_settings` VALUES (82, 1, 'holidays', 'active', 'developer', NULL, '2023-06-23 09:46:38');
INSERT INTO `module_settings` VALUES (83, 1, 'products', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (84, 1, 'reports', 'active', 'developer', NULL, '2023-06-23 09:46:44');
INSERT INTO `module_settings` VALUES (85, 1, 'settings', 'active', 'developer', NULL, NULL);
INSERT INTO `module_settings` VALUES (86, 1, 'bankaccount', 'active', 'developer', NULL, '2023-06-23 09:46:48');
INSERT INTO `module_settings` VALUES (87, 1, 'clients', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (88, 1, 'projects', 'deactive', 'manager', NULL, '2023-06-23 07:48:44');
INSERT INTO `module_settings` VALUES (89, 1, 'tickets', 'deactive', 'manager', NULL, '2023-06-23 07:48:47');
INSERT INTO `module_settings` VALUES (90, 1, 'invoices', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (91, 1, 'estimates', 'deactive', 'manager', NULL, '2023-06-23 07:48:56');
INSERT INTO `module_settings` VALUES (92, 1, 'events', 'deactive', 'manager', NULL, '2023-06-23 09:46:16');
INSERT INTO `module_settings` VALUES (93, 1, 'messages', 'deactive', 'manager', NULL, '2023-06-23 07:48:59');
INSERT INTO `module_settings` VALUES (94, 1, 'tasks', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (95, 1, 'timelogs', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (96, 1, 'contracts', 'deactive', 'manager', NULL, '2023-06-23 07:49:05');
INSERT INTO `module_settings` VALUES (97, 1, 'notices', 'deactive', 'manager', NULL, '2023-06-23 07:49:09');
INSERT INTO `module_settings` VALUES (98, 1, 'payments', 'active', 'manager', NULL, '2023-06-28 15:33:26');
INSERT INTO `module_settings` VALUES (99, 1, 'orders', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (100, 1, 'knowledgebase', 'deactive', 'manager', NULL, '2023-06-23 07:49:22');
INSERT INTO `module_settings` VALUES (101, 1, 'employees', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (102, 1, 'attendance', 'deactive', 'manager', NULL, '2023-06-23 07:49:16');
INSERT INTO `module_settings` VALUES (103, 1, 'expenses', 'deactive', 'manager', NULL, '2023-06-23 07:49:50');
INSERT INTO `module_settings` VALUES (104, 1, 'leaves', 'deactive', 'manager', NULL, '2023-06-23 07:49:27');
INSERT INTO `module_settings` VALUES (105, 1, 'leads', 'deactive', 'manager', NULL, '2023-06-23 07:49:32');
INSERT INTO `module_settings` VALUES (106, 1, 'holidays', 'deactive', 'manager', NULL, '2023-06-23 07:49:37');
INSERT INTO `module_settings` VALUES (107, 1, 'products', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (108, 1, 'reports', 'deactive', 'manager', NULL, '2023-06-23 07:49:45');
INSERT INTO `module_settings` VALUES (109, 1, 'settings', 'active', 'manager', NULL, NULL);
INSERT INTO `module_settings` VALUES (110, 1, 'bankaccount', 'deactive', 'manager', NULL, '2023-06-23 07:49:41');
INSERT INTO `module_settings` VALUES (111, 1, 'clients', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (112, 1, 'projects', 'deactive', 'receptionist', NULL, '2023-06-23 07:48:44');
INSERT INTO `module_settings` VALUES (113, 1, 'tickets', 'deactive', 'receptionist', NULL, '2023-06-23 09:29:07');
INSERT INTO `module_settings` VALUES (114, 1, 'invoices', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (115, 1, 'estimates', 'deactive', 'receptionist', NULL, '2023-06-23 07:48:56');
INSERT INTO `module_settings` VALUES (116, 1, 'events', 'deactive', 'receptionist', NULL, '2023-06-23 07:48:53');
INSERT INTO `module_settings` VALUES (117, 1, 'messages', 'deactive', 'receptionist', NULL, '2023-06-23 07:48:59');
INSERT INTO `module_settings` VALUES (118, 1, 'tasks', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (119, 1, 'timelogs', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (120, 1, 'contracts', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:05');
INSERT INTO `module_settings` VALUES (121, 1, 'notices', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:09');
INSERT INTO `module_settings` VALUES (122, 1, 'payments', 'active', 'receptionist', NULL, '2023-06-28 15:33:57');
INSERT INTO `module_settings` VALUES (123, 1, 'orders', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (124, 1, 'knowledgebase', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:22');
INSERT INTO `module_settings` VALUES (125, 1, 'employees', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (126, 1, 'attendance', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:16');
INSERT INTO `module_settings` VALUES (127, 1, 'expenses', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:50');
INSERT INTO `module_settings` VALUES (128, 1, 'leaves', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:27');
INSERT INTO `module_settings` VALUES (129, 1, 'leads', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:32');
INSERT INTO `module_settings` VALUES (130, 1, 'holidays', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:37');
INSERT INTO `module_settings` VALUES (131, 1, 'products', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (132, 1, 'reports', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:45');
INSERT INTO `module_settings` VALUES (133, 1, 'settings', 'active', 'receptionist', NULL, NULL);
INSERT INTO `module_settings` VALUES (134, 1, 'bankaccount', 'deactive', 'receptionist', NULL, '2023-06-23 07:49:41');

-- ----------------------------
-- Table structure for modules
-- ----------------------------
CREATE TABLE `modules`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `module_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` tinyint NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of modules
-- ----------------------------
INSERT INTO `modules` VALUES (1, 'clients', NULL, '2023-06-19 19:34:13', '2023-06-19 19:34:13', 1);
INSERT INTO `modules` VALUES (2, 'employees', NULL, '2023-06-19 19:34:13', '2023-06-19 19:34:13', 1);
INSERT INTO `modules` VALUES (3, 'projects', 'User can view the basic details of projects assigned to him even without any permission.', '2023-06-19 19:34:14', '2023-06-19 19:34:14', 0);
INSERT INTO `modules` VALUES (4, 'attendance', 'User can view his own attendance even without any permission.', '2023-06-19 19:34:14', '2023-06-19 19:34:14', 0);
INSERT INTO `modules` VALUES (5, 'tasks', 'User can view the tasks assigned to him even without any permission.', '2023-06-19 19:34:14', '2023-06-19 19:34:14', 0);
INSERT INTO `modules` VALUES (6, 'estimates', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (7, 'invoices', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (8, 'payments', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (9, 'timelogs', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (10, 'tickets', 'User can view the tickets generated by him as default even without any permission.', '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (11, 'events', 'User can view the events to be attended by him as default even without any permission.', '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (12, 'notices', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (13, 'leaves', 'User can view the leaves applied by him as default even without any permission.', '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (14, 'leads', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (15, 'holidays', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (16, 'products', NULL, '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (17, 'expenses', 'User can view and add(self expenses) the expenses as default even without any permission.', '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (18, 'contracts', 'User can view all contracts', '2023-06-19 19:34:15', '2023-06-19 19:34:15', 0);
INSERT INTO `modules` VALUES (19, 'reports', 'User can manage permission of particular report', '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (20, 'settings', 'User can manage settings', '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (21, 'dashboards', NULL, '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (22, 'orders', NULL, '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (23, 'knowledgebase', NULL, '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (24, 'bankaccount', NULL, '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);
INSERT INTO `modules` VALUES (25, 'messages', NULL, '2023-06-19 19:34:16', '2023-06-19 19:34:16', 0);

-- ----------------------------
-- Table structure for notice_views
-- ----------------------------
CREATE TABLE `notice_views`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `notice_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `read` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `notice_views_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `notice_views_notice_id_foreign`(`notice_id` ASC) USING BTREE,
  INDEX `notice_views_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `notice_views_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `notice_views_ibfk_2` FOREIGN KEY (`notice_id`) REFERENCES `notices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `notice_views_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of notice_views
-- ----------------------------

-- ----------------------------
-- Table structure for notices
-- ----------------------------
CREATE TABLE `notices`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `to` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'employee',
  `heading` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `department_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `notices_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `notices_department_id_foreign`(`department_id` ASC) USING BTREE,
  INDEX `notices_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `notices_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `notices_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `notices_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `notices_ibfk_3` FOREIGN KEY (`department_id`) REFERENCES `teams` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `notices_ibfk_4` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of notices
-- ----------------------------

-- ----------------------------
-- Table structure for notifications
-- ----------------------------
CREATE TABLE `notifications`  (
  `id` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `notifiable_id` bigint UNSIGNED NOT NULL,
  `data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `notifications_notifiable_type_notifiable_id_index`(`notifiable_type` ASC, `notifiable_id` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of notifications
-- ----------------------------
INSERT INTO `notifications` VALUES ('42f38e70-a136-4589-939e-f657b701ab73', 'App\\Notifications\\NewUser', 'App\\Models\\User', 8, '{\"id\":8,\"company_id\":1,\"name\":\"Technician\",\"email\":\"tech@gmail.com\",\"two_factor_secret\":null,\"two_factor_recovery_codes\":null,\"two_factor_confirmed\":0,\"two_factor_email_confirmed\":0,\"image\":null,\"country_phonecode\":93,\"mobile\":null,\"gender\":\"male\",\"salutation\":null,\"locale\":\"en\",\"status\":\"active\",\"login\":\"enable\",\"onesignal_player_id\":null,\"last_login\":null,\"email_notifications\":1,\"country_id\":1,\"dark_theme\":0,\"rtl\":0,\"two_fa_verify_via\":null,\"two_factor_code\":null,\"two_factor_expires_at\":null,\"admin_approval\":1,\"permission_sync\":1,\"google_calendar_status\":1,\"customised_permissions\":0,\"stripe_id\":null,\"pm_type\":null,\"pm_last_four\":null,\"trial_ends_at\":null,\"image_url\":\"https:\\/\\/www.gravatar.com\\/avatar\\/f14674e1c94162d93dbafb624769a044.png?s=200&d=mp\",\"modules\":[\"clients\",\"projects\",\"tickets\",\"invoices\",\"estimates\",\"events\",\"messages\",\"tasks\",\"timelogs\",\"contracts\",\"notices\",\"payments\",\"orders\",\"knowledgebase\",\"employees\",\"attendance\",\"expenses\",\"leaves\",\"leads\",\"holidays\",\"products\",\"reports\",\"settings\",\"bankaccount\"],\"mobile_with_phonecode\":\"--\",\"client_details\":null,\"employee_detail\":null}', NULL, '2023-06-22 17:31:10', '2023-06-22 17:31:10');
INSERT INTO `notifications` VALUES ('48a0fb41-f27c-43b5-a8e6-5b7408a67a2d', 'App\\Notifications\\NewProject', 'App\\Models\\User', 10, '{\"id\":1,\"company_id\":1,\"project_name\":\"ENS Project\",\"project_short_code\":\"ens\",\"project_summary\":\"\",\"project_admin\":null,\"start_date\":\"2023-06-15T00:00:00+00:00\",\"deadline\":\"2023-06-30T00:00:00+00:00\",\"notes\":\"\",\"category_id\":1,\"client_id\":10,\"team_id\":1,\"feedback\":null,\"manual_timelog\":\"disable\",\"client_view_task\":\"disable\",\"allow_client_notification\":\"disable\",\"completion_percent\":0,\"calculate_task_progress\":\"true\",\"project_budget\":null,\"currency_id\":1,\"hours_allocated\":null,\"status\":\"in progress\",\"added_by\":1,\"last_updated_by\":1,\"hash\":\"c278ced5c291302adc2c77a950488e9b\",\"public\":0,\"deleted_at\":null,\"enable_miroboard\":0,\"miro_board_id\":null,\"client_access\":0,\"isProjectAdmin\":false,\"members\":[{\"id\":1,\"hourly_rate\":0,\"added_by\":1,\"last_updated_by\":1,\"created_at\":null,\"updated_at\":null,\"user\":{\"id\":8,\"company_id\":1,\"name\":\"Technician\",\"email\":\"tech@gmail.com\",\"two_factor_secret\":null,\"two_factor_recovery_codes\":null,\"two_factor_confirmed\":0,\"two_factor_email_confirmed\":0,\"image\":null,\"country_phonecode\":93,\"mobile\":null,\"gender\":\"male\",\"salutation\":null,\"locale\":\"en\",\"status\":\"active\",\"login\":\"enable\",\"onesignal_player_id\":null,\"last_login\":\"2023-06-22T17:42:07+00:00\",\"email_notifications\":1,\"country_id\":1,\"dark_theme\":0,\"rtl\":0,\"two_fa_verify_via\":null,\"two_factor_code\":null,\"two_factor_expires_at\":null,\"admin_approval\":1,\"permission_sync\":1,\"google_calendar_status\":1,\"customised_permissions\":0,\"stripe_id\":null,\"pm_type\":null,\"pm_last_four\":null,\"trial_ends_at\":null,\"image_url\":\"https:\\/\\/www.gravatar.com\\/avatar\\/f14674e1c94162d93dbafb624769a044.png?s=200&d=mp\",\"modules\":[\"clients\",\"projects\",\"tickets\",\"invoices\",\"estimates\",\"events\",\"messages\",\"tasks\",\"timelogs\",\"contracts\",\"notices\",\"payments\",\"orders\",\"knowledgebase\",\"employees\",\"attendance\",\"expenses\",\"leaves\",\"leads\",\"holidays\",\"products\",\"reports\",\"settings\",\"bankaccount\"],\"mobile_with_phonecode\":\"--\",\"client_details\":null,\"employee_detail\":{\"id\":2,\"company_id\":1,\"user_id\":8,\"employee_id\":\"2\",\"address\":null,\"hourly_rate\":null,\"slack_username\":null,\"department_id\":1,\"designation_id\":1,\"joining_date\":\"2023-06-22T00:00:00+00:00\",\"last_date\":null,\"added_by\":1,\"last_updated_by\":1,\"attendance_reminder\":null,\"date_of_birth\":null,\"calendar_view\":\"task,events,holiday,tickets,leaves\",\"about_me\":null,\"reporting_to\":null,\"contract_end_date\":null,\"internship_end_date\":null,\"employment_type\":null,\"marriage_anniversary_date\":null,\"marital_status\":\"unmarried\",\"notice_period_end_date\":null,\"notice_period_start_date\":null,\"probation_end_date\":null,\"upcoming_birthday\":null,\"designation\":{\"id\":1,\"company_id\":1,\"name\":\"Test\",\"parent_id\":null,\"added_by\":null,\"last_updated_by\":null},\"company\":{\"id\":1,\"company_name\":\"BWatch\",\"app_name\":\"BWatch\",\"company_email\":\"company@email.com\",\"company_phone\":\"1234567891\",\"logo\":null,\"light_logo\":null,\"favicon\":null,\"auth_theme\":\"light\",\"auth_theme_text\":\"dark\",\"sidebar_logo_style\":\"square\",\"login_background\":null,\"address\":\"Your Company address here\",\"website\":\"https:\\/\\/worksuite.biz\",\"currency_id\":1,\"timezone\":\"Asia\\/Kolkata\",\"date_format\":\"d-m-Y\",\"date_picker_format\":\"dd-mm-yyyy\",\"year_starts_from\":\"1\",\"moment_format\":\"DD-MM-YYYY\",\"time_format\":\"h:i a\",\"locale\":\"en\",\"latitude\":\"26.91243360\",\"longitude\":\"75.78727090\",\"leaves_start_from\":\"joining_date\",\"active_theme\":\"default\",\"status\":\"active\",\"last_updated_by\":null,\"google_map_key\":null,\"task_self\":\"yes\",\"rounded_theme\":1,\"logo_background_color\":\"#ffffff\",\"header_color\":\"#1D82F5\",\"before_days\":0,\"after_days\":0,\"on_deadline\":\"yes\",\"default_task_status\":1,\"dashboard_clock\":1,\"ticket_form_google_captcha\":0,\"lead_form_google_captcha\":0,\"taskboard_length\":10,\"datatable_row_limit\":10,\"allow_client_signup\":0,\"admin_client_signup_approval\":0,\"google_calendar_status\":\"inactive\",\"google_client_id\":null,\"google_client_secret\":null,\"google_calendar_verification_status\":\"non_verified\",\"google_id\":null,\"name\":null,\"token\":null,\"hash\":\"96d2796df116a55106b7a83ebf06f6ec\",\"last_login\":null,\"rtl\":0,\"show_new_webhook_alert\":0,\"pm_type\":null,\"pm_last_four\":null,\"logo_url\":\"http:\\/\\/bwatch.test\\/img\\/worksuite-logo.png\",\"login_background_url\":null,\"moment_date_format\":\"DD-MM-YYYY\",\"favicon_url\":\"http:\\/\\/bwatch.test\\/favicon.png\"},\"department\":{\"id\":1,\"company_id\":1,\"team_name\":\"HR\",\"parent_id\":null,\"added_by\":null,\"last_updated_by\":null}}}},{\"id\":2,\"hourly_rate\":0,\"added_by\":1,\"last_updated_by\":1,\"created_at\":null,\"updated_at\":null,\"user\":{\"id\":2,\"company_id\":1,\"name\":\"Admin\",\"email\":\"admin@gmail.com\",\"two_factor_secret\":null,\"two_factor_recovery_codes\":null,\"two_factor_confirmed\":0,\"two_factor_email_confirmed\":0,\"image\":null,\"country_phonecode\":null,\"mobile\":null,\"gender\":\"male\",\"salutation\":null,\"locale\":\"en\",\"status\":\"active\",\"login\":\"enable\",\"onesignal_player_id\":null,\"last_login\":\"2023-06-22T17:41:20+00:00\",\"email_notifications\":1,\"country_id\":null,\"dark_theme\":0,\"rtl\":0,\"two_fa_verify_via\":null,\"two_factor_code\":null,\"two_factor_expires_at\":null,\"admin_approval\":1,\"permission_sync\":1,\"google_calendar_status\":1,\"customised_permissions\":0,\"stripe_id\":null,\"pm_type\":null,\"pm_last_four\":null,\"trial_ends_at\":null,\"image_url\":\"https:\\/\\/www.gravatar.com\\/avatar\\/75d23af433e0cea4c0e45a56dba18b30.png?s=200&d=mp\",\"modules\":[\"clients\",\"projects\",\"tickets\",\"invoices\",\"estimates\",\"events\",\"messages\",\"tasks\",\"timelogs\",\"contracts\",\"notices\",\"payments\",\"orders\",\"knowledgebase\",\"employees\",\"attendance\",\"expenses\",\"leaves\",\"leads\",\"holidays\",\"products\",\"reports\",\"settings\",\"bankaccount\"],\"mobile_with_phonecode\":\"--\",\"client_details\":null,\"employee_detail\":{\"id\":3,\"company_id\":1,\"user_id\":2,\"employee_id\":\"3\",\"address\":null,\"hourly_rate\":null,\"slack_username\":null,\"department_id\":1,\"designation_id\":1,\"joining_date\":\"2023-06-22T23:10:37+00:00\",\"last_date\":null,\"added_by\":null,\"last_updated_by\":null,\"attendance_reminder\":null,\"date_of_birth\":null,\"calendar_view\":null,\"about_me\":null,\"reporting_to\":null,\"contract_end_date\":null,\"internship_end_date\":null,\"employment_type\":null,\"marriage_anniversary_date\":null,\"marital_status\":\"unmarried\",\"notice_period_end_date\":null,\"notice_period_start_date\":null,\"probation_end_date\":null,\"upcoming_birthday\":null,\"designation\":{\"id\":1,\"company_id\":1,\"name\":\"Test\",\"parent_id\":null,\"added_by\":null,\"last_updated_by\":null},\"company\":{\"id\":1,\"company_name\":\"BWatch\",\"app_name\":\"BWatch\",\"company_email\":\"company@email.com\",\"company_phone\":\"1234567891\",\"logo\":null,\"light_logo\":null,\"favicon\":null,\"auth_theme\":\"light\",\"auth_theme_text\":\"dark\",\"sidebar_logo_style\":\"square\",\"login_background\":null,\"address\":\"Your Company address here\",\"website\":\"https:\\/\\/worksuite.biz\",\"currency_id\":1,\"timezone\":\"Asia\\/Kolkata\",\"date_format\":\"d-m-Y\",\"date_picker_format\":\"dd-mm-yyyy\",\"year_starts_from\":\"1\",\"moment_format\":\"DD-MM-YYYY\",\"time_format\":\"h:i a\",\"locale\":\"en\",\"latitude\":\"26.91243360\",\"longitude\":\"75.78727090\",\"leaves_start_from\":\"joining_date\",\"active_theme\":\"default\",\"status\":\"active\",\"last_updated_by\":null,\"google_map_key\":null,\"task_self\":\"yes\",\"rounded_theme\":1,\"logo_background_color\":\"#ffffff\",\"header_color\":\"#1D82F5\",\"before_days\":0,\"after_days\":0,\"on_deadline\":\"yes\",\"default_task_status\":1,\"dashboard_clock\":1,\"ticket_form_google_captcha\":0,\"lead_form_google_captcha\":0,\"taskboard_length\":10,\"datatable_row_limit\":10,\"allow_client_signup\":0,\"admin_client_signup_approval\":0,\"google_calendar_status\":\"inactive\",\"google_client_id\":null,\"google_client_secret\":null,\"google_calendar_verification_status\":\"non_verified\",\"google_id\":null,\"name\":null,\"token\":null,\"hash\":\"96d2796df116a55106b7a83ebf06f6ec\",\"last_login\":null,\"rtl\":0,\"show_new_webhook_alert\":0,\"pm_type\":null,\"pm_last_four\":null,\"logo_url\":\"http:\\/\\/bwatch.test\\/img\\/worksuite-logo.png\",\"login_background_url\":null,\"moment_date_format\":\"DD-MM-YYYY\",\"favicon_url\":\"http:\\/\\/bwatch.test\\/favicon.png\"},\"department\":{\"id\":1,\"company_id\":1,\"team_name\":\"HR\",\"parent_id\":null,\"added_by\":null,\"last_updated_by\":null}}}}],\"client\":{\"id\":10,\"company_id\":1,\"name\":\"Shiko\",\"email\":\"shijo@gmail.com\",\"two_factor_secret\":null,\"two_factor_recovery_codes\":null,\"two_factor_confirmed\":0,\"two_factor_email_confirmed\":0,\"image\":null,\"country_phonecode\":null,\"mobile\":null,\"gender\":null,\"salutation\":null,\"locale\":\"en\",\"status\":\"active\",\"login\":\"disable\",\"onesignal_player_id\":null,\"last_login\":null,\"email_notifications\":0,\"country_id\":null,\"dark_theme\":0,\"rtl\":0,\"two_fa_verify_via\":null,\"two_factor_code\":null,\"two_factor_expires_at\":null,\"admin_approval\":1,\"permission_sync\":1,\"google_calendar_status\":1,\"customised_permissions\":0,\"stripe_id\":null,\"pm_type\":null,\"pm_last_four\":null,\"trial_ends_at\":null,\"image_url\":\"https:\\/\\/www.gravatar.com\\/avatar\\/4c6deb068314eed0edd49310ddd80139.png?s=200&d=mp\",\"modules\":[\"clients\",\"projects\",\"tickets\",\"invoices\",\"estimates\",\"events\",\"messages\",\"tasks\",\"timelogs\",\"contracts\",\"notices\",\"payments\",\"orders\",\"knowledgebase\",\"employees\",\"attendance\",\"expenses\",\"leaves\",\"leads\",\"holidays\",\"products\",\"reports\",\"settings\",\"bankaccount\"],\"mobile_with_phonecode\":\"--\",\"client_details\":{\"id\":1,\"company_id\":1,\"user_id\":10,\"company_name\":\"END\",\"address\":null,\"shipping_address\":null,\"postal_code\":null,\"state\":null,\"city\":null,\"office\":null,\"website\":null,\"note\":null,\"linkedin\":null,\"facebook\":null,\"twitter\":null,\"skype\":null,\"gst_number\":null,\"category_id\":null,\"sub_category_id\":null,\"added_by\":1,\"last_updated_by\":1,\"company_logo\":null,\"quickbooks_client_id\":null,\"image_url\":\"http:\\/\\/bwatch.test\\/img\\/worksuite-logo.png\",\"company\":{\"id\":1,\"company_name\":\"BWatch\",\"app_name\":\"BWatch\",\"company_email\":\"company@email.com\",\"company_phone\":\"1234567891\",\"logo\":null,\"light_logo\":null,\"favicon\":null,\"auth_theme\":\"light\",\"auth_theme_text\":\"dark\",\"sidebar_logo_style\":\"square\",\"login_background\":null,\"address\":\"Your Company address here\",\"website\":\"https:\\/\\/worksuite.biz\",\"currency_id\":1,\"timezone\":\"Asia\\/Kolkata\",\"date_format\":\"d-m-Y\",\"date_picker_format\":\"dd-mm-yyyy\",\"year_starts_from\":\"1\",\"moment_format\":\"DD-MM-YYYY\",\"time_format\":\"h:i a\",\"locale\":\"en\",\"latitude\":\"26.91243360\",\"longitude\":\"75.78727090\",\"leaves_start_from\":\"joining_date\",\"active_theme\":\"default\",\"status\":\"active\",\"last_updated_by\":null,\"google_map_key\":null,\"task_self\":\"yes\",\"rounded_theme\":1,\"logo_background_color\":\"#ffffff\",\"header_color\":\"#1D82F5\",\"before_days\":0,\"after_days\":0,\"on_deadline\":\"yes\",\"default_task_status\":1,\"dashboard_clock\":1,\"ticket_form_google_captcha\":0,\"lead_form_google_captcha\":0,\"taskboard_length\":10,\"datatable_row_limit\":10,\"allow_client_signup\":0,\"admin_client_signup_approval\":0,\"google_calendar_status\":\"inactive\",\"google_client_id\":null,\"google_client_secret\":null,\"google_calendar_verification_status\":\"non_verified\",\"google_id\":null,\"name\":null,\"token\":null,\"hash\":\"96d2796df116a55106b7a83ebf06f6ec\",\"last_login\":null,\"rtl\":0,\"show_new_webhook_alert\":0,\"pm_type\":null,\"pm_last_four\":null,\"logo_url\":\"http:\\/\\/bwatch.test\\/img\\/worksuite-logo.png\",\"login_background_url\":null,\"moment_date_format\":\"DD-MM-YYYY\",\"favicon_url\":\"http:\\/\\/bwatch.test\\/favicon.png\"}},\"employee_detail\":null},\"company\":{\"id\":1,\"company_name\":\"BWatch\",\"app_name\":\"BWatch\",\"company_email\":\"company@email.com\",\"company_phone\":\"1234567891\",\"logo\":null,\"light_logo\":null,\"favicon\":null,\"auth_theme\":\"light\",\"auth_theme_text\":\"dark\",\"sidebar_logo_style\":\"square\",\"login_background\":null,\"address\":\"Your Company address here\",\"website\":\"https:\\/\\/worksuite.biz\",\"currency_id\":1,\"timezone\":\"Asia\\/Kolkata\",\"date_format\":\"d-m-Y\",\"date_picker_format\":\"dd-mm-yyyy\",\"year_starts_from\":\"1\",\"moment_format\":\"DD-MM-YYYY\",\"time_format\":\"h:i a\",\"locale\":\"en\",\"latitude\":\"26.91243360\",\"longitude\":\"75.78727090\",\"leaves_start_from\":\"joining_date\",\"active_theme\":\"default\",\"status\":\"active\",\"last_updated_by\":null,\"google_map_key\":null,\"task_self\":\"yes\",\"rounded_theme\":1,\"logo_background_color\":\"#ffffff\",\"header_color\":\"#1D82F5\",\"before_days\":0,\"after_days\":0,\"on_deadline\":\"yes\",\"default_task_status\":1,\"dashboard_clock\":1,\"ticket_form_google_captcha\":0,\"lead_form_google_captcha\":0,\"taskboard_length\":10,\"datatable_row_limit\":10,\"allow_client_signup\":0,\"admin_client_signup_approval\":0,\"google_calendar_status\":\"inactive\",\"google_client_id\":null,\"google_client_secret\":null,\"google_calendar_verification_status\":\"non_verified\",\"google_id\":null,\"name\":null,\"token\":null,\"hash\":\"96d2796df116a55106b7a83ebf06f6ec\",\"last_login\":null,\"rtl\":0,\"show_new_webhook_alert\":0,\"pm_type\":null,\"pm_last_four\":null,\"logo_url\":\"http:\\/\\/bwatch.test\\/img\\/worksuite-logo.png\",\"login_background_url\":null,\"moment_date_format\":\"DD-MM-YYYY\",\"favicon_url\":\"http:\\/\\/bwatch.test\\/favicon.png\"}}', NULL, '2023-06-23 07:40:24', '2023-06-23 07:40:24');
INSERT INTO `notifications` VALUES ('50e3b438-3b09-448d-8a52-3adb9a91d8fa', 'App\\Notifications\\NewProjectMember', 'App\\Models\\User', 2, '{\"member_id\":1,\"project_id\":1,\"project\":\"ENS Project\"}', NULL, '2023-06-23 07:40:22', '2023-06-23 07:40:22');
INSERT INTO `notifications` VALUES ('62fe925e-a2dc-4fe7-a289-463dcd5e1b55', 'App\\Notifications\\NewUser', 'App\\Models\\User', 11, '{\"id\":11,\"company_id\":1,\"name\":\"john\",\"email\":\"john@gmail.com\",\"two_factor_secret\":null,\"two_factor_recovery_codes\":null,\"two_factor_confirmed\":0,\"two_factor_email_confirmed\":0,\"image\":null,\"country_phonecode\":93,\"mobile\":null,\"gender\":\"male\",\"salutation\":\"mr\",\"locale\":\"en\",\"status\":\"active\",\"login\":\"disable\",\"onesignal_player_id\":null,\"last_login\":null,\"email_notifications\":1,\"country_id\":1,\"dark_theme\":0,\"rtl\":0,\"two_fa_verify_via\":null,\"two_factor_code\":null,\"two_factor_expires_at\":null,\"admin_approval\":1,\"permission_sync\":1,\"google_calendar_status\":1,\"customised_permissions\":0,\"stripe_id\":null,\"pm_type\":null,\"pm_last_four\":null,\"trial_ends_at\":null,\"image_url\":\"https:\\/\\/www.gravatar.com\\/avatar\\/1f9d9a9efc2f523b2f09629444632b5c.png?s=200&d=mp\",\"modules\":[\"clients\",\"tasks\",\"timelogs\",\"products\",\"settings\"],\"mobile_with_phonecode\":\"--\",\"client_details\":null,\"employee_detail\":null}', NULL, '2023-06-23 09:52:47', '2023-06-23 09:52:47');
INSERT INTO `notifications` VALUES ('670e43d1-bed3-4bd5-839d-1316225b23bf', 'App\\Notifications\\NewTask', 'App\\Models\\User', 8, '{\"id\":1,\"created_at\":\"2023-06-23 07:41:52\",\"heading\":\"ENS work\"}', NULL, '2023-06-23 07:41:55', '2023-06-23 07:41:55');
INSERT INTO `notifications` VALUES ('762f2494-05c9-4b9c-a78c-1a945d63cd41', 'App\\Notifications\\NewTask', 'App\\Models\\User', 8, '{\"id\":1,\"created_at\":\"2023-06-23 07:41:52\",\"heading\":\"ENS work\"}', NULL, '2023-06-23 07:41:57', '2023-06-23 07:41:57');
INSERT INTO `notifications` VALUES ('cab420e4-d175-44e7-95b8-1b8c2dfc1c5e', 'App\\Notifications\\NewProjectMember', 'App\\Models\\User', 8, '{\"member_id\":1,\"project_id\":1,\"project\":\"ENS Project\"}', NULL, '2023-06-23 07:40:11', '2023-06-23 07:40:11');
INSERT INTO `notifications` VALUES ('fbc7a248-781b-45a2-b574-2bc9abd6808e', 'App\\Notifications\\NewTask', 'App\\Models\\User', 2, '{\"id\":1,\"created_at\":\"2023-06-23 07:41:52\",\"heading\":\"ENS work\"}', NULL, '2023-06-23 07:41:52', '2023-06-23 07:41:52');
INSERT INTO `notifications` VALUES ('fc8c8b3b-8773-4f7f-969c-2c543e56d83d', 'App\\Notifications\\NewTask', 'App\\Models\\User', 2, '{\"id\":1,\"created_at\":\"2023-06-23 07:41:52\",\"heading\":\"ENS work\"}', NULL, '2023-06-23 07:41:59', '2023-06-23 07:41:59');

-- ----------------------------
-- Table structure for offline_payment_methods
-- ----------------------------
CREATE TABLE `offline_payment_methods`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `status` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'yes',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `offline_payment_methods_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `offline_payment_methods_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of offline_payment_methods
-- ----------------------------

-- ----------------------------
-- Table structure for order_carts
-- ----------------------------
CREATE TABLE `order_carts`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_id` int UNSIGNED NOT NULL,
  `client_id` int UNSIGNED NULL DEFAULT NULL,
  `item_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `type` enum('item','discount','tax') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'item',
  `quantity` double(16, 2) NOT NULL,
  `unit_price` double(16, 2) NOT NULL,
  `amount` double(16, 2) NOT NULL,
  `taxes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unit_id` bigint UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_carts_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `order_carts_client_id_foreign`(`client_id` ASC) USING BTREE,
  INDEX `order_carts_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  CONSTRAINT `order_carts_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `order_carts_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `order_carts_ibfk_3` FOREIGN KEY (`unit_id`) REFERENCES `unit_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of order_carts
-- ----------------------------

-- ----------------------------
-- Table structure for order_item_images
-- ----------------------------
CREATE TABLE `order_item_images`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `order_item_id` bigint UNSIGNED NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_item_images_order_item_id_index`(`order_item_id` ASC) USING BTREE,
  CONSTRAINT `order_item_images_ibfk_1` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of order_item_images
-- ----------------------------

-- ----------------------------
-- Table structure for order_items
-- ----------------------------
CREATE TABLE `order_items`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `order_id` bigint UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NULL DEFAULT NULL,
  `item_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_summary` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `type` enum('item','discount','tax') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'item',
  `quantity` double(16, 2) NOT NULL,
  `unit_price` int NOT NULL,
  `amount` double(8, 2) NOT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `taxes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unit_id` bigint UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_items_order_id_foreign`(`order_id` ASC) USING BTREE,
  INDEX `order_items_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `order_items_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  CONSTRAINT `order_items_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `order_items_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `order_items_ibfk_3` FOREIGN KEY (`unit_id`) REFERENCES `unit_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of order_items
-- ----------------------------

-- ----------------------------
-- Table structure for orders
-- ----------------------------
CREATE TABLE `orders`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `order_number` bigint NULL DEFAULT NULL,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `client_id` int UNSIGNED NULL DEFAULT NULL,
  `order_date` date NOT NULL,
  `sub_total` double(8, 2) NOT NULL,
  `discount` double NOT NULL DEFAULT 0,
  `discount_type` enum('percent','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percent',
  `total` double(8, 2) NOT NULL,
  `status` enum('pending','on-hold','failed','processing','completed','canceled','refunded') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `show_shipping_address` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `note` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `company_address_id` bigint UNSIGNED NULL DEFAULT NULL,
  `custom_order_number` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `orders_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `orders_client_id_foreign`(`client_id` ASC) USING BTREE,
  INDEX `orders_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `orders_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `orders_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `orders_company_address_id_foreign`(`company_address_id` ASC) USING BTREE,
  CONSTRAINT `orders_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_ibfk_2` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_ibfk_3` FOREIGN KEY (`company_address_id`) REFERENCES `company_addresses` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_ibfk_4` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_ibfk_5` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_ibfk_6` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of orders
-- ----------------------------

-- ----------------------------
-- Table structure for passport_details
-- ----------------------------
CREATE TABLE `passport_details`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `country_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `passport_number` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `issue_date` date NOT NULL,
  `expiry_date` date NOT NULL,
  `file` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `passport_details_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `passport_details_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `passport_details_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `passport_details_country_id_foreign`(`country_id` ASC) USING BTREE,
  CONSTRAINT `passport_details_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `passport_details_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `passport_details_ibfk_3` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `passport_details_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of passport_details
-- ----------------------------

-- ----------------------------
-- Table structure for password_resets
-- ----------------------------
CREATE TABLE `password_resets`  (
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  INDEX `password_resets_email_index`(`email` ASC) USING BTREE,
  INDEX `password_resets_token_index`(`token` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of password_resets
-- ----------------------------

-- ----------------------------
-- Table structure for payment_gateway_credentials
-- ----------------------------
CREATE TABLE `payment_gateway_credentials`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `paypal_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paypal_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paypal_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
  `live_stripe_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_stripe_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_stripe_webhook_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `stripe_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
  `live_razorpay_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_razorpay_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `razorpay_status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
  `paypal_mode` enum('sandbox','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `sandbox_paypal_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `sandbox_paypal_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_stripe_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_stripe_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_razorpay_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_razorpay_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_stripe_webhook_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `stripe_mode` enum('test','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'test',
  `razorpay_mode` enum('test','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'test',
  `paystack_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paystack_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paystack_merchant_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paystack_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'deactive',
  `paystack_mode` enum('sandbox','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `test_paystack_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_paystack_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_paystack_merchant_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `paystack_payment_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'https://api.paystack.co',
  `mollie_api_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mollie_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'deactive',
  `payfast_merchant_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payfast_merchant_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payfast_passphrase` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payfast_mode` enum('sandbox','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `payfast_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'deactive',
  `authorize_api_login_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `authorize_transaction_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `authorize_environment` enum('sandbox','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `authorize_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
  `square_application_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `square_access_token` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `square_location_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `square_environment` enum('sandbox','production') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `square_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
  `flutterwave_status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'deactive',
  `flutterwave_mode` enum('sandbox','live') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sandbox',
  `test_flutterwave_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_flutterwave_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_flutterwave_hash` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_flutterwave_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_flutterwave_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `live_flutterwave_hash` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `flutterwave_webhook_secret_hash` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `test_payfast_merchant_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_payfast_merchant_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `test_payfast_passphrase` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `payment_gateway_credentials_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `payment_gateway_credentials_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of payment_gateway_credentials
-- ----------------------------
INSERT INTO `payment_gateway_credentials` VALUES (1, 1, NULL, NULL, 'deactive', NULL, NULL, NULL, 'deactive', NULL, NULL, 'inactive', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'test', 'test', NULL, NULL, NULL, 'deactive', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', NULL, 'deactive', NULL, NULL, NULL, 'sandbox', 'deactive', NULL, NULL, 'sandbox', 'deactive', NULL, NULL, NULL, 'sandbox', 'deactive', 'deactive', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-06-19 19:34:17', '2023-06-19 19:34:17', NULL, NULL, NULL);

-- ----------------------------
-- Table structure for payments
-- ----------------------------
CREATE TABLE `payments`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `invoice_id` int UNSIGNED NULL DEFAULT NULL,
  `order_id` bigint UNSIGNED NULL DEFAULT NULL,
  `credit_notes_id` int UNSIGNED NULL DEFAULT NULL,
  `amount` double NOT NULL,
  `gateway` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `transaction_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `default_currency_id` int UNSIGNED NULL DEFAULT NULL,
  `exchange_rate` double NULL DEFAULT NULL,
  `plan_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `customer_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `event_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` enum('complete','pending','failed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `paid_on` datetime NULL DEFAULT NULL,
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `offline_method_id` int UNSIGNED NULL DEFAULT NULL,
  `bill` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `payment_gateway_response` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT 'null = success',
  `payload_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `bank_account_id` int UNSIGNED NULL DEFAULT NULL,
  `quickbooks_payment_id` int NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `payments_plan_id_unique`(`plan_id` ASC) USING BTREE,
  UNIQUE INDEX `payments_event_id_company_id_unique`(`event_id` ASC, `company_id` ASC) USING BTREE,
  UNIQUE INDEX `payments_transaction_id_company_id_unique`(`transaction_id` ASC, `company_id` ASC) USING BTREE,
  INDEX `payments_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `payments_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `payments_invoice_id_foreign`(`invoice_id` ASC) USING BTREE,
  INDEX `payments_order_id_foreign`(`order_id` ASC) USING BTREE,
  INDEX `payments_credit_notes_id_foreign`(`credit_notes_id` ASC) USING BTREE,
  INDEX `payments_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `payments_paid_on_index`(`paid_on` ASC) USING BTREE,
  INDEX `payments_offline_method_id_foreign`(`offline_method_id` ASC) USING BTREE,
  INDEX `payments_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `payments_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `payments_bank_account_id_foreign`(`bank_account_id` ASC) USING BTREE,
  INDEX `payments_default_currency_id_foreign`(`default_currency_id` ASC) USING BTREE,
  CONSTRAINT `payments_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_10` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_11` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_2` FOREIGN KEY (`bank_account_id`) REFERENCES `bank_accounts` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_4` FOREIGN KEY (`credit_notes_id`) REFERENCES `credit_notes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_5` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_6` FOREIGN KEY (`default_currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_7` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_8` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `payments_ibfk_9` FOREIGN KEY (`offline_method_id`) REFERENCES `offline_payment_methods` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of payments
-- ----------------------------

-- ----------------------------
-- Table structure for permission_role
-- ----------------------------
CREATE TABLE `permission_role`  (
  `permission_id` int UNSIGNED NOT NULL,
  `role_id` int UNSIGNED NOT NULL,
  `permission_type_id` bigint UNSIGNED NOT NULL DEFAULT 5,
  PRIMARY KEY (`permission_id`, `role_id`) USING BTREE,
  INDEX `permission_role_role_id_foreign`(`role_id` ASC) USING BTREE,
  INDEX `permission_role_permission_type_id_foreign`(`permission_type_id` ASC) USING BTREE,
  CONSTRAINT `permission_role_ibfk_1` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `permission_role_ibfk_2` FOREIGN KEY (`permission_type_id`) REFERENCES `permission_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `permission_role_ibfk_3` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of permission_role
-- ----------------------------
INSERT INTO `permission_role` VALUES (58, 2, 1);
INSERT INTO `permission_role` VALUES (58, 3, 1);
INSERT INTO `permission_role` VALUES (61, 2, 1);
INSERT INTO `permission_role` VALUES (61, 3, 1);
INSERT INTO `permission_role` VALUES (62, 2, 1);
INSERT INTO `permission_role` VALUES (62, 3, 1);
INSERT INTO `permission_role` VALUES (109, 2, 1);
INSERT INTO `permission_role` VALUES (112, 2, 1);
INSERT INTO `permission_role` VALUES (113, 2, 1);
INSERT INTO `permission_role` VALUES (116, 2, 1);
INSERT INTO `permission_role` VALUES (116, 3, 1);
INSERT INTO `permission_role` VALUES (117, 2, 1);
INSERT INTO `permission_role` VALUES (117, 3, 1);
INSERT INTO `permission_role` VALUES (120, 2, 1);
INSERT INTO `permission_role` VALUES (120, 3, 1);
INSERT INTO `permission_role` VALUES (121, 2, 1);
INSERT INTO `permission_role` VALUES (121, 3, 1);
INSERT INTO `permission_role` VALUES (144, 2, 1);
INSERT INTO `permission_role` VALUES (146, 2, 1);
INSERT INTO `permission_role` VALUES (151, 2, 1);
INSERT INTO `permission_role` VALUES (151, 3, 1);
INSERT INTO `permission_role` VALUES (153, 3, 1);
INSERT INTO `permission_role` VALUES (154, 2, 1);
INSERT INTO `permission_role` VALUES (154, 3, 1);
INSERT INTO `permission_role` VALUES (168, 2, 1);
INSERT INTO `permission_role` VALUES (174, 2, 1);
INSERT INTO `permission_role` VALUES (176, 2, 1);
INSERT INTO `permission_role` VALUES (187, 2, 1);
INSERT INTO `permission_role` VALUES (192, 2, 1);
INSERT INTO `permission_role` VALUES (193, 2, 1);
INSERT INTO `permission_role` VALUES (219, 2, 1);
INSERT INTO `permission_role` VALUES (221, 2, 1);
INSERT INTO `permission_role` VALUES (222, 2, 1);
INSERT INTO `permission_role` VALUES (44, 2, 2);
INSERT INTO `permission_role` VALUES (47, 2, 2);
INSERT INTO `permission_role` VALUES (48, 2, 2);
INSERT INTO `permission_role` VALUES (49, 2, 2);
INSERT INTO `permission_role` VALUES (50, 2, 2);
INSERT INTO `permission_role` VALUES (52, 2, 2);
INSERT INTO `permission_role` VALUES (52, 3, 2);
INSERT INTO `permission_role` VALUES (96, 2, 2);
INSERT INTO `permission_role` VALUES (100, 3, 2);
INSERT INTO `permission_role` VALUES (129, 3, 2);
INSERT INTO `permission_role` VALUES (133, 3, 2);
INSERT INTO `permission_role` VALUES (140, 3, 2);
INSERT INTO `permission_role` VALUES (145, 3, 2);
INSERT INTO `permission_role` VALUES (161, 2, 2);
INSERT INTO `permission_role` VALUES (161, 3, 2);
INSERT INTO `permission_role` VALUES (165, 2, 2);
INSERT INTO `permission_role` VALUES (165, 3, 2);
INSERT INTO `permission_role` VALUES (228, 3, 2);
INSERT INTO `permission_role` VALUES (283, 3, 2);
INSERT INTO `permission_role` VALUES (145, 2, 3);
INSERT INTO `permission_role` VALUES (152, 2, 3);
INSERT INTO `permission_role` VALUES (152, 3, 3);
INSERT INTO `permission_role` VALUES (153, 2, 3);
INSERT INTO `permission_role` VALUES (169, 2, 3);
INSERT INTO `permission_role` VALUES (175, 2, 3);
INSERT INTO `permission_role` VALUES (203, 2, 3);
INSERT INTO `permission_role` VALUES (220, 2, 3);
INSERT INTO `permission_role` VALUES (1, 1, 4);
INSERT INTO `permission_role` VALUES (1, 4, 4);
INSERT INTO `permission_role` VALUES (1, 5, 4);
INSERT INTO `permission_role` VALUES (1, 6, 4);
INSERT INTO `permission_role` VALUES (2, 1, 4);
INSERT INTO `permission_role` VALUES (2, 4, 4);
INSERT INTO `permission_role` VALUES (2, 5, 4);
INSERT INTO `permission_role` VALUES (2, 6, 4);
INSERT INTO `permission_role` VALUES (3, 1, 4);
INSERT INTO `permission_role` VALUES (3, 4, 4);
INSERT INTO `permission_role` VALUES (3, 5, 4);
INSERT INTO `permission_role` VALUES (3, 6, 4);
INSERT INTO `permission_role` VALUES (4, 1, 4);
INSERT INTO `permission_role` VALUES (4, 4, 4);
INSERT INTO `permission_role` VALUES (4, 5, 4);
INSERT INTO `permission_role` VALUES (4, 6, 4);
INSERT INTO `permission_role` VALUES (5, 1, 4);
INSERT INTO `permission_role` VALUES (6, 1, 4);
INSERT INTO `permission_role` VALUES (7, 1, 4);
INSERT INTO `permission_role` VALUES (8, 1, 4);
INSERT INTO `permission_role` VALUES (9, 1, 4);
INSERT INTO `permission_role` VALUES (10, 1, 4);
INSERT INTO `permission_role` VALUES (11, 1, 4);
INSERT INTO `permission_role` VALUES (12, 1, 4);
INSERT INTO `permission_role` VALUES (13, 1, 4);
INSERT INTO `permission_role` VALUES (14, 1, 4);
INSERT INTO `permission_role` VALUES (15, 1, 4);
INSERT INTO `permission_role` VALUES (16, 1, 4);
INSERT INTO `permission_role` VALUES (17, 1, 4);
INSERT INTO `permission_role` VALUES (18, 1, 4);
INSERT INTO `permission_role` VALUES (19, 1, 4);
INSERT INTO `permission_role` VALUES (19, 4, 4);
INSERT INTO `permission_role` VALUES (19, 5, 4);
INSERT INTO `permission_role` VALUES (20, 1, 4);
INSERT INTO `permission_role` VALUES (20, 4, 4);
INSERT INTO `permission_role` VALUES (20, 5, 4);
INSERT INTO `permission_role` VALUES (21, 1, 4);
INSERT INTO `permission_role` VALUES (21, 4, 4);
INSERT INTO `permission_role` VALUES (21, 5, 4);
INSERT INTO `permission_role` VALUES (22, 1, 4);
INSERT INTO `permission_role` VALUES (22, 4, 4);
INSERT INTO `permission_role` VALUES (22, 5, 4);
INSERT INTO `permission_role` VALUES (23, 1, 4);
INSERT INTO `permission_role` VALUES (24, 1, 4);
INSERT INTO `permission_role` VALUES (25, 1, 4);
INSERT INTO `permission_role` VALUES (26, 1, 4);
INSERT INTO `permission_role` VALUES (27, 1, 4);
INSERT INTO `permission_role` VALUES (28, 1, 4);
INSERT INTO `permission_role` VALUES (29, 1, 4);
INSERT INTO `permission_role` VALUES (30, 1, 4);
INSERT INTO `permission_role` VALUES (31, 1, 4);
INSERT INTO `permission_role` VALUES (32, 1, 4);
INSERT INTO `permission_role` VALUES (33, 1, 4);
INSERT INTO `permission_role` VALUES (34, 1, 4);
INSERT INTO `permission_role` VALUES (35, 1, 4);
INSERT INTO `permission_role` VALUES (35, 2, 4);
INSERT INTO `permission_role` VALUES (36, 1, 4);
INSERT INTO `permission_role` VALUES (37, 1, 4);
INSERT INTO `permission_role` VALUES (38, 1, 4);
INSERT INTO `permission_role` VALUES (39, 1, 4);
INSERT INTO `permission_role` VALUES (40, 1, 4);
INSERT INTO `permission_role` VALUES (41, 1, 4);
INSERT INTO `permission_role` VALUES (42, 1, 4);
INSERT INTO `permission_role` VALUES (43, 1, 4);
INSERT INTO `permission_role` VALUES (44, 1, 4);
INSERT INTO `permission_role` VALUES (45, 1, 4);
INSERT INTO `permission_role` VALUES (46, 1, 4);
INSERT INTO `permission_role` VALUES (47, 1, 4);
INSERT INTO `permission_role` VALUES (48, 1, 4);
INSERT INTO `permission_role` VALUES (49, 1, 4);
INSERT INTO `permission_role` VALUES (50, 1, 4);
INSERT INTO `permission_role` VALUES (51, 1, 4);
INSERT INTO `permission_role` VALUES (52, 1, 4);
INSERT INTO `permission_role` VALUES (53, 1, 4);
INSERT INTO `permission_role` VALUES (54, 1, 4);
INSERT INTO `permission_role` VALUES (55, 1, 4);
INSERT INTO `permission_role` VALUES (56, 1, 4);
INSERT INTO `permission_role` VALUES (56, 2, 4);
INSERT INTO `permission_role` VALUES (56, 3, 4);
INSERT INTO `permission_role` VALUES (57, 1, 4);
INSERT INTO `permission_role` VALUES (57, 2, 4);
INSERT INTO `permission_role` VALUES (57, 3, 4);
INSERT INTO `permission_role` VALUES (58, 1, 4);
INSERT INTO `permission_role` VALUES (59, 1, 4);
INSERT INTO `permission_role` VALUES (59, 2, 4);
INSERT INTO `permission_role` VALUES (59, 3, 4);
INSERT INTO `permission_role` VALUES (60, 1, 4);
INSERT INTO `permission_role` VALUES (60, 2, 4);
INSERT INTO `permission_role` VALUES (60, 3, 4);
INSERT INTO `permission_role` VALUES (61, 1, 4);
INSERT INTO `permission_role` VALUES (62, 1, 4);
INSERT INTO `permission_role` VALUES (63, 1, 4);
INSERT INTO `permission_role` VALUES (64, 1, 4);
INSERT INTO `permission_role` VALUES (65, 1, 4);
INSERT INTO `permission_role` VALUES (66, 1, 4);
INSERT INTO `permission_role` VALUES (67, 1, 4);
INSERT INTO `permission_role` VALUES (68, 1, 4);
INSERT INTO `permission_role` VALUES (68, 2, 4);
INSERT INTO `permission_role` VALUES (68, 3, 4);
INSERT INTO `permission_role` VALUES (69, 1, 4);
INSERT INTO `permission_role` VALUES (70, 1, 4);
INSERT INTO `permission_role` VALUES (71, 1, 4);
INSERT INTO `permission_role` VALUES (72, 1, 4);
INSERT INTO `permission_role` VALUES (73, 1, 4);
INSERT INTO `permission_role` VALUES (74, 1, 4);
INSERT INTO `permission_role` VALUES (75, 1, 4);
INSERT INTO `permission_role` VALUES (76, 1, 4);
INSERT INTO `permission_role` VALUES (77, 1, 4);
INSERT INTO `permission_role` VALUES (77, 2, 4);
INSERT INTO `permission_role` VALUES (77, 3, 4);
INSERT INTO `permission_role` VALUES (78, 1, 4);
INSERT INTO `permission_role` VALUES (79, 1, 4);
INSERT INTO `permission_role` VALUES (79, 2, 4);
INSERT INTO `permission_role` VALUES (79, 3, 4);
INSERT INTO `permission_role` VALUES (80, 1, 4);
INSERT INTO `permission_role` VALUES (80, 3, 4);
INSERT INTO `permission_role` VALUES (81, 1, 4);
INSERT INTO `permission_role` VALUES (82, 1, 4);
INSERT INTO `permission_role` VALUES (82, 3, 4);
INSERT INTO `permission_role` VALUES (83, 1, 4);
INSERT INTO `permission_role` VALUES (84, 1, 4);
INSERT INTO `permission_role` VALUES (85, 1, 4);
INSERT INTO `permission_role` VALUES (85, 2, 4);
INSERT INTO `permission_role` VALUES (85, 3, 4);
INSERT INTO `permission_role` VALUES (86, 1, 4);
INSERT INTO `permission_role` VALUES (87, 1, 4);
INSERT INTO `permission_role` VALUES (88, 1, 4);
INSERT INTO `permission_role` VALUES (89, 1, 4);
INSERT INTO `permission_role` VALUES (90, 1, 4);
INSERT INTO `permission_role` VALUES (91, 1, 4);
INSERT INTO `permission_role` VALUES (92, 1, 4);
INSERT INTO `permission_role` VALUES (93, 1, 4);
INSERT INTO `permission_role` VALUES (94, 1, 4);
INSERT INTO `permission_role` VALUES (95, 1, 4);
INSERT INTO `permission_role` VALUES (96, 1, 4);
INSERT INTO `permission_role` VALUES (97, 1, 4);
INSERT INTO `permission_role` VALUES (98, 1, 4);
INSERT INTO `permission_role` VALUES (99, 1, 4);
INSERT INTO `permission_role` VALUES (99, 4, 4);
INSERT INTO `permission_role` VALUES (99, 5, 4);
INSERT INTO `permission_role` VALUES (99, 6, 4);
INSERT INTO `permission_role` VALUES (100, 1, 4);
INSERT INTO `permission_role` VALUES (100, 2, 4);
INSERT INTO `permission_role` VALUES (100, 4, 4);
INSERT INTO `permission_role` VALUES (100, 5, 4);
INSERT INTO `permission_role` VALUES (100, 6, 4);
INSERT INTO `permission_role` VALUES (101, 1, 4);
INSERT INTO `permission_role` VALUES (101, 4, 4);
INSERT INTO `permission_role` VALUES (101, 5, 4);
INSERT INTO `permission_role` VALUES (101, 6, 4);
INSERT INTO `permission_role` VALUES (102, 1, 4);
INSERT INTO `permission_role` VALUES (102, 4, 4);
INSERT INTO `permission_role` VALUES (102, 5, 4);
INSERT INTO `permission_role` VALUES (102, 6, 4);
INSERT INTO `permission_role` VALUES (103, 1, 4);
INSERT INTO `permission_role` VALUES (104, 1, 4);
INSERT INTO `permission_role` VALUES (105, 1, 4);
INSERT INTO `permission_role` VALUES (106, 1, 4);
INSERT INTO `permission_role` VALUES (107, 1, 4);
INSERT INTO `permission_role` VALUES (107, 2, 4);
INSERT INTO `permission_role` VALUES (107, 3, 4);
INSERT INTO `permission_role` VALUES (108, 1, 4);
INSERT INTO `permission_role` VALUES (108, 2, 4);
INSERT INTO `permission_role` VALUES (109, 1, 4);
INSERT INTO `permission_role` VALUES (110, 1, 4);
INSERT INTO `permission_role` VALUES (110, 2, 4);
INSERT INTO `permission_role` VALUES (110, 3, 4);
INSERT INTO `permission_role` VALUES (111, 1, 4);
INSERT INTO `permission_role` VALUES (111, 2, 4);
INSERT INTO `permission_role` VALUES (112, 1, 4);
INSERT INTO `permission_role` VALUES (113, 1, 4);
INSERT INTO `permission_role` VALUES (114, 1, 4);
INSERT INTO `permission_role` VALUES (114, 2, 4);
INSERT INTO `permission_role` VALUES (114, 3, 4);
INSERT INTO `permission_role` VALUES (115, 1, 4);
INSERT INTO `permission_role` VALUES (115, 2, 4);
INSERT INTO `permission_role` VALUES (115, 3, 4);
INSERT INTO `permission_role` VALUES (116, 1, 4);
INSERT INTO `permission_role` VALUES (117, 1, 4);
INSERT INTO `permission_role` VALUES (118, 1, 4);
INSERT INTO `permission_role` VALUES (118, 2, 4);
INSERT INTO `permission_role` VALUES (118, 3, 4);
INSERT INTO `permission_role` VALUES (119, 1, 4);
INSERT INTO `permission_role` VALUES (119, 2, 4);
INSERT INTO `permission_role` VALUES (119, 3, 4);
INSERT INTO `permission_role` VALUES (120, 1, 4);
INSERT INTO `permission_role` VALUES (121, 1, 4);
INSERT INTO `permission_role` VALUES (122, 1, 4);
INSERT INTO `permission_role` VALUES (123, 1, 4);
INSERT INTO `permission_role` VALUES (124, 1, 4);
INSERT INTO `permission_role` VALUES (125, 1, 4);
INSERT INTO `permission_role` VALUES (126, 1, 4);
INSERT INTO `permission_role` VALUES (127, 1, 4);
INSERT INTO `permission_role` VALUES (128, 1, 4);
INSERT INTO `permission_role` VALUES (129, 1, 4);
INSERT INTO `permission_role` VALUES (130, 1, 4);
INSERT INTO `permission_role` VALUES (131, 1, 4);
INSERT INTO `permission_role` VALUES (132, 1, 4);
INSERT INTO `permission_role` VALUES (132, 4, 4);
INSERT INTO `permission_role` VALUES (132, 5, 4);
INSERT INTO `permission_role` VALUES (132, 6, 4);
INSERT INTO `permission_role` VALUES (133, 1, 4);
INSERT INTO `permission_role` VALUES (133, 4, 4);
INSERT INTO `permission_role` VALUES (133, 5, 4);
INSERT INTO `permission_role` VALUES (133, 6, 4);
INSERT INTO `permission_role` VALUES (134, 1, 4);
INSERT INTO `permission_role` VALUES (134, 4, 4);
INSERT INTO `permission_role` VALUES (134, 5, 4);
INSERT INTO `permission_role` VALUES (134, 6, 4);
INSERT INTO `permission_role` VALUES (135, 1, 4);
INSERT INTO `permission_role` VALUES (135, 4, 4);
INSERT INTO `permission_role` VALUES (135, 5, 4);
INSERT INTO `permission_role` VALUES (135, 6, 4);
INSERT INTO `permission_role` VALUES (136, 1, 4);
INSERT INTO `permission_role` VALUES (137, 1, 4);
INSERT INTO `permission_role` VALUES (138, 1, 4);
INSERT INTO `permission_role` VALUES (139, 1, 4);
INSERT INTO `permission_role` VALUES (139, 4, 4);
INSERT INTO `permission_role` VALUES (139, 5, 4);
INSERT INTO `permission_role` VALUES (139, 6, 4);
INSERT INTO `permission_role` VALUES (140, 1, 4);
INSERT INTO `permission_role` VALUES (140, 4, 4);
INSERT INTO `permission_role` VALUES (140, 5, 4);
INSERT INTO `permission_role` VALUES (140, 6, 4);
INSERT INTO `permission_role` VALUES (141, 1, 4);
INSERT INTO `permission_role` VALUES (141, 4, 4);
INSERT INTO `permission_role` VALUES (141, 5, 4);
INSERT INTO `permission_role` VALUES (141, 6, 4);
INSERT INTO `permission_role` VALUES (142, 1, 4);
INSERT INTO `permission_role` VALUES (142, 4, 4);
INSERT INTO `permission_role` VALUES (142, 5, 4);
INSERT INTO `permission_role` VALUES (142, 6, 4);
INSERT INTO `permission_role` VALUES (143, 1, 4);
INSERT INTO `permission_role` VALUES (144, 1, 4);
INSERT INTO `permission_role` VALUES (144, 5, 4);
INSERT INTO `permission_role` VALUES (145, 1, 4);
INSERT INTO `permission_role` VALUES (145, 5, 4);
INSERT INTO `permission_role` VALUES (146, 1, 4);
INSERT INTO `permission_role` VALUES (146, 5, 4);
INSERT INTO `permission_role` VALUES (147, 1, 4);
INSERT INTO `permission_role` VALUES (147, 5, 4);
INSERT INTO `permission_role` VALUES (148, 1, 4);
INSERT INTO `permission_role` VALUES (149, 1, 4);
INSERT INTO `permission_role` VALUES (150, 1, 4);
INSERT INTO `permission_role` VALUES (151, 1, 4);
INSERT INTO `permission_role` VALUES (152, 1, 4);
INSERT INTO `permission_role` VALUES (153, 1, 4);
INSERT INTO `permission_role` VALUES (154, 1, 4);
INSERT INTO `permission_role` VALUES (155, 1, 4);
INSERT INTO `permission_role` VALUES (156, 1, 4);
INSERT INTO `permission_role` VALUES (157, 1, 4);
INSERT INTO `permission_role` VALUES (158, 1, 4);
INSERT INTO `permission_role` VALUES (159, 1, 4);
INSERT INTO `permission_role` VALUES (160, 1, 4);
INSERT INTO `permission_role` VALUES (161, 1, 4);
INSERT INTO `permission_role` VALUES (162, 1, 4);
INSERT INTO `permission_role` VALUES (163, 1, 4);
INSERT INTO `permission_role` VALUES (164, 1, 4);
INSERT INTO `permission_role` VALUES (165, 1, 4);
INSERT INTO `permission_role` VALUES (166, 1, 4);
INSERT INTO `permission_role` VALUES (167, 1, 4);
INSERT INTO `permission_role` VALUES (168, 1, 4);
INSERT INTO `permission_role` VALUES (169, 1, 4);
INSERT INTO `permission_role` VALUES (170, 1, 4);
INSERT INTO `permission_role` VALUES (171, 1, 4);
INSERT INTO `permission_role` VALUES (172, 1, 4);
INSERT INTO `permission_role` VALUES (173, 1, 4);
INSERT INTO `permission_role` VALUES (174, 1, 4);
INSERT INTO `permission_role` VALUES (175, 1, 4);
INSERT INTO `permission_role` VALUES (176, 1, 4);
INSERT INTO `permission_role` VALUES (177, 1, 4);
INSERT INTO `permission_role` VALUES (178, 1, 4);
INSERT INTO `permission_role` VALUES (179, 1, 4);
INSERT INTO `permission_role` VALUES (180, 1, 4);
INSERT INTO `permission_role` VALUES (181, 1, 4);
INSERT INTO `permission_role` VALUES (182, 1, 4);
INSERT INTO `permission_role` VALUES (183, 1, 4);
INSERT INTO `permission_role` VALUES (184, 1, 4);
INSERT INTO `permission_role` VALUES (185, 1, 4);
INSERT INTO `permission_role` VALUES (186, 1, 4);
INSERT INTO `permission_role` VALUES (187, 1, 4);
INSERT INTO `permission_role` VALUES (188, 1, 4);
INSERT INTO `permission_role` VALUES (188, 2, 4);
INSERT INTO `permission_role` VALUES (189, 1, 4);
INSERT INTO `permission_role` VALUES (190, 1, 4);
INSERT INTO `permission_role` VALUES (190, 2, 4);
INSERT INTO `permission_role` VALUES (191, 1, 4);
INSERT INTO `permission_role` VALUES (191, 2, 4);
INSERT INTO `permission_role` VALUES (192, 1, 4);
INSERT INTO `permission_role` VALUES (193, 1, 4);
INSERT INTO `permission_role` VALUES (194, 1, 4);
INSERT INTO `permission_role` VALUES (195, 1, 4);
INSERT INTO `permission_role` VALUES (196, 1, 4);
INSERT INTO `permission_role` VALUES (197, 1, 4);
INSERT INTO `permission_role` VALUES (198, 1, 4);
INSERT INTO `permission_role` VALUES (199, 1, 4);
INSERT INTO `permission_role` VALUES (200, 1, 4);
INSERT INTO `permission_role` VALUES (201, 1, 4);
INSERT INTO `permission_role` VALUES (202, 1, 4);
INSERT INTO `permission_role` VALUES (203, 1, 4);
INSERT INTO `permission_role` VALUES (204, 1, 4);
INSERT INTO `permission_role` VALUES (205, 1, 4);
INSERT INTO `permission_role` VALUES (206, 1, 4);
INSERT INTO `permission_role` VALUES (207, 1, 4);
INSERT INTO `permission_role` VALUES (208, 1, 4);
INSERT INTO `permission_role` VALUES (209, 1, 4);
INSERT INTO `permission_role` VALUES (210, 1, 4);
INSERT INTO `permission_role` VALUES (210, 2, 4);
INSERT INTO `permission_role` VALUES (211, 1, 4);
INSERT INTO `permission_role` VALUES (212, 1, 4);
INSERT INTO `permission_role` VALUES (213, 1, 4);
INSERT INTO `permission_role` VALUES (214, 1, 4);
INSERT INTO `permission_role` VALUES (214, 3, 4);
INSERT INTO `permission_role` VALUES (215, 1, 4);
INSERT INTO `permission_role` VALUES (216, 1, 4);
INSERT INTO `permission_role` VALUES (217, 1, 4);
INSERT INTO `permission_role` VALUES (218, 1, 4);
INSERT INTO `permission_role` VALUES (219, 1, 4);
INSERT INTO `permission_role` VALUES (220, 1, 4);
INSERT INTO `permission_role` VALUES (221, 1, 4);
INSERT INTO `permission_role` VALUES (222, 1, 4);
INSERT INTO `permission_role` VALUES (223, 1, 4);
INSERT INTO `permission_role` VALUES (224, 1, 4);
INSERT INTO `permission_role` VALUES (225, 1, 4);
INSERT INTO `permission_role` VALUES (226, 1, 4);
INSERT INTO `permission_role` VALUES (227, 1, 4);
INSERT INTO `permission_role` VALUES (228, 1, 4);
INSERT INTO `permission_role` VALUES (229, 1, 4);
INSERT INTO `permission_role` VALUES (230, 1, 4);
INSERT INTO `permission_role` VALUES (231, 1, 4);
INSERT INTO `permission_role` VALUES (232, 1, 4);
INSERT INTO `permission_role` VALUES (233, 1, 4);
INSERT INTO `permission_role` VALUES (233, 3, 4);
INSERT INTO `permission_role` VALUES (234, 1, 4);
INSERT INTO `permission_role` VALUES (235, 1, 4);
INSERT INTO `permission_role` VALUES (235, 3, 4);
INSERT INTO `permission_role` VALUES (236, 1, 4);
INSERT INTO `permission_role` VALUES (237, 1, 4);
INSERT INTO `permission_role` VALUES (238, 1, 4);
INSERT INTO `permission_role` VALUES (238, 3, 4);
INSERT INTO `permission_role` VALUES (239, 1, 4);
INSERT INTO `permission_role` VALUES (240, 1, 4);
INSERT INTO `permission_role` VALUES (241, 1, 4);
INSERT INTO `permission_role` VALUES (242, 1, 4);
INSERT INTO `permission_role` VALUES (243, 1, 4);
INSERT INTO `permission_role` VALUES (244, 1, 4);
INSERT INTO `permission_role` VALUES (245, 1, 4);
INSERT INTO `permission_role` VALUES (246, 1, 4);
INSERT INTO `permission_role` VALUES (247, 1, 4);
INSERT INTO `permission_role` VALUES (248, 1, 4);
INSERT INTO `permission_role` VALUES (249, 1, 4);
INSERT INTO `permission_role` VALUES (250, 1, 4);
INSERT INTO `permission_role` VALUES (251, 1, 4);
INSERT INTO `permission_role` VALUES (252, 1, 4);
INSERT INTO `permission_role` VALUES (253, 1, 4);
INSERT INTO `permission_role` VALUES (254, 1, 4);
INSERT INTO `permission_role` VALUES (255, 1, 4);
INSERT INTO `permission_role` VALUES (256, 1, 4);
INSERT INTO `permission_role` VALUES (257, 1, 4);
INSERT INTO `permission_role` VALUES (258, 1, 4);
INSERT INTO `permission_role` VALUES (259, 1, 4);
INSERT INTO `permission_role` VALUES (260, 1, 4);
INSERT INTO `permission_role` VALUES (261, 1, 4);
INSERT INTO `permission_role` VALUES (262, 1, 4);
INSERT INTO `permission_role` VALUES (263, 1, 4);
INSERT INTO `permission_role` VALUES (264, 1, 4);
INSERT INTO `permission_role` VALUES (265, 1, 4);
INSERT INTO `permission_role` VALUES (266, 1, 4);
INSERT INTO `permission_role` VALUES (267, 1, 4);
INSERT INTO `permission_role` VALUES (268, 1, 4);
INSERT INTO `permission_role` VALUES (269, 1, 4);
INSERT INTO `permission_role` VALUES (270, 1, 4);
INSERT INTO `permission_role` VALUES (271, 1, 4);
INSERT INTO `permission_role` VALUES (271, 5, 4);
INSERT INTO `permission_role` VALUES (272, 1, 4);
INSERT INTO `permission_role` VALUES (273, 1, 4);
INSERT INTO `permission_role` VALUES (274, 1, 4);
INSERT INTO `permission_role` VALUES (275, 1, 4);
INSERT INTO `permission_role` VALUES (276, 1, 4);
INSERT INTO `permission_role` VALUES (277, 1, 4);
INSERT INTO `permission_role` VALUES (278, 1, 4);
INSERT INTO `permission_role` VALUES (279, 1, 4);
INSERT INTO `permission_role` VALUES (280, 1, 4);
INSERT INTO `permission_role` VALUES (281, 1, 4);
INSERT INTO `permission_role` VALUES (282, 1, 4);
INSERT INTO `permission_role` VALUES (282, 3, 4);
INSERT INTO `permission_role` VALUES (283, 1, 4);
INSERT INTO `permission_role` VALUES (284, 1, 4);
INSERT INTO `permission_role` VALUES (285, 1, 4);
INSERT INTO `permission_role` VALUES (286, 1, 4);
INSERT INTO `permission_role` VALUES (287, 1, 4);
INSERT INTO `permission_role` VALUES (288, 1, 4);
INSERT INTO `permission_role` VALUES (289, 1, 4);
INSERT INTO `permission_role` VALUES (290, 1, 4);
INSERT INTO `permission_role` VALUES (291, 1, 4);
INSERT INTO `permission_role` VALUES (292, 1, 4);
INSERT INTO `permission_role` VALUES (293, 1, 4);
INSERT INTO `permission_role` VALUES (294, 1, 4);
INSERT INTO `permission_role` VALUES (295, 1, 4);
INSERT INTO `permission_role` VALUES (296, 1, 4);
INSERT INTO `permission_role` VALUES (1, 2, 5);
INSERT INTO `permission_role` VALUES (1, 3, 5);
INSERT INTO `permission_role` VALUES (2, 2, 5);
INSERT INTO `permission_role` VALUES (2, 3, 5);
INSERT INTO `permission_role` VALUES (3, 2, 5);
INSERT INTO `permission_role` VALUES (3, 3, 5);
INSERT INTO `permission_role` VALUES (4, 2, 5);
INSERT INTO `permission_role` VALUES (4, 3, 5);
INSERT INTO `permission_role` VALUES (5, 2, 5);
INSERT INTO `permission_role` VALUES (5, 3, 5);
INSERT INTO `permission_role` VALUES (6, 2, 5);
INSERT INTO `permission_role` VALUES (6, 3, 5);
INSERT INTO `permission_role` VALUES (7, 2, 5);
INSERT INTO `permission_role` VALUES (7, 3, 5);
INSERT INTO `permission_role` VALUES (8, 2, 5);
INSERT INTO `permission_role` VALUES (8, 3, 5);
INSERT INTO `permission_role` VALUES (9, 2, 5);
INSERT INTO `permission_role` VALUES (9, 3, 5);
INSERT INTO `permission_role` VALUES (10, 2, 5);
INSERT INTO `permission_role` VALUES (10, 3, 5);
INSERT INTO `permission_role` VALUES (11, 2, 5);
INSERT INTO `permission_role` VALUES (11, 3, 5);
INSERT INTO `permission_role` VALUES (12, 2, 5);
INSERT INTO `permission_role` VALUES (12, 3, 5);
INSERT INTO `permission_role` VALUES (13, 2, 5);
INSERT INTO `permission_role` VALUES (13, 3, 5);
INSERT INTO `permission_role` VALUES (14, 2, 5);
INSERT INTO `permission_role` VALUES (14, 3, 5);
INSERT INTO `permission_role` VALUES (15, 2, 5);
INSERT INTO `permission_role` VALUES (15, 3, 5);
INSERT INTO `permission_role` VALUES (16, 2, 5);
INSERT INTO `permission_role` VALUES (16, 3, 5);
INSERT INTO `permission_role` VALUES (17, 2, 5);
INSERT INTO `permission_role` VALUES (17, 3, 5);
INSERT INTO `permission_role` VALUES (18, 2, 5);
INSERT INTO `permission_role` VALUES (18, 3, 5);
INSERT INTO `permission_role` VALUES (19, 2, 5);
INSERT INTO `permission_role` VALUES (19, 3, 5);
INSERT INTO `permission_role` VALUES (19, 6, 5);
INSERT INTO `permission_role` VALUES (20, 2, 5);
INSERT INTO `permission_role` VALUES (20, 3, 5);
INSERT INTO `permission_role` VALUES (20, 6, 5);
INSERT INTO `permission_role` VALUES (21, 2, 5);
INSERT INTO `permission_role` VALUES (21, 3, 5);
INSERT INTO `permission_role` VALUES (21, 6, 5);
INSERT INTO `permission_role` VALUES (22, 2, 5);
INSERT INTO `permission_role` VALUES (22, 3, 5);
INSERT INTO `permission_role` VALUES (22, 6, 5);
INSERT INTO `permission_role` VALUES (23, 2, 5);
INSERT INTO `permission_role` VALUES (23, 3, 5);
INSERT INTO `permission_role` VALUES (24, 2, 5);
INSERT INTO `permission_role` VALUES (24, 3, 5);
INSERT INTO `permission_role` VALUES (25, 2, 5);
INSERT INTO `permission_role` VALUES (25, 3, 5);
INSERT INTO `permission_role` VALUES (26, 2, 5);
INSERT INTO `permission_role` VALUES (26, 3, 5);
INSERT INTO `permission_role` VALUES (27, 2, 5);
INSERT INTO `permission_role` VALUES (27, 3, 5);
INSERT INTO `permission_role` VALUES (28, 2, 5);
INSERT INTO `permission_role` VALUES (28, 3, 5);
INSERT INTO `permission_role` VALUES (29, 2, 5);
INSERT INTO `permission_role` VALUES (29, 3, 5);
INSERT INTO `permission_role` VALUES (30, 2, 5);
INSERT INTO `permission_role` VALUES (30, 3, 5);
INSERT INTO `permission_role` VALUES (31, 2, 5);
INSERT INTO `permission_role` VALUES (31, 3, 5);
INSERT INTO `permission_role` VALUES (32, 2, 5);
INSERT INTO `permission_role` VALUES (32, 3, 5);
INSERT INTO `permission_role` VALUES (33, 2, 5);
INSERT INTO `permission_role` VALUES (33, 3, 5);
INSERT INTO `permission_role` VALUES (34, 2, 5);
INSERT INTO `permission_role` VALUES (34, 3, 5);
INSERT INTO `permission_role` VALUES (35, 3, 5);
INSERT INTO `permission_role` VALUES (36, 2, 5);
INSERT INTO `permission_role` VALUES (36, 3, 5);
INSERT INTO `permission_role` VALUES (37, 2, 5);
INSERT INTO `permission_role` VALUES (37, 3, 5);
INSERT INTO `permission_role` VALUES (38, 2, 5);
INSERT INTO `permission_role` VALUES (38, 3, 5);
INSERT INTO `permission_role` VALUES (39, 2, 5);
INSERT INTO `permission_role` VALUES (39, 3, 5);
INSERT INTO `permission_role` VALUES (40, 2, 5);
INSERT INTO `permission_role` VALUES (40, 3, 5);
INSERT INTO `permission_role` VALUES (41, 2, 5);
INSERT INTO `permission_role` VALUES (41, 3, 5);
INSERT INTO `permission_role` VALUES (42, 2, 5);
INSERT INTO `permission_role` VALUES (42, 3, 5);
INSERT INTO `permission_role` VALUES (43, 2, 5);
INSERT INTO `permission_role` VALUES (43, 3, 5);
INSERT INTO `permission_role` VALUES (44, 3, 5);
INSERT INTO `permission_role` VALUES (45, 2, 5);
INSERT INTO `permission_role` VALUES (45, 3, 5);
INSERT INTO `permission_role` VALUES (46, 2, 5);
INSERT INTO `permission_role` VALUES (46, 3, 5);
INSERT INTO `permission_role` VALUES (47, 3, 5);
INSERT INTO `permission_role` VALUES (48, 3, 5);
INSERT INTO `permission_role` VALUES (49, 3, 5);
INSERT INTO `permission_role` VALUES (50, 3, 5);
INSERT INTO `permission_role` VALUES (51, 2, 5);
INSERT INTO `permission_role` VALUES (51, 3, 5);
INSERT INTO `permission_role` VALUES (53, 2, 5);
INSERT INTO `permission_role` VALUES (53, 3, 5);
INSERT INTO `permission_role` VALUES (54, 2, 5);
INSERT INTO `permission_role` VALUES (54, 3, 5);
INSERT INTO `permission_role` VALUES (55, 2, 5);
INSERT INTO `permission_role` VALUES (55, 3, 5);
INSERT INTO `permission_role` VALUES (63, 2, 5);
INSERT INTO `permission_role` VALUES (63, 3, 5);
INSERT INTO `permission_role` VALUES (64, 2, 5);
INSERT INTO `permission_role` VALUES (64, 3, 5);
INSERT INTO `permission_role` VALUES (65, 2, 5);
INSERT INTO `permission_role` VALUES (65, 3, 5);
INSERT INTO `permission_role` VALUES (66, 2, 5);
INSERT INTO `permission_role` VALUES (66, 3, 5);
INSERT INTO `permission_role` VALUES (67, 2, 5);
INSERT INTO `permission_role` VALUES (67, 3, 5);
INSERT INTO `permission_role` VALUES (69, 2, 5);
INSERT INTO `permission_role` VALUES (69, 3, 5);
INSERT INTO `permission_role` VALUES (70, 2, 5);
INSERT INTO `permission_role` VALUES (70, 3, 5);
INSERT INTO `permission_role` VALUES (71, 2, 5);
INSERT INTO `permission_role` VALUES (71, 3, 5);
INSERT INTO `permission_role` VALUES (72, 2, 5);
INSERT INTO `permission_role` VALUES (72, 3, 5);
INSERT INTO `permission_role` VALUES (73, 2, 5);
INSERT INTO `permission_role` VALUES (73, 3, 5);
INSERT INTO `permission_role` VALUES (74, 2, 5);
INSERT INTO `permission_role` VALUES (74, 3, 5);
INSERT INTO `permission_role` VALUES (75, 2, 5);
INSERT INTO `permission_role` VALUES (75, 3, 5);
INSERT INTO `permission_role` VALUES (76, 2, 5);
INSERT INTO `permission_role` VALUES (76, 3, 5);
INSERT INTO `permission_role` VALUES (78, 2, 5);
INSERT INTO `permission_role` VALUES (78, 3, 5);
INSERT INTO `permission_role` VALUES (80, 2, 5);
INSERT INTO `permission_role` VALUES (81, 2, 5);
INSERT INTO `permission_role` VALUES (81, 3, 5);
INSERT INTO `permission_role` VALUES (82, 2, 5);
INSERT INTO `permission_role` VALUES (83, 2, 5);
INSERT INTO `permission_role` VALUES (83, 3, 5);
INSERT INTO `permission_role` VALUES (84, 2, 5);
INSERT INTO `permission_role` VALUES (84, 3, 5);
INSERT INTO `permission_role` VALUES (86, 2, 5);
INSERT INTO `permission_role` VALUES (86, 3, 5);
INSERT INTO `permission_role` VALUES (87, 2, 5);
INSERT INTO `permission_role` VALUES (87, 3, 5);
INSERT INTO `permission_role` VALUES (88, 2, 5);
INSERT INTO `permission_role` VALUES (88, 3, 5);
INSERT INTO `permission_role` VALUES (89, 2, 5);
INSERT INTO `permission_role` VALUES (89, 3, 5);
INSERT INTO `permission_role` VALUES (90, 2, 5);
INSERT INTO `permission_role` VALUES (90, 3, 5);
INSERT INTO `permission_role` VALUES (91, 2, 5);
INSERT INTO `permission_role` VALUES (91, 3, 5);
INSERT INTO `permission_role` VALUES (92, 2, 5);
INSERT INTO `permission_role` VALUES (92, 3, 5);
INSERT INTO `permission_role` VALUES (93, 2, 5);
INSERT INTO `permission_role` VALUES (93, 3, 5);
INSERT INTO `permission_role` VALUES (94, 2, 5);
INSERT INTO `permission_role` VALUES (94, 3, 5);
INSERT INTO `permission_role` VALUES (95, 2, 5);
INSERT INTO `permission_role` VALUES (95, 3, 5);
INSERT INTO `permission_role` VALUES (96, 3, 5);
INSERT INTO `permission_role` VALUES (97, 2, 5);
INSERT INTO `permission_role` VALUES (97, 3, 5);
INSERT INTO `permission_role` VALUES (98, 2, 5);
INSERT INTO `permission_role` VALUES (98, 3, 5);
INSERT INTO `permission_role` VALUES (99, 2, 5);
INSERT INTO `permission_role` VALUES (99, 3, 5);
INSERT INTO `permission_role` VALUES (101, 2, 5);
INSERT INTO `permission_role` VALUES (101, 3, 5);
INSERT INTO `permission_role` VALUES (102, 2, 5);
INSERT INTO `permission_role` VALUES (102, 3, 5);
INSERT INTO `permission_role` VALUES (103, 2, 5);
INSERT INTO `permission_role` VALUES (103, 3, 5);
INSERT INTO `permission_role` VALUES (104, 2, 5);
INSERT INTO `permission_role` VALUES (104, 3, 5);
INSERT INTO `permission_role` VALUES (105, 2, 5);
INSERT INTO `permission_role` VALUES (105, 3, 5);
INSERT INTO `permission_role` VALUES (106, 2, 5);
INSERT INTO `permission_role` VALUES (106, 3, 5);
INSERT INTO `permission_role` VALUES (108, 3, 5);
INSERT INTO `permission_role` VALUES (109, 3, 5);
INSERT INTO `permission_role` VALUES (111, 3, 5);
INSERT INTO `permission_role` VALUES (112, 3, 5);
INSERT INTO `permission_role` VALUES (113, 3, 5);
INSERT INTO `permission_role` VALUES (122, 2, 5);
INSERT INTO `permission_role` VALUES (122, 3, 5);
INSERT INTO `permission_role` VALUES (123, 2, 5);
INSERT INTO `permission_role` VALUES (123, 3, 5);
INSERT INTO `permission_role` VALUES (124, 2, 5);
INSERT INTO `permission_role` VALUES (124, 3, 5);
INSERT INTO `permission_role` VALUES (125, 2, 5);
INSERT INTO `permission_role` VALUES (125, 3, 5);
INSERT INTO `permission_role` VALUES (126, 2, 5);
INSERT INTO `permission_role` VALUES (126, 3, 5);
INSERT INTO `permission_role` VALUES (127, 2, 5);
INSERT INTO `permission_role` VALUES (127, 3, 5);
INSERT INTO `permission_role` VALUES (128, 2, 5);
INSERT INTO `permission_role` VALUES (128, 3, 5);
INSERT INTO `permission_role` VALUES (129, 2, 5);
INSERT INTO `permission_role` VALUES (130, 2, 5);
INSERT INTO `permission_role` VALUES (130, 3, 5);
INSERT INTO `permission_role` VALUES (131, 2, 5);
INSERT INTO `permission_role` VALUES (131, 3, 5);
INSERT INTO `permission_role` VALUES (132, 2, 5);
INSERT INTO `permission_role` VALUES (132, 3, 5);
INSERT INTO `permission_role` VALUES (133, 2, 5);
INSERT INTO `permission_role` VALUES (134, 2, 5);
INSERT INTO `permission_role` VALUES (134, 3, 5);
INSERT INTO `permission_role` VALUES (135, 2, 5);
INSERT INTO `permission_role` VALUES (135, 3, 5);
INSERT INTO `permission_role` VALUES (136, 2, 5);
INSERT INTO `permission_role` VALUES (136, 3, 5);
INSERT INTO `permission_role` VALUES (137, 2, 5);
INSERT INTO `permission_role` VALUES (137, 3, 5);
INSERT INTO `permission_role` VALUES (138, 2, 5);
INSERT INTO `permission_role` VALUES (138, 3, 5);
INSERT INTO `permission_role` VALUES (139, 2, 5);
INSERT INTO `permission_role` VALUES (139, 3, 5);
INSERT INTO `permission_role` VALUES (140, 2, 5);
INSERT INTO `permission_role` VALUES (141, 2, 5);
INSERT INTO `permission_role` VALUES (141, 3, 5);
INSERT INTO `permission_role` VALUES (142, 2, 5);
INSERT INTO `permission_role` VALUES (142, 3, 5);
INSERT INTO `permission_role` VALUES (143, 2, 5);
INSERT INTO `permission_role` VALUES (143, 3, 5);
INSERT INTO `permission_role` VALUES (144, 3, 5);
INSERT INTO `permission_role` VALUES (146, 3, 5);
INSERT INTO `permission_role` VALUES (147, 2, 5);
INSERT INTO `permission_role` VALUES (147, 3, 5);
INSERT INTO `permission_role` VALUES (148, 2, 5);
INSERT INTO `permission_role` VALUES (148, 3, 5);
INSERT INTO `permission_role` VALUES (149, 2, 5);
INSERT INTO `permission_role` VALUES (149, 3, 5);
INSERT INTO `permission_role` VALUES (150, 2, 5);
INSERT INTO `permission_role` VALUES (150, 3, 5);
INSERT INTO `permission_role` VALUES (155, 2, 5);
INSERT INTO `permission_role` VALUES (155, 3, 5);
INSERT INTO `permission_role` VALUES (156, 2, 5);
INSERT INTO `permission_role` VALUES (156, 3, 5);
INSERT INTO `permission_role` VALUES (157, 2, 5);
INSERT INTO `permission_role` VALUES (157, 3, 5);
INSERT INTO `permission_role` VALUES (158, 2, 5);
INSERT INTO `permission_role` VALUES (158, 3, 5);
INSERT INTO `permission_role` VALUES (159, 2, 5);
INSERT INTO `permission_role` VALUES (159, 3, 5);
INSERT INTO `permission_role` VALUES (160, 2, 5);
INSERT INTO `permission_role` VALUES (160, 3, 5);
INSERT INTO `permission_role` VALUES (162, 2, 5);
INSERT INTO `permission_role` VALUES (162, 3, 5);
INSERT INTO `permission_role` VALUES (163, 2, 5);
INSERT INTO `permission_role` VALUES (163, 3, 5);
INSERT INTO `permission_role` VALUES (164, 2, 5);
INSERT INTO `permission_role` VALUES (164, 3, 5);
INSERT INTO `permission_role` VALUES (166, 2, 5);
INSERT INTO `permission_role` VALUES (166, 3, 5);
INSERT INTO `permission_role` VALUES (167, 2, 5);
INSERT INTO `permission_role` VALUES (167, 3, 5);
INSERT INTO `permission_role` VALUES (168, 3, 5);
INSERT INTO `permission_role` VALUES (169, 3, 5);
INSERT INTO `permission_role` VALUES (170, 2, 5);
INSERT INTO `permission_role` VALUES (170, 3, 5);
INSERT INTO `permission_role` VALUES (171, 2, 5);
INSERT INTO `permission_role` VALUES (171, 3, 5);
INSERT INTO `permission_role` VALUES (172, 2, 5);
INSERT INTO `permission_role` VALUES (172, 3, 5);
INSERT INTO `permission_role` VALUES (173, 2, 5);
INSERT INTO `permission_role` VALUES (173, 3, 5);
INSERT INTO `permission_role` VALUES (174, 3, 5);
INSERT INTO `permission_role` VALUES (175, 3, 5);
INSERT INTO `permission_role` VALUES (176, 3, 5);
INSERT INTO `permission_role` VALUES (177, 2, 5);
INSERT INTO `permission_role` VALUES (177, 3, 5);
INSERT INTO `permission_role` VALUES (178, 2, 5);
INSERT INTO `permission_role` VALUES (178, 3, 5);
INSERT INTO `permission_role` VALUES (179, 2, 5);
INSERT INTO `permission_role` VALUES (179, 3, 5);
INSERT INTO `permission_role` VALUES (180, 2, 5);
INSERT INTO `permission_role` VALUES (180, 3, 5);
INSERT INTO `permission_role` VALUES (181, 2, 5);
INSERT INTO `permission_role` VALUES (181, 3, 5);
INSERT INTO `permission_role` VALUES (182, 2, 5);
INSERT INTO `permission_role` VALUES (182, 3, 5);
INSERT INTO `permission_role` VALUES (183, 2, 5);
INSERT INTO `permission_role` VALUES (183, 3, 5);
INSERT INTO `permission_role` VALUES (184, 2, 5);
INSERT INTO `permission_role` VALUES (184, 3, 5);
INSERT INTO `permission_role` VALUES (185, 2, 5);
INSERT INTO `permission_role` VALUES (185, 3, 5);
INSERT INTO `permission_role` VALUES (186, 2, 5);
INSERT INTO `permission_role` VALUES (186, 3, 5);
INSERT INTO `permission_role` VALUES (187, 3, 5);
INSERT INTO `permission_role` VALUES (188, 3, 5);
INSERT INTO `permission_role` VALUES (189, 2, 5);
INSERT INTO `permission_role` VALUES (189, 3, 5);
INSERT INTO `permission_role` VALUES (190, 3, 5);
INSERT INTO `permission_role` VALUES (191, 3, 5);
INSERT INTO `permission_role` VALUES (192, 3, 5);
INSERT INTO `permission_role` VALUES (193, 3, 5);
INSERT INTO `permission_role` VALUES (194, 2, 5);
INSERT INTO `permission_role` VALUES (194, 3, 5);
INSERT INTO `permission_role` VALUES (195, 2, 5);
INSERT INTO `permission_role` VALUES (195, 3, 5);
INSERT INTO `permission_role` VALUES (196, 2, 5);
INSERT INTO `permission_role` VALUES (196, 3, 5);
INSERT INTO `permission_role` VALUES (197, 2, 5);
INSERT INTO `permission_role` VALUES (197, 3, 5);
INSERT INTO `permission_role` VALUES (198, 2, 5);
INSERT INTO `permission_role` VALUES (198, 3, 5);
INSERT INTO `permission_role` VALUES (199, 2, 5);
INSERT INTO `permission_role` VALUES (199, 3, 5);
INSERT INTO `permission_role` VALUES (200, 2, 5);
INSERT INTO `permission_role` VALUES (200, 3, 5);
INSERT INTO `permission_role` VALUES (201, 2, 5);
INSERT INTO `permission_role` VALUES (201, 3, 5);
INSERT INTO `permission_role` VALUES (202, 2, 5);
INSERT INTO `permission_role` VALUES (202, 3, 5);
INSERT INTO `permission_role` VALUES (203, 3, 5);
INSERT INTO `permission_role` VALUES (204, 2, 5);
INSERT INTO `permission_role` VALUES (204, 3, 5);
INSERT INTO `permission_role` VALUES (205, 2, 5);
INSERT INTO `permission_role` VALUES (205, 3, 5);
INSERT INTO `permission_role` VALUES (206, 2, 5);
INSERT INTO `permission_role` VALUES (206, 3, 5);
INSERT INTO `permission_role` VALUES (207, 2, 5);
INSERT INTO `permission_role` VALUES (207, 3, 5);
INSERT INTO `permission_role` VALUES (208, 2, 5);
INSERT INTO `permission_role` VALUES (208, 3, 5);
INSERT INTO `permission_role` VALUES (209, 2, 5);
INSERT INTO `permission_role` VALUES (209, 3, 5);
INSERT INTO `permission_role` VALUES (210, 3, 5);
INSERT INTO `permission_role` VALUES (211, 2, 5);
INSERT INTO `permission_role` VALUES (211, 3, 5);
INSERT INTO `permission_role` VALUES (212, 2, 5);
INSERT INTO `permission_role` VALUES (212, 3, 5);
INSERT INTO `permission_role` VALUES (213, 2, 5);
INSERT INTO `permission_role` VALUES (213, 3, 5);
INSERT INTO `permission_role` VALUES (214, 2, 5);
INSERT INTO `permission_role` VALUES (215, 2, 5);
INSERT INTO `permission_role` VALUES (215, 3, 5);
INSERT INTO `permission_role` VALUES (216, 2, 5);
INSERT INTO `permission_role` VALUES (216, 3, 5);
INSERT INTO `permission_role` VALUES (217, 2, 5);
INSERT INTO `permission_role` VALUES (217, 3, 5);
INSERT INTO `permission_role` VALUES (218, 2, 5);
INSERT INTO `permission_role` VALUES (218, 3, 5);
INSERT INTO `permission_role` VALUES (219, 3, 5);
INSERT INTO `permission_role` VALUES (220, 3, 5);
INSERT INTO `permission_role` VALUES (221, 3, 5);
INSERT INTO `permission_role` VALUES (222, 3, 5);
INSERT INTO `permission_role` VALUES (223, 2, 5);
INSERT INTO `permission_role` VALUES (223, 3, 5);
INSERT INTO `permission_role` VALUES (224, 2, 5);
INSERT INTO `permission_role` VALUES (224, 3, 5);
INSERT INTO `permission_role` VALUES (225, 2, 5);
INSERT INTO `permission_role` VALUES (225, 3, 5);
INSERT INTO `permission_role` VALUES (226, 2, 5);
INSERT INTO `permission_role` VALUES (226, 3, 5);
INSERT INTO `permission_role` VALUES (227, 2, 5);
INSERT INTO `permission_role` VALUES (227, 3, 5);
INSERT INTO `permission_role` VALUES (228, 2, 5);
INSERT INTO `permission_role` VALUES (229, 2, 5);
INSERT INTO `permission_role` VALUES (229, 3, 5);
INSERT INTO `permission_role` VALUES (230, 2, 5);
INSERT INTO `permission_role` VALUES (230, 3, 5);
INSERT INTO `permission_role` VALUES (231, 2, 5);
INSERT INTO `permission_role` VALUES (231, 3, 5);
INSERT INTO `permission_role` VALUES (232, 2, 5);
INSERT INTO `permission_role` VALUES (232, 3, 5);
INSERT INTO `permission_role` VALUES (233, 2, 5);
INSERT INTO `permission_role` VALUES (234, 2, 5);
INSERT INTO `permission_role` VALUES (234, 3, 5);
INSERT INTO `permission_role` VALUES (235, 2, 5);
INSERT INTO `permission_role` VALUES (236, 2, 5);
INSERT INTO `permission_role` VALUES (236, 3, 5);
INSERT INTO `permission_role` VALUES (237, 2, 5);
INSERT INTO `permission_role` VALUES (237, 3, 5);
INSERT INTO `permission_role` VALUES (238, 2, 5);
INSERT INTO `permission_role` VALUES (239, 2, 5);
INSERT INTO `permission_role` VALUES (239, 3, 5);
INSERT INTO `permission_role` VALUES (240, 2, 5);
INSERT INTO `permission_role` VALUES (240, 3, 5);
INSERT INTO `permission_role` VALUES (241, 2, 5);
INSERT INTO `permission_role` VALUES (241, 3, 5);
INSERT INTO `permission_role` VALUES (242, 2, 5);
INSERT INTO `permission_role` VALUES (242, 3, 5);
INSERT INTO `permission_role` VALUES (243, 2, 5);
INSERT INTO `permission_role` VALUES (243, 3, 5);
INSERT INTO `permission_role` VALUES (244, 2, 5);
INSERT INTO `permission_role` VALUES (244, 3, 5);
INSERT INTO `permission_role` VALUES (245, 2, 5);
INSERT INTO `permission_role` VALUES (245, 3, 5);
INSERT INTO `permission_role` VALUES (246, 2, 5);
INSERT INTO `permission_role` VALUES (246, 3, 5);
INSERT INTO `permission_role` VALUES (247, 2, 5);
INSERT INTO `permission_role` VALUES (247, 3, 5);
INSERT INTO `permission_role` VALUES (248, 2, 5);
INSERT INTO `permission_role` VALUES (248, 3, 5);
INSERT INTO `permission_role` VALUES (249, 2, 5);
INSERT INTO `permission_role` VALUES (249, 3, 5);
INSERT INTO `permission_role` VALUES (250, 2, 5);
INSERT INTO `permission_role` VALUES (250, 3, 5);
INSERT INTO `permission_role` VALUES (251, 2, 5);
INSERT INTO `permission_role` VALUES (251, 3, 5);
INSERT INTO `permission_role` VALUES (252, 2, 5);
INSERT INTO `permission_role` VALUES (252, 3, 5);
INSERT INTO `permission_role` VALUES (253, 2, 5);
INSERT INTO `permission_role` VALUES (253, 3, 5);
INSERT INTO `permission_role` VALUES (254, 2, 5);
INSERT INTO `permission_role` VALUES (254, 3, 5);
INSERT INTO `permission_role` VALUES (255, 2, 5);
INSERT INTO `permission_role` VALUES (255, 3, 5);
INSERT INTO `permission_role` VALUES (256, 2, 5);
INSERT INTO `permission_role` VALUES (256, 3, 5);
INSERT INTO `permission_role` VALUES (257, 2, 5);
INSERT INTO `permission_role` VALUES (257, 3, 5);
INSERT INTO `permission_role` VALUES (258, 2, 5);
INSERT INTO `permission_role` VALUES (258, 3, 5);
INSERT INTO `permission_role` VALUES (259, 2, 5);
INSERT INTO `permission_role` VALUES (259, 3, 5);
INSERT INTO `permission_role` VALUES (260, 2, 5);
INSERT INTO `permission_role` VALUES (260, 3, 5);
INSERT INTO `permission_role` VALUES (261, 2, 5);
INSERT INTO `permission_role` VALUES (261, 3, 5);
INSERT INTO `permission_role` VALUES (262, 2, 5);
INSERT INTO `permission_role` VALUES (262, 3, 5);
INSERT INTO `permission_role` VALUES (263, 2, 5);
INSERT INTO `permission_role` VALUES (263, 3, 5);
INSERT INTO `permission_role` VALUES (264, 2, 5);
INSERT INTO `permission_role` VALUES (264, 3, 5);
INSERT INTO `permission_role` VALUES (265, 2, 5);
INSERT INTO `permission_role` VALUES (265, 3, 5);
INSERT INTO `permission_role` VALUES (266, 2, 5);
INSERT INTO `permission_role` VALUES (266, 3, 5);
INSERT INTO `permission_role` VALUES (267, 2, 5);
INSERT INTO `permission_role` VALUES (267, 3, 5);
INSERT INTO `permission_role` VALUES (268, 2, 5);
INSERT INTO `permission_role` VALUES (268, 3, 5);
INSERT INTO `permission_role` VALUES (269, 2, 5);
INSERT INTO `permission_role` VALUES (269, 3, 5);
INSERT INTO `permission_role` VALUES (270, 2, 5);
INSERT INTO `permission_role` VALUES (270, 3, 5);
INSERT INTO `permission_role` VALUES (271, 2, 5);
INSERT INTO `permission_role` VALUES (271, 3, 5);
INSERT INTO `permission_role` VALUES (272, 2, 5);
INSERT INTO `permission_role` VALUES (272, 3, 5);
INSERT INTO `permission_role` VALUES (273, 2, 5);
INSERT INTO `permission_role` VALUES (273, 3, 5);
INSERT INTO `permission_role` VALUES (274, 2, 5);
INSERT INTO `permission_role` VALUES (274, 3, 5);
INSERT INTO `permission_role` VALUES (275, 2, 5);
INSERT INTO `permission_role` VALUES (275, 3, 5);
INSERT INTO `permission_role` VALUES (276, 2, 5);
INSERT INTO `permission_role` VALUES (276, 3, 5);
INSERT INTO `permission_role` VALUES (277, 2, 5);
INSERT INTO `permission_role` VALUES (277, 3, 5);
INSERT INTO `permission_role` VALUES (278, 2, 5);
INSERT INTO `permission_role` VALUES (278, 3, 5);
INSERT INTO `permission_role` VALUES (279, 2, 5);
INSERT INTO `permission_role` VALUES (279, 3, 5);
INSERT INTO `permission_role` VALUES (280, 2, 5);
INSERT INTO `permission_role` VALUES (280, 3, 5);
INSERT INTO `permission_role` VALUES (281, 2, 5);
INSERT INTO `permission_role` VALUES (281, 3, 5);
INSERT INTO `permission_role` VALUES (282, 2, 5);
INSERT INTO `permission_role` VALUES (283, 2, 5);
INSERT INTO `permission_role` VALUES (284, 2, 5);
INSERT INTO `permission_role` VALUES (284, 3, 5);
INSERT INTO `permission_role` VALUES (285, 2, 5);
INSERT INTO `permission_role` VALUES (285, 3, 5);
INSERT INTO `permission_role` VALUES (286, 2, 5);
INSERT INTO `permission_role` VALUES (286, 3, 5);
INSERT INTO `permission_role` VALUES (287, 2, 5);
INSERT INTO `permission_role` VALUES (287, 3, 5);
INSERT INTO `permission_role` VALUES (288, 2, 5);
INSERT INTO `permission_role` VALUES (288, 3, 5);
INSERT INTO `permission_role` VALUES (289, 2, 5);
INSERT INTO `permission_role` VALUES (289, 3, 5);
INSERT INTO `permission_role` VALUES (290, 2, 5);
INSERT INTO `permission_role` VALUES (290, 3, 5);
INSERT INTO `permission_role` VALUES (291, 2, 5);
INSERT INTO `permission_role` VALUES (291, 3, 5);
INSERT INTO `permission_role` VALUES (292, 2, 5);
INSERT INTO `permission_role` VALUES (292, 3, 5);
INSERT INTO `permission_role` VALUES (293, 2, 5);
INSERT INTO `permission_role` VALUES (293, 3, 5);
INSERT INTO `permission_role` VALUES (294, 2, 5);
INSERT INTO `permission_role` VALUES (294, 3, 5);
INSERT INTO `permission_role` VALUES (295, 2, 5);
INSERT INTO `permission_role` VALUES (295, 3, 5);
INSERT INTO `permission_role` VALUES (296, 2, 5);
INSERT INTO `permission_role` VALUES (296, 3, 5);

-- ----------------------------
-- Table structure for permission_types
-- ----------------------------
CREATE TABLE `permission_types`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of permission_types
-- ----------------------------
INSERT INTO `permission_types` VALUES (1, 'added', NULL, NULL);
INSERT INTO `permission_types` VALUES (2, 'owned', NULL, NULL);
INSERT INTO `permission_types` VALUES (3, 'both', NULL, NULL);
INSERT INTO `permission_types` VALUES (4, 'all', NULL, NULL);
INSERT INTO `permission_types` VALUES (5, 'none', NULL, NULL);

-- ----------------------------
-- Table structure for permissions
-- ----------------------------
CREATE TABLE `permissions`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `module_id` int UNSIGNED NOT NULL,
  `is_custom` tinyint(1) NOT NULL DEFAULT 0,
  `allowed_permissions` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `permissions_name_module_id_unique`(`name` ASC, `module_id` ASC) USING BTREE,
  INDEX `permissions_module_id_foreign`(`module_id` ASC) USING BTREE,
  CONSTRAINT `permissions_ibfk_1` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 297 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of permissions
-- ----------------------------
INSERT INTO `permissions` VALUES (1, 'add_clients', 'Add Clients', NULL, 1, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (2, 'view_clients', 'View Clients', NULL, 1, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (3, 'edit_clients', 'Edit Clients', NULL, 1, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (4, 'delete_clients', 'Delete Clients', NULL, 1, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (5, 'manage_client_category', 'Manage Client Category', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (6, 'manage_client_subcategory', 'Manage Client Subcategory', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (7, 'add_client_contacts', 'Add Client Contacts', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (8, 'view_client_contacts', 'View Client Contacts', NULL, 1, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (9, 'edit_client_contacts', 'Edit Client Contacts', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (10, 'delete_client_contacts', 'Delete Client Contacts', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (11, 'add_client_note', 'Add Client Note', '', 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (12, 'view_client_note', 'View Client Note', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (13, 'edit_client_note', 'Edit Client Note', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (14, 'delete_client_note', 'Delete Client Note', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (15, 'add_client_document', 'Add Client Document', NULL, 1, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (16, 'view_client_document', 'View Client Document', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (17, 'edit_client_document', 'Edit Client Document', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (18, 'delete_client_document', 'Delete Client Document', NULL, 1, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (19, 'add_employees', 'Add Employees', NULL, 2, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (20, 'view_employees', 'View Employees', NULL, 2, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (21, 'edit_employees', 'Edit Employees', NULL, 2, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (22, 'delete_employees', 'Delete Employees', NULL, 2, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (23, 'add_designation', 'Add Designation', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (24, 'view_designation', 'View Designation', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (25, 'edit_designation', 'Edit Designation', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (26, 'delete_designation', 'Delete Designation', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (27, 'add_department', 'Add Department', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (28, 'view_department', 'View Department', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (29, 'edit_department', 'Edit Department', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (30, 'delete_department', 'Delete Department', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (31, 'add_documents', 'Add Documents', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (32, 'view_documents', 'View Documents', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (33, 'edit_documents', 'Edit Documents', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (34, 'delete_documents', 'Delete Documents', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (35, 'view_leaves_taken', 'View Leaves Taken', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (36, 'update_leaves_quota', 'Update Leaves Quota', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (37, 'view_employee_tasks', 'View Employee Tasks', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (38, 'view_employee_projects', 'View Employee Projects', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (39, 'view_employee_timelogs', 'View Employee Timelogs', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (40, 'change_employee_role', 'Change Employee Role', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (41, 'manage_emergency_contact', 'Manage Emergency Contact', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (42, 'manage_award', 'Manage Award', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (43, 'add_appreciation', 'Add Appreciation', NULL, 2, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (44, 'view_appreciation', 'View Appreciation', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:13', '2023-06-19 19:34:13');
INSERT INTO `permissions` VALUES (45, 'edit_appreciation', 'Edit Appreciation', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (46, 'delete_appreciation', 'Delete Appreciation', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (47, 'add_immigration', 'Add Immigration', NULL, 2, 1, '{\"all\":4, \"owned\":2, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (48, 'view_immigration', 'View Immigration', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (49, 'edit_immigration', 'Edit Immigration', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (50, 'delete_immigration', 'Delete Immigration', NULL, 2, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (51, 'add_projects', 'Add Projects', NULL, 3, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (52, 'view_projects', 'View Projects', NULL, 3, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (53, 'edit_projects', 'Edit Projects', NULL, 3, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (54, 'delete_projects', 'Delete Projects', NULL, 3, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (55, 'manage_project_category', 'Manage Project Category', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (56, 'view_project_files', 'View Project Files', NULL, 3, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (57, 'add_project_files', 'Add Project Files', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (58, 'delete_project_files', 'Delete Project Files', NULL, 3, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (59, 'view_project_discussions', 'View Project Discussions', NULL, 3, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (60, 'add_project_discussions', 'Add Project Discussions', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (61, 'edit_project_discussions', 'Edit Project Discussions', NULL, 3, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (62, 'delete_project_discussions', 'Delete Project Discussions', NULL, 3, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (63, 'manage_discussion_category', 'Manage Discussion Category', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (64, 'view_project_milestones', 'View Project Milestones', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (65, 'add_project_milestones', 'Add Project Milestones', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (66, 'edit_project_milestones', 'Edit Project Milestones', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (67, 'delete_project_milestones', 'Delete Project Milestones', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (68, 'view_project_members', 'View Project Members', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (69, 'add_project_members', 'Add Project Members', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (70, 'edit_project_members', 'Edit Project Members', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (71, 'delete_project_members', 'Delete Project Members', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (72, 'view_project_rating', 'View Project Rating', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (73, 'add_project_rating', 'Add Project Rating', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (74, 'edit_project_rating', 'Edit Project Rating', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (75, 'delete_project_rating', 'Delete Project Rating', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (76, 'view_project_budget', 'View Project Budget', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (77, 'view_project_timelogs', 'View Project Timelogs', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (78, 'view_project_expenses', 'View Project Expenses', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (79, 'view_project_tasks', 'View Project Tasks', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (80, 'view_project_invoices', 'View Project Invoices', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (81, 'view_project_burndown_chart', 'View Project Burndown Chart', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (82, 'view_project_payments', 'View Project Payments', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (83, 'view_project_gantt_chart', 'View Project Gantt Chart', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (84, 'add_project_note', 'Add Project Note', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (85, 'view_project_note', 'View Project Note', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (86, 'edit_project_note', 'Edit Project Note', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (87, 'delete_project_note', 'Delete Project Note', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (88, 'manage_project_template', 'Manage Project Template', NULL, 3, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (89, 'view_project_template', 'View Project Template', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (90, 'view_project_hourly_rates', 'View Project Hourly Rates', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (91, 'create_public_project', 'Create Public Project', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (92, 'view_miroboard', 'View Miroboard', NULL, 3, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (93, 'manage_employee_shifts', 'Manage Employee Shifts', NULL, 4, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (94, 'view_shift_roster', 'View Shift Roster', NULL, 4, 1, '{\"all\":4, \"owned\":2, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (95, 'add_attendance', 'Add Attendance', NULL, 4, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (96, 'view_attendance', 'View Attendance', NULL, 4, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (97, 'edit_attendance', 'Edit Attendance', NULL, 4, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (98, 'delete_attendance', 'Delete Attendance', NULL, 4, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (99, 'add_tasks', 'Add Tasks', NULL, 5, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (100, 'view_tasks', 'View Tasks', NULL, 5, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (101, 'edit_tasks', 'Edit Tasks', NULL, 5, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (102, 'delete_tasks', 'Delete Tasks', NULL, 5, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (103, 'view_task_category', 'View Task Category', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (104, 'add_task_category', 'Add Task Category', NULL, 5, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (105, 'edit_task_category', 'Edit Task Category', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (106, 'delete_task_category', 'Delete Task Category', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (107, 'view_task_files', 'View Task Files', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (108, 'add_task_files', 'Add Task Files', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (109, 'delete_task_files', 'Delete Task Files', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (110, 'view_sub_tasks', 'View Sub Tasks', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (111, 'add_sub_tasks', 'Add Sub Tasks', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (112, 'edit_sub_tasks', 'Edit Sub Tasks', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (113, 'delete_sub_tasks', 'Delete Sub Tasks', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (114, 'view_task_comments', 'View Task Comments', NULL, 5, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (115, 'add_task_comments', 'Add Task Comments', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (116, 'edit_task_comments', 'Edit Task Comments', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (117, 'delete_task_comments', 'Delete Task Comments', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (118, 'view_task_notes', 'View Task Notes', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (119, 'add_task_notes', 'Add Task Notes', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (120, 'edit_task_notes', 'Edit Task Notes', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (121, 'delete_task_notes', 'Delete Task Notes', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (122, 'task_labels', 'Task Labels', NULL, 5, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (123, 'change_status', 'Change Status', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (124, 'send_reminder', 'Send Reminder', NULL, 5, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (125, 'add_status', 'Add Status', NULL, 5, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (126, 'view_unassigned_tasks', 'View Unassigned Tasks', NULL, 5, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:14', '2023-06-19 19:34:14');
INSERT INTO `permissions` VALUES (127, 'create_unassigned_tasks', 'Create Unassigned Tasks', NULL, 5, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (128, 'add_estimates', 'Add Estimates', NULL, 6, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (129, 'view_estimates', 'View Estimates', NULL, 6, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (130, 'edit_estimates', 'Edit Estimates', NULL, 6, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (131, 'delete_estimates', 'Delete Estimates', NULL, 6, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (132, 'add_invoices', 'Add Invoices', NULL, 7, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (133, 'view_invoices', 'View Invoices', NULL, 7, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (134, 'edit_invoices', 'Edit Invoices', NULL, 7, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (135, 'delete_invoices', 'Delete Invoices', NULL, 7, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (136, 'manage_tax', 'Manage Tax', NULL, 7, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (137, 'link_invoice_bank_account', 'Link Invoice Bank Account', NULL, 7, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (138, 'manage_recurring_invoice', 'Manage Recurring Invoice', NULL, 7, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (139, 'add_payments', 'Add Payments', NULL, 8, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (140, 'view_payments', 'View Payments', NULL, 8, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (141, 'edit_payments', 'Edit Payments', NULL, 8, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (142, 'delete_payments', 'Delete Payments', NULL, 8, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (143, 'link_payment_bank_account', 'Link Payment Bank Account', NULL, 8, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (144, 'add_timelogs', 'Add Timelogs', NULL, 9, 0, '{\"all\":4,\"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (145, 'view_timelogs', 'View Timelogs', NULL, 9, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (146, 'edit_timelogs', 'Edit Timelogs', NULL, 9, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (147, 'delete_timelogs', 'Delete Timelogs', NULL, 9, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (148, 'approve_timelogs', 'Approve Timelogs', NULL, 9, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (149, 'manage_active_timelogs', 'Manage Active Timelogs', NULL, 9, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (150, 'view_timelog_earnings', 'View Timelog Earnings', NULL, 9, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (151, 'add_tickets', 'Add Tickets', NULL, 10, 0, '{\"all\":4,\"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (152, 'view_tickets', 'View Tickets', NULL, 10, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (153, 'edit_tickets', 'Edit Tickets', NULL, 10, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (154, 'delete_tickets', 'Delete Tickets', NULL, 10, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (155, 'manage_ticket_type', 'Manage Ticket Type', NULL, 10, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (156, 'manage_ticket_agent', 'Manage Ticket Agent', NULL, 10, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (157, 'manage_ticket_channel', 'Manage Ticket Channel', NULL, 10, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (158, 'manage_ticket_tags', 'Manage Ticket Tags', NULL, 10, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (159, 'manage_ticket_groups', 'Manage Ticket Groups', NULL, 10, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (160, 'add_events', 'Add Events', NULL, 11, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (161, 'view_events', 'View Events', NULL, 11, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (162, 'edit_events', 'Edit Events', NULL, 11, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (163, 'delete_events', 'Delete Events', NULL, 11, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (164, 'add_notice', 'Add Notice', NULL, 12, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (165, 'view_notice', 'View Notice', NULL, 12, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (166, 'edit_notice', 'Edit Notice', NULL, 12, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (167, 'delete_notice', 'Delete Notice', NULL, 12, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (168, 'add_leave', 'Add Leave', NULL, 13, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (169, 'view_leave', 'View Leave', NULL, 13, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (170, 'edit_leave', 'Edit Leave', NULL, 13, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (171, 'delete_leave', 'Delete Leave', NULL, 13, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (172, 'approve_or_reject_leaves', 'Approve Or Reject Leaves', NULL, 13, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (173, 'delete_approve_leaves', 'Delete Approve Leaves', NULL, 13, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (174, 'add_lead', 'Add Lead', NULL, 14, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (175, 'view_lead', 'View Lead', NULL, 14, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (176, 'edit_lead', 'Edit Lead', NULL, 14, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (177, 'delete_lead', 'Delete Lead', NULL, 14, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (178, 'view_lead_agents', 'View Lead Agents', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (179, 'add_lead_agent', 'Add Lead Agent', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (180, 'edit_lead_agent', 'Edit Lead Agent', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (181, 'delete_lead_agent', 'Delete Lead Agent', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (182, 'view_lead_category', 'View Lead Category', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (183, 'add_lead_category', 'Add Lead Category', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (184, 'edit_lead_category', 'Edit Lead Category', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (185, 'delete_lead_category', 'Delete Lead Category', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (186, 'manage_lead_custom_forms', 'Manage Lead Custom Forms', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (187, 'view_lead_files', 'View Lead Files', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (188, 'add_lead_files', 'Add Lead Files', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (189, 'delete_lead_files', 'Delete Lead Files', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (190, 'view_lead_follow_up', 'View Lead Follow Up', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (191, 'add_lead_follow_up', 'Add Lead Follow Up', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (192, 'edit_lead_follow_up', 'Edit Lead Follow Up', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (193, 'delete_lead_follow_up', 'Delete Lead Follow Up', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (194, 'view_lead_sources', 'View Lead Sources', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (195, 'add_lead_sources', 'Add Lead Sources', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (196, 'edit_lead_sources', 'Edit Lead Sources', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (197, 'delete_lead_sources', 'Delete Lead Sources', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (198, 'view_lead_proposals', 'View Lead Proposals', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (199, 'add_lead_proposals', 'Add Lead Proposals', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (200, 'edit_lead_proposals', 'Edit Lead Proposals', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (201, 'delete_lead_proposals', 'Delete Lead Proposals', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (202, 'manage_proposal_template', 'Manage Proposal Template', NULL, 14, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (203, 'change_lead_status', 'Change Lead Status', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (204, 'add_lead_note', 'Add Lead Note', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (205, 'view_lead_note', 'View Lead Note', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (206, 'edit_lead_note', 'Edit Lead Note', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (207, 'delete_lead_note', 'Delete Lead Note', NULL, 14, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (208, 'manage_lead_status', 'Manage Lead Status', NULL, 14, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (209, 'add_holiday', 'Add Holiday', NULL, 15, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (210, 'view_holiday', 'View Holiday', NULL, 15, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (211, 'edit_holiday', 'Edit Holiday', NULL, 15, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (212, 'delete_holiday', 'Delete Holiday', NULL, 15, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (213, 'add_product', 'Add Product', NULL, 16, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (214, 'view_product', 'View Product', NULL, 16, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (215, 'edit_product', 'Edit Product', NULL, 16, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (216, 'delete_product', 'Delete Product', NULL, 16, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (217, 'manage_product_category', 'Manage Product Category', NULL, 16, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (218, 'manage_product_sub_category', 'Manage Product Sub Category', NULL, 16, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (219, 'add_expenses', 'Add Expenses', NULL, 17, 0, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (220, 'view_expenses', 'View Expenses', NULL, 17, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (221, 'edit_expenses', 'Edit Expenses', NULL, 17, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (222, 'delete_expenses', 'Delete Expenses', NULL, 17, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (223, 'manage_expense_category', 'Manage Expense Category', NULL, 17, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (224, 'manage_recurring_expense', 'Manage Recurring Expense', NULL, 17, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (225, 'approve_expenses', 'Approve Expenses', NULL, 17, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (226, 'link_expense_bank_account', 'Link Expense Bank Account', NULL, 17, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (227, 'add_contract', 'Add Contract', NULL, 18, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (228, 'view_contract', 'View Contract', NULL, 18, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (229, 'edit_contract', 'Edit Contract', NULL, 18, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (230, 'delete_contract', 'Delete Contract', NULL, 18, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (231, 'manage_contract_type', 'Manage Contract Type', NULL, 18, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:15', '2023-06-19 19:34:15');
INSERT INTO `permissions` VALUES (232, 'renew_contract', 'Renew Contract', NULL, 18, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (233, 'add_contract_discussion', 'Add Contract Discussion', NULL, 18, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (234, 'edit_contract_discussion', 'Edit Contract Discussion', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (235, 'view_contract_discussion', 'View Contract Discussion', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (236, 'delete_contract_discussion', 'Delete Contract Discussion', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (237, 'add_contract_files', 'Add Contract Files', NULL, 18, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (238, 'view_contract_files', 'View Contract Files', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (239, 'delete_contract_files', 'Delete Contract Files', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (240, 'manage_contract_template', 'Manage Contract Template', NULL, 18, 1, '{\"all\":4, \"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (241, 'view_task_report', 'View Task Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (242, 'view_time_log_report', 'View Time Log Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (243, 'view_finance_report', 'View Finance Report', NULL, 19, 1, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (244, 'view_income_expense_report', 'View Income Vs Expense Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (245, 'view_leave_report', 'View Leave Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (246, 'view_attendance_report', 'View Attendance Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (247, 'view_expense_report', 'View Expense Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (248, 'view_lead_report', 'View Lead Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (249, 'view_sales_report', 'View Sales Report', NULL, 19, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (250, 'manage_company_setting', 'Manage Company Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (251, 'manage_app_setting', 'Manage App Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (252, 'manage_notification_setting', 'Manage Notification Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (253, 'manage_currency_setting', 'Manage Currency Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (254, 'manage_payment_setting', 'Manage Payment Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (255, 'manage_finance_setting', 'Manage Finance Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (256, 'manage_ticket_setting', 'Manage Ticket Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (257, 'manage_project_setting', 'Manage Project Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (258, 'manage_attendance_setting', 'Manage Attendance Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (259, 'manage_leave_setting', 'Manage Leave Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (260, 'manage_custom_field_setting', 'Manage Custom Field Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (261, 'manage_message_setting', 'Manage Message Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (262, 'manage_storage_setting', 'Manage Storage Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (263, 'manage_language_setting', 'Manage Language Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (264, 'manage_lead_setting', 'Manage Lead Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (265, 'manage_time_log_setting', 'Manage Time Log Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (266, 'manage_task_setting', 'Manage Task Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (267, 'manage_social_login_setting', 'Manage Social Login Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (268, 'manage_security_setting', 'Manage Security Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (269, 'manage_gdpr_setting', 'Manage Gdpr Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (270, 'manage_theme_setting', 'Manage Theme Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (271, 'manage_role_permission_setting', 'Manage Role Permission Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (272, 'manage_module_setting', 'Manage Module Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (273, 'manage_google_calendar_setting', 'Manage Google Calendar Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (274, 'manage_contract_setting', 'Manage Contract Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (275, 'manage_custom_link_setting', 'Manage Custom Link Setting', NULL, 20, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (276, 'view_overview_dashboard', 'View Overview Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (277, 'view_project_dashboard', 'View Project Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (278, 'view_client_dashboard', 'View Client Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (279, 'view_hr_dashboard', 'View Hr Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (280, 'view_ticket_dashboard', 'View Ticket Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (281, 'view_finance_dashboard', 'View Finance Dashboard', NULL, 21, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (282, 'add_order', 'Add Order', NULL, 22, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (283, 'view_order', 'View Order', NULL, 22, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (284, 'edit_order', 'Edit Order', NULL, 22, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (285, 'delete_order', 'Delete Order', NULL, 22, 0, '{\"all\":4, \"added\":1, \"owned\":2,\"both\":3, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (286, 'add_knowledgebase', 'Add Knowledgebase', NULL, 23, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (287, 'view_knowledgebase', 'View Knowledgebase', NULL, 23, 0, '{\"all\":4,\"added\":1,\"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (288, 'edit_knowledgebase', 'Edit Knowledgebase', NULL, 23, 0, '{\"all\":4,\"added\":1,\"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (289, 'delete_knowledgebase', 'Delete Knowledgebase', NULL, 23, 0, '{\"all\":4,\"added\":1,\"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (290, 'add_bankaccount', 'Add Bankaccount', NULL, 24, 0, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (291, 'view_bankaccount', 'View Bankaccount', NULL, 24, 0, '{\"all\":4,\"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (292, 'edit_bankaccount', 'Edit Bankaccount', NULL, 24, 0, '{\"all\":4,\"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (293, 'delete_bankaccount', 'Delete Bankaccount', NULL, 24, 0, '{\"all\":4,\"added\":1, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (294, 'add_bank_transfer', 'Add Bank Transfer', NULL, 24, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (295, 'add_bank_deposit', 'Add Bank Deposit', NULL, 24, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `permissions` VALUES (296, 'add_bank_withdraw', 'Add Bank Withdraw', NULL, 24, 1, '{\"all\":4, \"none\":5}', '2023-06-19 19:34:16', '2023-06-19 19:34:16');

-- ----------------------------
-- Table structure for pinned
-- ----------------------------
CREATE TABLE `pinned`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `task_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `pinned_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `pinned_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `pinned_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `pinned_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `pinned_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `pinned_ibfk_2` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `pinned_ibfk_3` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `pinned_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of pinned
-- ----------------------------

-- ----------------------------
-- Table structure for product_category
-- ----------------------------
CREATE TABLE `product_category`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `category_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `product_category_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `product_category_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_category
-- ----------------------------

-- ----------------------------
-- Table structure for product_files
-- ----------------------------
CREATE TABLE `product_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `filename` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hashname` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `product_files_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `product_files_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `product_files_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `product_files_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `product_files_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `product_files_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `product_files_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `product_files_ibfk_4` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_files
-- ----------------------------

-- ----------------------------
-- Table structure for product_sub_category
-- ----------------------------
CREATE TABLE `product_sub_category`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `category_id` bigint UNSIGNED NOT NULL,
  `category_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `product_sub_category_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `product_sub_category_category_id_foreign`(`category_id` ASC) USING BTREE,
  CONSTRAINT `product_sub_category_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `product_category` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `product_sub_category_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_sub_category
-- ----------------------------

-- ----------------------------
-- Table structure for products
-- ----------------------------
CREATE TABLE `products`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `price` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `taxes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `allow_purchase` tinyint(1) NOT NULL DEFAULT 0,
  `downloadable` tinyint(1) NOT NULL DEFAULT 0,
  `downloadable_file` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `category_id` bigint UNSIGNED NULL DEFAULT NULL,
  `sub_category_id` bigint UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `default_image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unit_id` bigint UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `products_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `products_category_id_foreign`(`category_id` ASC) USING BTREE,
  INDEX `products_sub_category_id_foreign`(`sub_category_id` ASC) USING BTREE,
  INDEX `products_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `products_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `products_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  CONSTRAINT `products_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `products_ibfk_2` FOREIGN KEY (`category_id`) REFERENCES `product_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `products_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `products_ibfk_4` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `products_ibfk_5` FOREIGN KEY (`sub_category_id`) REFERENCES `product_sub_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `products_ibfk_6` FOREIGN KEY (`unit_id`) REFERENCES `unit_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of products
-- ----------------------------

-- ----------------------------
-- Table structure for project_activity
-- ----------------------------
CREATE TABLE `project_activity`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_id` int UNSIGNED NOT NULL,
  `activity` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_activity_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_activity_created_at_index`(`created_at` ASC) USING BTREE,
  CONSTRAINT `project_activity_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_activity
-- ----------------------------
INSERT INTO `project_activity` VALUES (1, 1, 'Technician is added as project member.', '2023-06-23 07:40:09', '2023-06-23 07:40:09');
INSERT INTO `project_activity` VALUES (2, 1, 'Admin is added as project member.', '2023-06-23 07:40:22', '2023-06-23 07:40:22');
INSERT INTO `project_activity` VALUES (3, 1, 'messages.addedAsNewProject', '2023-06-23 07:40:24', '2023-06-23 07:40:24');
INSERT INTO `project_activity` VALUES (4, 1, 'messages.newTaskAddedToTheProject', '2023-06-23 07:41:57', '2023-06-23 07:41:57');
INSERT INTO `project_activity` VALUES (5, 1, 'modules.tasks.timerStoppedBy', '2023-06-23 07:45:05', '2023-06-23 07:45:05');
INSERT INTO `project_activity` VALUES (6, 1, 'modules.tasks.timerStartedBy', '2023-06-23 07:45:44', '2023-06-23 07:45:44');
INSERT INTO `project_activity` VALUES (7, 1, 'modules.tasks.timerStoppedBy', '2023-06-23 07:46:38', '2023-06-23 07:46:38');
INSERT INTO `project_activity` VALUES (8, 1, 'modules.tasks.timerStoppedBy', '2023-06-23 11:50:00', '2023-06-23 11:50:00');
INSERT INTO `project_activity` VALUES (9, 1, 'modules.tasks.timerStoppedBy', '2023-06-23 11:58:32', '2023-06-23 11:58:32');
INSERT INTO `project_activity` VALUES (10, 1, 'modules.tasks.timerStoppedBy', '2023-06-23 19:02:35', '2023-06-23 19:02:35');
INSERT INTO `project_activity` VALUES (11, 1, 'modules.tasks.timerStoppedBy', '2023-06-24 05:07:24', '2023-06-24 05:07:24');
INSERT INTO `project_activity` VALUES (12, 1, 'modules.tasks.timerPausedBy', '2023-06-24 05:47:31', '2023-06-24 05:47:31');
INSERT INTO `project_activity` VALUES (13, 1, 'modules.tasks.timerStoppedBy', '2023-06-24 05:47:36', '2023-06-24 05:47:36');
INSERT INTO `project_activity` VALUES (14, 1, 'modules.tasks.timerStartedBy', '2023-06-28 15:53:55', '2023-06-28 15:53:55');
INSERT INTO `project_activity` VALUES (15, 1, 'modules.tasks.timerStoppedBy', '2023-06-28 15:53:59', '2023-06-28 15:53:59');
INSERT INTO `project_activity` VALUES (16, 1, 'modules.tasks.timerStartedBy', '2023-06-28 15:57:44', '2023-06-28 15:57:44');
INSERT INTO `project_activity` VALUES (17, 1, 'modules.tasks.timerStoppedBy', '2023-06-28 15:58:17', '2023-06-28 15:58:17');
INSERT INTO `project_activity` VALUES (18, 1, 'modules.tasks.timerStoppedBy', '2023-06-28 15:58:33', '2023-06-28 15:58:33');
INSERT INTO `project_activity` VALUES (19, 1, 'modules.tasks.timerStartedBy', '2023-06-28 15:59:11', '2023-06-28 15:59:11');
INSERT INTO `project_activity` VALUES (20, 1, 'modules.tasks.timerStoppedBy', '2023-06-28 15:59:20', '2023-06-28 15:59:20');
INSERT INTO `project_activity` VALUES (21, 1, 'modules.tasks.timerStartedBy', '2023-06-28 16:28:00', '2023-06-28 16:28:00');
INSERT INTO `project_activity` VALUES (22, 1, 'modules.tasks.timerStoppedBy', '2023-06-28 17:09:49', '2023-06-28 17:09:49');
INSERT INTO `project_activity` VALUES (23, 1, 'modules.tasks.timerStartedBy', '2023-06-29 05:42:40', '2023-06-29 05:42:40');

-- ----------------------------
-- Table structure for project_category
-- ----------------------------
CREATE TABLE `project_category`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `category_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_category_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `project_category_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_category_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_category_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_category_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_category_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_category
-- ----------------------------
INSERT INTO `project_category` VALUES (1, 1, 'IT', 1, 1, '2023-06-23 07:38:54', '2023-06-23 07:38:54');

-- ----------------------------
-- Table structure for project_files
-- ----------------------------
CREATE TABLE `project_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `project_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `google_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `dropbox_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_files_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `project_files_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_files_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_files_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_files_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_files_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_files_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_files_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_files_ibfk_4` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_files_ibfk_5` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_files
-- ----------------------------

-- ----------------------------
-- Table structure for project_members
-- ----------------------------
CREATE TABLE `project_members`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `project_id` int UNSIGNED NOT NULL,
  `hourly_rate` double NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_members_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_members_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_members_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_members_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_members_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_members_ibfk_2` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_members_ibfk_3` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_members_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_members
-- ----------------------------
INSERT INTO `project_members` VALUES (1, 8, 1, 0, 1, 1, NULL, NULL);
INSERT INTO `project_members` VALUES (2, 2, 1, 0, 1, 1, NULL, NULL);

-- ----------------------------
-- Table structure for project_milestones
-- ----------------------------
CREATE TABLE `project_milestones`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `milestone_title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `summary` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `cost` double(16, 2) NOT NULL,
  `status` enum('complete','incomplete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'incomplete',
  `invoice_created` tinyint(1) NOT NULL,
  `invoice_id` int NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `start_date` date NULL DEFAULT NULL,
  `end_date` date NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_milestones_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_milestones_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `project_milestones_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_milestones_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_milestones_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_milestones_ibfk_2` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_milestones_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_milestones_ibfk_4` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_milestones
-- ----------------------------

-- ----------------------------
-- Table structure for project_notes
-- ----------------------------
CREATE TABLE `project_notes`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` tinyint(1) NOT NULL DEFAULT 0,
  `client_id` int UNSIGNED NULL DEFAULT NULL,
  `is_client_show` tinyint(1) NOT NULL DEFAULT 0,
  `ask_password` tinyint(1) NOT NULL DEFAULT 0,
  `details` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_notes_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_notes_client_id_foreign`(`client_id` ASC) USING BTREE,
  INDEX `project_notes_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_notes_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_notes_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_notes_ibfk_2` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_notes_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_notes_ibfk_4` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_notes
-- ----------------------------

-- ----------------------------
-- Table structure for project_ratings
-- ----------------------------
CREATE TABLE `project_ratings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_id` int UNSIGNED NOT NULL,
  `rating` double NOT NULL DEFAULT 0,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `user_id` int UNSIGNED NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_ratings_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_ratings_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_ratings_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_ratings_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_ratings_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_ratings_ibfk_2` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_ratings_ibfk_3` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_ratings_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_ratings
-- ----------------------------

-- ----------------------------
-- Table structure for project_settings
-- ----------------------------
CREATE TABLE `project_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `send_reminder` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remind_time` int NOT NULL,
  `remind_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `remind_to` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[\"admins\",\"members\"]',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `project_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_settings
-- ----------------------------
INSERT INTO `project_settings` VALUES (1, 1, 'no', 5, 'days', '[\"admins\",\"members\"]', '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for project_status_settings
-- ----------------------------
CREATE TABLE `project_status_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `status_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `default_status` enum('1','0') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_status_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `project_status_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_status_settings
-- ----------------------------
INSERT INTO `project_status_settings` VALUES (1, 1, 'in progress', '#00b5ff', 'active', '1', NULL, NULL);
INSERT INTO `project_status_settings` VALUES (2, 1, 'not started', '#616e80', 'active', '0', NULL, NULL);
INSERT INTO `project_status_settings` VALUES (3, 1, 'on hold', '#f5c308', 'active', '0', NULL, NULL);
INSERT INTO `project_status_settings` VALUES (4, 1, 'canceled', '#d21010', 'active', '0', NULL, NULL);
INSERT INTO `project_status_settings` VALUES (5, 1, 'finished', '#679c0d', 'active', '0', NULL, NULL);

-- ----------------------------
-- Table structure for project_template_members
-- ----------------------------
CREATE TABLE `project_template_members`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `project_template_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_template_members_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_template_members_project_template_id_foreign`(`project_template_id` ASC) USING BTREE,
  CONSTRAINT `project_template_members_ibfk_1` FOREIGN KEY (`project_template_id`) REFERENCES `project_templates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_template_members_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_template_members
-- ----------------------------

-- ----------------------------
-- Table structure for project_template_sub_tasks
-- ----------------------------
CREATE TABLE `project_template_sub_tasks`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_template_task_id` int UNSIGNED NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` datetime NULL DEFAULT NULL,
  `due_date` datetime NULL DEFAULT NULL,
  `status` enum('incomplete','complete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'incomplete',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_template_sub_tasks_project_template_task_id_foreign`(`project_template_task_id` ASC) USING BTREE,
  CONSTRAINT `project_template_sub_tasks_ibfk_1` FOREIGN KEY (`project_template_task_id`) REFERENCES `project_template_tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_template_sub_tasks
-- ----------------------------

-- ----------------------------
-- Table structure for project_template_task_users
-- ----------------------------
CREATE TABLE `project_template_task_users`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `project_template_task_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_template_task_users_project_template_task_id_foreign`(`project_template_task_id` ASC) USING BTREE,
  INDEX `project_template_task_users_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `project_template_task_users_ibfk_1` FOREIGN KEY (`project_template_task_id`) REFERENCES `project_template_tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_template_task_users_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_template_task_users
-- ----------------------------

-- ----------------------------
-- Table structure for project_template_tasks
-- ----------------------------
CREATE TABLE `project_template_tasks`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `heading` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `project_template_id` int UNSIGNED NOT NULL,
  `priority` enum('low','medium','high') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `project_template_task_category_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_template_tasks_project_template_id_foreign`(`project_template_id` ASC) USING BTREE,
  INDEX `project_template_tasks_project_template_task_category_id_foreign`(`project_template_task_category_id` ASC) USING BTREE,
  CONSTRAINT `project_template_tasks_ibfk_1` FOREIGN KEY (`project_template_id`) REFERENCES `project_templates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_template_tasks_ibfk_2` FOREIGN KEY (`project_template_task_category_id`) REFERENCES `task_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_template_tasks
-- ----------------------------

-- ----------------------------
-- Table structure for project_templates
-- ----------------------------
CREATE TABLE `project_templates`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_id` int UNSIGNED NULL DEFAULT NULL,
  `client_id` int UNSIGNED NULL DEFAULT NULL,
  `project_summary` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `notes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `feedback` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `client_view_task` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `allow_client_notification` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `manual_timelog` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `added_by` int NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_templates_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `project_templates_category_id_foreign`(`category_id` ASC) USING BTREE,
  INDEX `project_templates_client_id_foreign`(`client_id` ASC) USING BTREE,
  CONSTRAINT `project_templates_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `project_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_templates_ibfk_2` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_templates_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_templates
-- ----------------------------

-- ----------------------------
-- Table structure for project_time_log_breaks
-- ----------------------------
CREATE TABLE `project_time_log_breaks`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_time_log_id` int UNSIGNED NULL DEFAULT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NULL DEFAULT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_hours` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `total_minutes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_time_log_breaks_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `project_time_log_breaks_project_time_log_id_foreign`(`project_time_log_id` ASC) USING BTREE,
  INDEX `project_time_log_breaks_start_time_index`(`start_time` ASC) USING BTREE,
  INDEX `project_time_log_breaks_end_time_index`(`end_time` ASC) USING BTREE,
  INDEX `project_time_log_breaks_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_time_log_breaks_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_time_log_breaks_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_log_breaks_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_time_log_breaks_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_log_breaks_ibfk_4` FOREIGN KEY (`project_time_log_id`) REFERENCES `project_time_logs` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_time_log_breaks
-- ----------------------------
INSERT INTO `project_time_log_breaks` VALUES (1, 1, 7, '2023-06-24 05:47:31', '2023-06-24 05:47:36', '', NULL, '0', 2, 2, '2023-06-24 05:47:31', '2023-06-24 05:47:36');

-- ----------------------------
-- Table structure for project_time_logs
-- ----------------------------
CREATE TABLE `project_time_logs`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `task_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NULL DEFAULT NULL,
  `memo` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_hours` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `total_minutes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `edited_by_user` int UNSIGNED NULL DEFAULT NULL,
  `hourly_rate` int NOT NULL,
  `earnings` int NOT NULL,
  `approved` tinyint(1) NOT NULL DEFAULT 1,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `invoice_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `total_break_minutes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_time_logs_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `project_time_logs_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `project_time_logs_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `project_time_logs_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_time_logs_start_time_index`(`start_time` ASC) USING BTREE,
  INDEX `project_time_logs_end_time_index`(`end_time` ASC) USING BTREE,
  INDEX `project_time_logs_edited_by_user_foreign`(`edited_by_user` ASC) USING BTREE,
  INDEX `project_time_logs_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `project_time_logs_invoice_id_foreign`(`invoice_id` ASC) USING BTREE,
  INDEX `project_time_logs_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `project_time_logs_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `project_time_logs_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_2` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_4` FOREIGN KEY (`edited_by_user`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_5` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_6` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_7` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_8` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_time_logs_ibfk_9` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_time_logs
-- ----------------------------
INSERT INTO `project_time_logs` VALUES (1, 1, 1, 1, 8, '2023-06-23 07:44:49', '2023-06-23 07:45:05', 'Task#1', '0', '0', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-23 07:44:49', '2023-06-23 07:45:05');
INSERT INTO `project_time_logs` VALUES (2, 1, 1, 1, 8, '2023-06-23 07:45:44', '2023-06-23 07:46:38', 'ENS work', '0', '0', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-23 07:45:44', '2023-06-23 07:46:38');
INSERT INTO `project_time_logs` VALUES (3, 1, 1, 1, 2, '2023-06-23 11:49:43', '2023-06-23 11:50:00', 'Job#1', '0', '0', 2, 0, 0, 1, NULL, NULL, 2, 2, NULL, '2023-06-23 11:49:43', '2023-06-23 11:50:00');
INSERT INTO `project_time_logs` VALUES (4, 1, 1, 1, 2, '2023-06-23 11:58:26', '2023-06-23 11:58:32', 'Job#1', '0', '0', 2, 0, 0, 1, NULL, NULL, 2, 2, NULL, '2023-06-23 11:58:26', '2023-06-23 11:58:32');
INSERT INTO `project_time_logs` VALUES (5, 1, 1, 1, 2, '2023-06-23 19:02:29', '2023-06-23 19:02:35', 'Job#1', '0', '0', 2, 0, 0, 1, NULL, NULL, 2, 2, NULL, '2023-06-23 19:02:29', '2023-06-23 19:02:35');
INSERT INTO `project_time_logs` VALUES (6, 1, 1, 1, 2, '2023-06-24 05:07:20', '2023-06-24 05:07:24', 'Job#1', '0', '0', 2, 0, 0, 1, NULL, NULL, 2, 2, NULL, '2023-06-24 05:07:20', '2023-06-24 05:07:24');
INSERT INTO `project_time_logs` VALUES (7, 1, 1, 1, 2, '2023-06-24 05:47:27', '2023-06-24 05:47:36', 'Job#1', '0', '0', 2, 0, 0, 1, NULL, NULL, 2, 2, NULL, '2023-06-24 05:47:27', '2023-06-24 05:47:36');
INSERT INTO `project_time_logs` VALUES (8, 1, 1, 1, 8, '2023-06-28 15:53:55', '2023-06-28 15:53:59', 'JOB CODE-#1008', '0', '0', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-28 15:53:55', '2023-06-28 15:53:59');
INSERT INTO `project_time_logs` VALUES (9, 1, 1, 1, 8, '2023-06-28 15:57:44', '2023-06-28 15:58:33', 'JOB CODE-#1008', '0', '0', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-28 15:57:44', '2023-06-28 15:58:33');
INSERT INTO `project_time_logs` VALUES (10, 1, 1, 1, 8, '2023-06-28 15:59:11', '2023-06-28 15:59:20', 'JOB CODE-#1008', '0', '0', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-28 15:59:11', '2023-06-28 15:59:20');
INSERT INTO `project_time_logs` VALUES (11, 1, 1, 1, 8, '2023-06-28 16:28:00', '2023-06-28 17:09:49', 'JOB CODE-#1008', '0', '41', 8, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-28 16:28:00', '2023-06-28 17:09:49');
INSERT INTO `project_time_logs` VALUES (12, 1, 1, 1, 8, '2023-06-29 05:42:40', NULL, 'JOB CODE-#1008', NULL, NULL, NULL, 0, 0, 1, NULL, NULL, 8, 8, NULL, '2023-06-29 05:42:40', '2023-06-29 05:42:40');

-- ----------------------------
-- Table structure for project_user_notes
-- ----------------------------
CREATE TABLE `project_user_notes`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `project_note_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `project_user_notes_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `project_user_notes_project_note_id_foreign`(`project_note_id` ASC) USING BTREE,
  CONSTRAINT `project_user_notes_ibfk_1` FOREIGN KEY (`project_note_id`) REFERENCES `project_notes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `project_user_notes_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_user_notes
-- ----------------------------

-- ----------------------------
-- Table structure for projects
-- ----------------------------
CREATE TABLE `projects`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_short_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `project_summary` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `project_admin` int UNSIGNED NULL DEFAULT NULL,
  `start_date` date NOT NULL,
  `deadline` date NULL DEFAULT NULL,
  `notes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `category_id` int UNSIGNED NULL DEFAULT NULL,
  `client_id` int UNSIGNED NULL DEFAULT NULL,
  `team_id` int UNSIGNED NULL DEFAULT NULL,
  `feedback` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `manual_timelog` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `client_view_task` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `allow_client_notification` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `completion_percent` tinyint NOT NULL,
  `calculate_task_progress` enum('true','false') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'true',
  `project_budget` double(20, 2) NULL DEFAULT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `hours_allocated` double(8, 2) NULL DEFAULT NULL,
  `status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'in progress',
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `hash` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `public` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `enable_miroboard` tinyint(1) NOT NULL DEFAULT 0,
  `miro_board_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `client_access` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `projects_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `projects_project_admin_foreign`(`project_admin` ASC) USING BTREE,
  INDEX `projects_category_id_foreign`(`category_id` ASC) USING BTREE,
  INDEX `projects_client_id_foreign`(`client_id` ASC) USING BTREE,
  INDEX `projects_team_id_foreign`(`team_id` ASC) USING BTREE,
  INDEX `projects_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `projects_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `projects_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `projects_deleted_at_index`(`deleted_at` ASC) USING BTREE,
  CONSTRAINT `projects_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_2` FOREIGN KEY (`category_id`) REFERENCES `project_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_3` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_4` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_5` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_6` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_7` FOREIGN KEY (`project_admin`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `projects_ibfk_8` FOREIGN KEY (`team_id`) REFERENCES `teams` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of projects
-- ----------------------------
INSERT INTO `projects` VALUES (1, 1, 'ENS Project', 'ens', '', NULL, '2023-06-15', '2023-06-30', '', 1, 10, 1, NULL, 'disable', 'disable', 'disable', 0, 'true', NULL, 1, NULL, 'in progress', 1, 1, 'c278ced5c291302adc2c77a950488e9b', 0, '2023-06-23 07:40:09', '2023-06-23 07:40:09', NULL, 0, NULL, 0);

-- ----------------------------
-- Table structure for proposal_item_images
-- ----------------------------
CREATE TABLE `proposal_item_images`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `proposal_item_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_item_images_proposal_item_id_foreign`(`proposal_item_id` ASC) USING BTREE,
  CONSTRAINT `proposal_item_images_ibfk_1` FOREIGN KEY (`proposal_item_id`) REFERENCES `proposal_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_item_images
-- ----------------------------

-- ----------------------------
-- Table structure for proposal_items
-- ----------------------------
CREATE TABLE `proposal_items`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `proposal_id` int UNSIGNED NOT NULL,
  `item_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('item','discount','tax') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'item',
  `quantity` double(16, 2) NOT NULL,
  `unit_price` double(16, 2) NOT NULL,
  `amount` double(16, 2) NOT NULL,
  `item_summary` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `taxes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unit_id` bigint UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_items_proposal_id_foreign`(`proposal_id` ASC) USING BTREE,
  INDEX `proposal_items_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `proposal_items_product_id_foreign`(`product_id` ASC) USING BTREE,
  CONSTRAINT `proposal_items_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `proposal_items_ibfk_2` FOREIGN KEY (`proposal_id`) REFERENCES `proposals` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_items_ibfk_3` FOREIGN KEY (`unit_id`) REFERENCES `unit_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_items
-- ----------------------------

-- ----------------------------
-- Table structure for proposal_signs
-- ----------------------------
CREATE TABLE `proposal_signs`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `proposal_id` int UNSIGNED NOT NULL,
  `full_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `signature` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_signs_proposal_id_foreign`(`proposal_id` ASC) USING BTREE,
  CONSTRAINT `proposal_signs_ibfk_1` FOREIGN KEY (`proposal_id`) REFERENCES `proposals` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_signs
-- ----------------------------

-- ----------------------------
-- Table structure for proposal_template_item_images
-- ----------------------------
CREATE TABLE `proposal_template_item_images`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `proposal_template_item_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_template_item_images_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `proposal_template_item_images_proposal_template_item_id_foreign`(`proposal_template_item_id` ASC) USING BTREE,
  CONSTRAINT `proposal_template_item_images_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_template_item_images_ibfk_2` FOREIGN KEY (`proposal_template_item_id`) REFERENCES `proposal_template_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_template_item_images
-- ----------------------------

-- ----------------------------
-- Table structure for proposal_template_items
-- ----------------------------
CREATE TABLE `proposal_template_items`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `proposal_template_id` bigint UNSIGNED NOT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `item_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('item','discount','tax') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'item',
  `quantity` tinyint NOT NULL,
  `unit_price` double NOT NULL,
  `amount` double NOT NULL,
  `item_summary` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `taxes` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `unit_id` bigint UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_template_items_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `proposal_template_items_proposal_template_id_foreign`(`proposal_template_id` ASC) USING BTREE,
  INDEX `proposal_template_items_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `proposal_template_items_product_id_foreign`(`product_id` ASC) USING BTREE,
  CONSTRAINT `proposal_template_items_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_template_items_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `proposal_template_items_ibfk_3` FOREIGN KEY (`proposal_template_id`) REFERENCES `proposal_templates` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_template_items_ibfk_4` FOREIGN KEY (`unit_id`) REFERENCES `unit_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_template_items
-- ----------------------------

-- ----------------------------
-- Table structure for proposal_templates
-- ----------------------------
CREATE TABLE `proposal_templates`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sub_total` double NOT NULL,
  `total` double NOT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `discount_type` enum('percent','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `discount` double NOT NULL,
  `invoice_convert` tinyint(1) NOT NULL DEFAULT 0,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `client_comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `signature_approval` tinyint(1) NOT NULL DEFAULT 1,
  `hash` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposal_templates_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `proposal_templates_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `proposal_templates_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `proposal_templates_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  CONSTRAINT `proposal_templates_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `proposal_templates_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_templates_ibfk_3` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposal_templates_ibfk_4` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposal_templates
-- ----------------------------

-- ----------------------------
-- Table structure for proposals
-- ----------------------------
CREATE TABLE `proposals`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `lead_id` int UNSIGNED NOT NULL,
  `valid_till` date NOT NULL,
  `sub_total` double(16, 2) NOT NULL,
  `total` double(16, 2) NOT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `discount_type` enum('percent','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `discount` double NOT NULL,
  `invoice_convert` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('declined','accepted','waiting') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'waiting',
  `note` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `client_comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `signature_approval` tinyint(1) NOT NULL DEFAULT 1,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `hash` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `calculate_tax` enum('after_discount','before_discount') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'after_discount',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `last_viewed` timestamp NULL DEFAULT NULL,
  `ip_address` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `send_status` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `proposals_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `proposals_lead_id_foreign`(`lead_id` ASC) USING BTREE,
  INDEX `proposals_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `proposals_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `proposals_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `proposals_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `proposals_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposals_ibfk_3` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `proposals_ibfk_4` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `proposals_ibfk_5` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of proposals
-- ----------------------------

-- ----------------------------
-- Table structure for purpose_consent
-- ----------------------------
CREATE TABLE `purpose_consent`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of purpose_consent
-- ----------------------------

-- ----------------------------
-- Table structure for purpose_consent_leads
-- ----------------------------
CREATE TABLE `purpose_consent_leads`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `lead_id` int UNSIGNED NOT NULL,
  `purpose_consent_id` int UNSIGNED NOT NULL,
  `status` enum('agree','disagree') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'agree',
  `ip` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_by_id` int UNSIGNED NULL DEFAULT NULL,
  `additional_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `purpose_consent_leads_lead_id_foreign`(`lead_id` ASC) USING BTREE,
  INDEX `purpose_consent_leads_purpose_consent_id_foreign`(`purpose_consent_id` ASC) USING BTREE,
  INDEX `purpose_consent_leads_updated_by_id_foreign`(`updated_by_id` ASC) USING BTREE,
  CONSTRAINT `purpose_consent_leads_ibfk_1` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purpose_consent_leads_ibfk_2` FOREIGN KEY (`purpose_consent_id`) REFERENCES `purpose_consent` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purpose_consent_leads_ibfk_3` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of purpose_consent_leads
-- ----------------------------

-- ----------------------------
-- Table structure for purpose_consent_users
-- ----------------------------
CREATE TABLE `purpose_consent_users`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `client_id` int UNSIGNED NOT NULL,
  `purpose_consent_id` int UNSIGNED NOT NULL,
  `status` enum('agree','disagree') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'agree',
  `ip` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_by_id` int UNSIGNED NOT NULL,
  `additional_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `purpose_consent_users_client_id_foreign`(`client_id` ASC) USING BTREE,
  INDEX `purpose_consent_users_purpose_consent_id_foreign`(`purpose_consent_id` ASC) USING BTREE,
  INDEX `purpose_consent_users_updated_by_id_foreign`(`updated_by_id` ASC) USING BTREE,
  CONSTRAINT `purpose_consent_users_ibfk_1` FOREIGN KEY (`client_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purpose_consent_users_ibfk_2` FOREIGN KEY (`purpose_consent_id`) REFERENCES `purpose_consent` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `purpose_consent_users_ibfk_3` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of purpose_consent_users
-- ----------------------------

-- ----------------------------
-- Table structure for push_notification_settings
-- ----------------------------
CREATE TABLE `push_notification_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `onesignal_app_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `onesignal_rest_api_key` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `notification_logo` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of push_notification_settings
-- ----------------------------
INSERT INTO `push_notification_settings` VALUES (1, NULL, NULL, NULL, 'inactive', '2023-06-19 19:34:13', '2023-06-19 19:34:13');

-- ----------------------------
-- Table structure for push_subscriptions
-- ----------------------------
CREATE TABLE `push_subscriptions`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `endpoint` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `public_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `auth_token` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `push_subscriptions_endpoint_company_id_unique`(`endpoint` ASC, `company_id` ASC) USING BTREE,
  INDEX `push_subscriptions_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `push_subscriptions_user_id_index`(`user_id` ASC) USING BTREE,
  CONSTRAINT `push_subscriptions_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `push_subscriptions_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of push_subscriptions
-- ----------------------------

-- ----------------------------
-- Table structure for pusher_settings
-- ----------------------------
CREATE TABLE `pusher_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `pusher_app_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `pusher_app_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `pusher_app_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `pusher_cluster` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `force_tls` tinyint(1) NOT NULL,
  `status` tinyint(1) NOT NULL,
  `taskboard` tinyint(1) NOT NULL DEFAULT 1,
  `messages` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of pusher_settings
-- ----------------------------
INSERT INTO `pusher_settings` VALUES (1, NULL, NULL, NULL, NULL, 0, 0, 1, 0, '2023-06-19 19:34:13', '2023-06-19 19:34:13');

-- ----------------------------
-- Table structure for quick_books_settings
-- ----------------------------
CREATE TABLE `quick_books_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `sandbox_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sandbox_client_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `client_secret` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `access_token` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `refresh_token` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `realmid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sync_type` enum('one_way','two_way') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'one_way',
  `environment` enum('Development','Production') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Production',
  `status` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `quick_books_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `quick_books_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of quick_books_settings
-- ----------------------------
INSERT INTO `quick_books_settings` VALUES (1, 1, '', '', '', '', '', '', '', 'one_way', 'Production', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for quotation_items
-- ----------------------------
CREATE TABLE `quotation_items`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `quotation_id` int UNSIGNED NOT NULL,
  `item_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` int NOT NULL,
  `unit_price` int NOT NULL,
  `amount` double(8, 2) NOT NULL,
  `hsn_sac_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `quotation_items_quotation_id_foreign`(`quotation_id` ASC) USING BTREE,
  CONSTRAINT `quotation_items_ibfk_1` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of quotation_items
-- ----------------------------

-- ----------------------------
-- Table structure for quotations
-- ----------------------------
CREATE TABLE `quotations`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `business_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `client_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `client_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `sub_total` double(8, 2) NOT NULL,
  `total` double(8, 2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `quotations_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `quotations_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of quotations
-- ----------------------------

-- ----------------------------
-- Table structure for removal_requests
-- ----------------------------
CREATE TABLE `removal_requests`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `status` enum('pending','approved','rejected') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `removal_requests_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `removal_requests_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `removal_requests_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `removal_requests_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of removal_requests
-- ----------------------------

-- ----------------------------
-- Table structure for removal_requests_lead
-- ----------------------------
CREATE TABLE `removal_requests_lead`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `lead_id` int UNSIGNED NULL DEFAULT NULL,
  `status` enum('pending','approved','rejected') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `removal_requests_lead_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `removal_requests_lead_lead_id_foreign`(`lead_id` ASC) USING BTREE,
  CONSTRAINT `removal_requests_lead_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `removal_requests_lead_ibfk_2` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of removal_requests_lead
-- ----------------------------

-- ----------------------------
-- Table structure for role_user
-- ----------------------------
CREATE TABLE `role_user`  (
  `user_id` int UNSIGNED NOT NULL,
  `role_id` int UNSIGNED NOT NULL,
  PRIMARY KEY (`user_id`, `role_id`) USING BTREE,
  INDEX `role_user_role_id_foreign`(`role_id` ASC) USING BTREE,
  CONSTRAINT `role_user_ibfk_1` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `role_user_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of role_user
-- ----------------------------
INSERT INTO `role_user` VALUES (1, 1);
INSERT INTO `role_user` VALUES (4, 2);
INSERT INTO `role_user` VALUES (8, 2);
INSERT INTO `role_user` VALUES (10, 3);
INSERT INTO `role_user` VALUES (11, 3);
INSERT INTO `role_user` VALUES (3, 4);
INSERT INTO `role_user` VALUES (2, 5);
INSERT INTO `role_user` VALUES (9, 6);

-- ----------------------------
-- Table structure for roles
-- ----------------------------
CREATE TABLE `roles`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `roles_name_company_id_unique`(`name` ASC, `company_id` ASC) USING BTREE,
  INDEX `roles_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `roles_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of roles
-- ----------------------------
INSERT INTO `roles` VALUES (1, 1, 'developer', 'Developer', 'Admin is allowed to manage everything of the app.', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `roles` VALUES (2, 1, 'employee', 'Technician', 'Employee can see tasks and projects assigned to him.', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `roles` VALUES (3, 1, 'client', 'Client', 'Client can see own tasks and projects.', '2023-06-19 19:34:16', '2023-06-19 19:34:16');
INSERT INTO `roles` VALUES (4, 1, 'manager', 'Branch Manager', NULL, NULL, NULL);
INSERT INTO `roles` VALUES (5, 1, 'admin', 'Super Admin', NULL, NULL, NULL);
INSERT INTO `roles` VALUES (6, 1, 'receptionist', 'Receptionist', NULL, NULL, NULL);

-- ----------------------------
-- Table structure for sessions
-- ----------------------------
CREATE TABLE `sessions`  (
  `id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED NULL DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `payload` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `sessions_user_id_index`(`user_id` ASC) USING BTREE,
  INDEX `sessions_last_activity_index`(`last_activity` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sessions
-- ----------------------------

-- ----------------------------
-- Table structure for skills
-- ----------------------------
CREATE TABLE `skills`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `skills_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `skills_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of skills
-- ----------------------------

-- ----------------------------
-- Table structure for slack_settings
-- ----------------------------
CREATE TABLE `slack_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `slack_webhook` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `slack_logo` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `slack_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `slack_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of slack_settings
-- ----------------------------
INSERT INTO `slack_settings` VALUES (1, 1, NULL, NULL, 'inactive', '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for smtp_settings
-- ----------------------------
CREATE TABLE `smtp_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `mail_driver` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'smtp',
  `mail_host` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'smtp.gmail.com',
  `mail_port` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '587',
  `mail_username` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'youremail@gmail.com',
  `mail_password` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'your password',
  `mail_from_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'your name',
  `mail_from_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'from@email.com',
  `mail_encryption` enum('ssl','tls','starttls') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'tls',
  `verified` tinyint(1) NOT NULL DEFAULT 0,
  `mail_connection` enum('sync','database') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'sync',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of smtp_settings
-- ----------------------------
INSERT INTO `smtp_settings` VALUES (1, 'smtp', 'smtp.gmail.com', '465', 'firebase.online@gmail.com', 'zsttxscyyvvghajs', 'Worksuite', 'from@email.com', 'ssl', 1, 'sync', '2023-06-19 19:34:13', '2023-06-22 17:29:32');

-- ----------------------------
-- Table structure for social_auth_settings
-- ----------------------------
CREATE TABLE `social_auth_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `facebook_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `facebook_secret_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `facebook_status` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `google_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `google_secret_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `google_status` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `twitter_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `twitter_secret_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `twitter_status` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `linkedin_client_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `linkedin_secret_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `linkedin_status` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of social_auth_settings
-- ----------------------------
INSERT INTO `social_auth_settings` VALUES (1, NULL, NULL, 'disable', NULL, NULL, 'disable', NULL, NULL, 'disable', NULL, NULL, 'disable', '2023-06-19 19:34:13', '2023-06-19 19:34:13');

-- ----------------------------
-- Table structure for socials
-- ----------------------------
CREATE TABLE `socials`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `social_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `social_service` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of socials
-- ----------------------------

-- ----------------------------
-- Table structure for sticky_notes
-- ----------------------------
CREATE TABLE `sticky_notes`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `note_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `colour` enum('blue','yellow','red','gray','purple','green') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'blue',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `sticky_notes_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `sticky_notes_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `sticky_notes_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sticky_notes_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sticky_notes
-- ----------------------------

-- ----------------------------
-- Table structure for sub_task_files
-- ----------------------------
CREATE TABLE `sub_task_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `sub_task_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `google_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `dropbox_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `sub_task_files_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `sub_task_files_sub_task_id_foreign`(`sub_task_id` ASC) USING BTREE,
  CONSTRAINT `sub_task_files_ibfk_1` FOREIGN KEY (`sub_task_id`) REFERENCES `sub_tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sub_task_files_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sub_task_files
-- ----------------------------

-- ----------------------------
-- Table structure for sub_tasks
-- ----------------------------
CREATE TABLE `sub_tasks`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_id` int UNSIGNED NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `due_date` datetime NULL DEFAULT NULL,
  `start_date` date NULL DEFAULT NULL,
  `status` enum('incomplete','complete') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'incomplete',
  `assigned_to` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `sub_tasks_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `sub_tasks_assigned_to_foreign`(`assigned_to` ASC) USING BTREE,
  INDEX `sub_tasks_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `sub_tasks_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `sub_tasks_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `sub_tasks_ibfk_2` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `sub_tasks_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `sub_tasks_ibfk_4` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sub_tasks
-- ----------------------------

-- ----------------------------
-- Table structure for subscription_items
-- ----------------------------
CREATE TABLE `subscription_items`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `subscription_id` bigint UNSIGNED NOT NULL,
  `stripe_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_product` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_price` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` int NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `subscription_items_subscription_id_stripe_price_unique`(`subscription_id` ASC, `stripe_price` ASC) USING BTREE,
  UNIQUE INDEX `subscription_items_stripe_id_unique`(`stripe_id` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of subscription_items
-- ----------------------------

-- ----------------------------
-- Table structure for subscriptions
-- ----------------------------
CREATE TABLE `subscriptions`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `stripe_price` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `quantity` int NULL DEFAULT NULL,
  `trial_ends_at` timestamp NULL DEFAULT NULL,
  `ends_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `subscriptions_stripe_id_unique`(`stripe_id` ASC) USING BTREE,
  INDEX `subscriptions_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `subscriptions_user_id_stripe_status_index`(`user_id` ASC, `stripe_status` ASC) USING BTREE,
  CONSTRAINT `subscriptions_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `subscriptions_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of subscriptions
-- ----------------------------

-- ----------------------------
-- Table structure for task_category
-- ----------------------------
CREATE TABLE `task_category`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `category_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_category_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `task_category_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `task_category_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `task_category_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_category_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_category_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_category
-- ----------------------------
INSERT INTO `task_category` VALUES (1, 1, 'Test', 1, 1, '2023-06-23 07:38:03', '2023-06-23 07:38:03');

-- ----------------------------
-- Table structure for task_comment_emoji
-- ----------------------------
CREATE TABLE `task_comment_emoji`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `comment_id` int UNSIGNED NULL DEFAULT NULL,
  `emoji_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_comment_emoji_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `task_comment_emoji_comment_id_foreign`(`comment_id` ASC) USING BTREE,
  CONSTRAINT `task_comment_emoji_ibfk_1` FOREIGN KEY (`comment_id`) REFERENCES `task_comments` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_comment_emoji_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_comment_emoji
-- ----------------------------

-- ----------------------------
-- Table structure for task_comments
-- ----------------------------
CREATE TABLE `task_comments`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `task_id` int UNSIGNED NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_comments_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `task_comments_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `task_comments_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `task_comments_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `task_comments_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_comments_ibfk_2` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_comments_ibfk_3` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_comments_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_comments
-- ----------------------------

-- ----------------------------
-- Table structure for task_files
-- ----------------------------
CREATE TABLE `task_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `task_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `google_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `dropbox_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_files_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `task_files_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `task_files_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `task_files_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `task_files_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_files_ibfk_2` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_files_ibfk_3` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_files_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_files
-- ----------------------------

-- ----------------------------
-- Table structure for task_history
-- ----------------------------
CREATE TABLE `task_history`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_id` int UNSIGNED NOT NULL,
  `sub_task_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `details` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `board_column_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_history_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `task_history_sub_task_id_foreign`(`sub_task_id` ASC) USING BTREE,
  INDEX `task_history_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `task_history_board_column_id_foreign`(`board_column_id` ASC) USING BTREE,
  CONSTRAINT `task_history_ibfk_1` FOREIGN KEY (`board_column_id`) REFERENCES `taskboard_columns` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_history_ibfk_2` FOREIGN KEY (`sub_task_id`) REFERENCES `sub_tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_history_ibfk_3` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_history_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_history
-- ----------------------------
INSERT INTO `task_history` VALUES (1, 1, NULL, 1, 'createActivity', 1, '2023-06-23 07:41:57', '2023-06-23 07:41:57');
INSERT INTO `task_history` VALUES (2, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-23 07:44:49', '2023-06-23 07:44:49');
INSERT INTO `task_history` VALUES (3, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-23 07:45:05', '2023-06-23 07:45:05');
INSERT INTO `task_history` VALUES (4, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-23 07:45:44', '2023-06-23 07:45:44');
INSERT INTO `task_history` VALUES (5, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-23 07:46:38', '2023-06-23 07:46:38');
INSERT INTO `task_history` VALUES (6, 1, NULL, 2, 'timerStartedBy', NULL, '2023-06-23 11:49:43', '2023-06-23 11:49:43');
INSERT INTO `task_history` VALUES (7, 1, NULL, 2, 'timerStoppedBy', NULL, '2023-06-23 11:50:00', '2023-06-23 11:50:00');
INSERT INTO `task_history` VALUES (8, 1, NULL, 2, 'timerStartedBy', NULL, '2023-06-23 11:58:26', '2023-06-23 11:58:26');
INSERT INTO `task_history` VALUES (9, 1, NULL, 2, 'timerStoppedBy', NULL, '2023-06-23 11:58:32', '2023-06-23 11:58:32');
INSERT INTO `task_history` VALUES (10, 1, NULL, 2, 'timerStartedBy', NULL, '2023-06-23 19:02:29', '2023-06-23 19:02:29');
INSERT INTO `task_history` VALUES (11, 1, NULL, 2, 'timerStoppedBy', NULL, '2023-06-23 19:02:35', '2023-06-23 19:02:35');
INSERT INTO `task_history` VALUES (12, 1, NULL, 2, 'timerStartedBy', NULL, '2023-06-24 05:07:20', '2023-06-24 05:07:20');
INSERT INTO `task_history` VALUES (13, 1, NULL, 2, 'timerStoppedBy', NULL, '2023-06-24 05:07:24', '2023-06-24 05:07:24');
INSERT INTO `task_history` VALUES (14, 1, NULL, 2, 'timerStartedBy', NULL, '2023-06-24 05:47:27', '2023-06-24 05:47:27');
INSERT INTO `task_history` VALUES (15, 1, NULL, 2, 'timerPausedBy', NULL, '2023-06-24 05:47:31', '2023-06-24 05:47:31');
INSERT INTO `task_history` VALUES (16, 1, NULL, 2, 'timerStoppedBy', NULL, '2023-06-24 05:47:36', '2023-06-24 05:47:36');
INSERT INTO `task_history` VALUES (17, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-28 15:53:55', '2023-06-28 15:53:55');
INSERT INTO `task_history` VALUES (18, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-28 15:53:59', '2023-06-28 15:53:59');
INSERT INTO `task_history` VALUES (19, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-28 15:57:44', '2023-06-28 15:57:44');
INSERT INTO `task_history` VALUES (20, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-28 15:58:17', '2023-06-28 15:58:17');
INSERT INTO `task_history` VALUES (21, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-28 15:58:33', '2023-06-28 15:58:33');
INSERT INTO `task_history` VALUES (22, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-28 15:59:11', '2023-06-28 15:59:11');
INSERT INTO `task_history` VALUES (23, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-28 15:59:20', '2023-06-28 15:59:20');
INSERT INTO `task_history` VALUES (24, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-28 16:28:00', '2023-06-28 16:28:00');
INSERT INTO `task_history` VALUES (25, 1, NULL, 8, 'timerStoppedBy', NULL, '2023-06-28 17:09:49', '2023-06-28 17:09:49');
INSERT INTO `task_history` VALUES (26, 1, NULL, 8, 'timerStartedBy', NULL, '2023-06-29 05:42:40', '2023-06-29 05:42:40');

-- ----------------------------
-- Table structure for task_label_list
-- ----------------------------
CREATE TABLE `task_label_list`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `label_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `description` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_label_list_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `task_label_list_project_id_foreign`(`project_id` ASC) USING BTREE,
  CONSTRAINT `task_label_list_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_label_list_ibfk_2` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_label_list
-- ----------------------------

-- ----------------------------
-- Table structure for task_labels
-- ----------------------------
CREATE TABLE `task_labels`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `label_id` int UNSIGNED NOT NULL,
  `task_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_labels_label_id_foreign`(`label_id` ASC) USING BTREE,
  INDEX `task_tags_task_id_foreign`(`task_id` ASC) USING BTREE,
  CONSTRAINT `task_labels_ibfk_1` FOREIGN KEY (`label_id`) REFERENCES `task_label_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_labels_ibfk_2` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_labels
-- ----------------------------

-- ----------------------------
-- Table structure for task_notes
-- ----------------------------
CREATE TABLE `task_notes`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_id` int UNSIGNED NOT NULL,
  `user_id` int NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_notes_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `task_notes_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `task_notes_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `task_notes_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_notes_ibfk_2` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `task_notes_ibfk_3` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_notes
-- ----------------------------

-- ----------------------------
-- Table structure for task_settings
-- ----------------------------
CREATE TABLE `task_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `task_category` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `project` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `start_date` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `due_date` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `assigned_to` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `assigned_by` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `description` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `label` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `status` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `priority` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `make_private` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `time_estimate` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `hours_logged` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `custom_fields` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `copy_task_link` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `files` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `sub_task` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `comments` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `time_logs` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `notes` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `history` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `task_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_settings
-- ----------------------------
INSERT INTO `task_settings` VALUES (1, 1, 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for task_users
-- ----------------------------
CREATE TABLE `task_users`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `task_users_task_id_foreign`(`task_id` ASC) USING BTREE,
  INDEX `task_users_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `task_users_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `task_users_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of task_users
-- ----------------------------
INSERT INTO `task_users` VALUES (1, 1, 8, NULL, NULL);
INSERT INTO `task_users` VALUES (2, 1, 2, NULL, NULL);

-- ----------------------------
-- Table structure for taskboard_columns
-- ----------------------------
CREATE TABLE `taskboard_columns`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `column_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `label_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `priority` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `taskboard_columns_column_name_company_id_unique`(`column_name` ASC, `company_id` ASC) USING BTREE,
  INDEX `taskboard_columns_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `taskboard_columns_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of taskboard_columns
-- ----------------------------
INSERT INTO `taskboard_columns` VALUES (1, 1, 'Pending', 'pending', '#d21010', 1, NULL, NULL);
INSERT INTO `taskboard_columns` VALUES (2, 1, 'Doing', 'doing', '#f5c308', 2, NULL, NULL);
INSERT INTO `taskboard_columns` VALUES (3, 1, 'Completed', 'completed', '#00b5ff', 3, NULL, NULL);
INSERT INTO `taskboard_columns` VALUES (4, 1, 'Delivered', 'delivered', '#679c0d', 4, NULL, NULL);

-- ----------------------------
-- Table structure for tasks
-- ----------------------------
CREATE TABLE `tasks`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `task_short_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `heading` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `due_date` date NULL DEFAULT NULL,
  `start_date` date NULL DEFAULT NULL,
  `project_id` int UNSIGNED NULL DEFAULT NULL,
  `task_category_id` int UNSIGNED NULL DEFAULT NULL,
  `priority` enum('low','medium','high') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `status` enum('incomplete','completed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'incomplete',
  `board_column_id` int UNSIGNED NULL DEFAULT 1,
  `column_priority` int NOT NULL,
  `completed_on` datetime NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `recurring_task_id` int UNSIGNED NULL DEFAULT NULL,
  `dependent_task_id` int UNSIGNED NULL DEFAULT NULL,
  `milestone_id` int UNSIGNED NULL DEFAULT NULL,
  `is_private` tinyint(1) NOT NULL DEFAULT 0,
  `billable` tinyint(1) NOT NULL DEFAULT 1,
  `estimate_hours` int NOT NULL,
  `estimate_minutes` int NOT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `hash` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `repeat` tinyint(1) NOT NULL DEFAULT 0,
  `repeat_complete` tinyint(1) NOT NULL DEFAULT 0,
  `repeat_count` int NULL DEFAULT NULL,
  `repeat_type` enum('day','week','month','year') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'day',
  `repeat_cycles` int NULL DEFAULT NULL,
  `event_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `tasks_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `tasks_due_date_index`(`due_date` ASC) USING BTREE,
  INDEX `tasks_project_id_foreign`(`project_id` ASC) USING BTREE,
  INDEX `tasks_task_category_id_foreign`(`task_category_id` ASC) USING BTREE,
  INDEX `tasks_board_column_id_foreign`(`board_column_id` ASC) USING BTREE,
  INDEX `tasks_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `tasks_recurring_task_id_foreign`(`recurring_task_id` ASC) USING BTREE,
  INDEX `tasks_dependent_task_id_foreign`(`dependent_task_id` ASC) USING BTREE,
  INDEX `tasks_milestone_id_foreign`(`milestone_id` ASC) USING BTREE,
  INDEX `tasks_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `tasks_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `tasks_deleted_at_index`(`deleted_at` ASC) USING BTREE,
  CONSTRAINT `tasks_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_10` FOREIGN KEY (`task_category_id`) REFERENCES `task_category` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_2` FOREIGN KEY (`board_column_id`) REFERENCES `taskboard_columns` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_4` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_5` FOREIGN KEY (`dependent_task_id`) REFERENCES `tasks` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_6` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_7` FOREIGN KEY (`milestone_id`) REFERENCES `project_milestones` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_8` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tasks_ibfk_9` FOREIGN KEY (`recurring_task_id`) REFERENCES `tasks` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of tasks
-- ----------------------------
INSERT INTO `tasks` VALUES (1, '1008', 1, 'JOB CODE-#1008', '', '2023-06-30', '2023-06-23', 1, 1, 'medium', 'incomplete', 1, 0, NULL, 1, NULL, NULL, NULL, 0, 0, 0, 0, 1, 1, '577bc015f5384310e17b1eb0ac015078', 0, 0, NULL, 'day', NULL, NULL, '2023-06-23 07:41:52', '2023-06-23 07:42:01', NULL);

-- ----------------------------
-- Table structure for taxes
-- ----------------------------
CREATE TABLE `taxes`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `tax_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate_percent` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `taxes_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `taxes_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of taxes
-- ----------------------------
INSERT INTO `taxes` VALUES (1, 1, 'GST 28%', '100', '2023-06-27 08:18:31', '2023-06-27 08:18:31', NULL);
INSERT INTO `taxes` VALUES (2, 1, 'GST 50%', '200', '2023-06-27 08:19:01', '2023-06-27 08:19:01', NULL);

-- ----------------------------
-- Table structure for teams
-- ----------------------------
CREATE TABLE `teams`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `team_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `teams_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `teams_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `teams_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `teams_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `teams_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `teams_ibfk_3` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of teams
-- ----------------------------
INSERT INTO `teams` VALUES (1, 1, 'HR', NULL, NULL, NULL, '2023-06-22 17:23:14', '2023-06-22 17:23:14');

-- ----------------------------
-- Table structure for theme_settings
-- ----------------------------
CREATE TABLE `theme_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `panel` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `header_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sidebar_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sidebar_text_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `link_color` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#ffffff',
  `user_css` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `sidebar_theme` enum('dark','light') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dark',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `theme_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `theme_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of theme_settings
-- ----------------------------
INSERT INTO `theme_settings` VALUES (1, 1, 'admin', '#231F20', '#171F29', '#99A5B5', '#F7FAFF', NULL, 'dark', NULL, '2023-06-27 12:16:14');
INSERT INTO `theme_settings` VALUES (2, 1, 'project_admin', '#1d82f5', '#171F29', '#99A5B5', '#F7FAFF', NULL, 'dark', NULL, NULL);
INSERT INTO `theme_settings` VALUES (3, 1, 'employee', '#231F20', '#171F29', '#99A5B5', '#F7FAFF', NULL, 'dark', NULL, '2023-06-27 12:16:14');
INSERT INTO `theme_settings` VALUES (4, 1, 'client', '#231F20', '#171F29', '#99A5B5', '#F7FAFF', NULL, 'dark', NULL, '2023-06-27 12:16:14');

-- ----------------------------
-- Table structure for ticket_agent_groups
-- ----------------------------
CREATE TABLE `ticket_agent_groups`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `agent_id` int UNSIGNED NOT NULL,
  `group_id` int UNSIGNED NULL DEFAULT NULL,
  `status` enum('enabled','disabled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'enabled',
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_agent_groups_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `ticket_agent_groups_agent_id_foreign`(`agent_id` ASC) USING BTREE,
  INDEX `ticket_agent_groups_group_id_foreign`(`group_id` ASC) USING BTREE,
  INDEX `ticket_agent_groups_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `ticket_agent_groups_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  CONSTRAINT `ticket_agent_groups_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `ticket_agent_groups_ibfk_2` FOREIGN KEY (`agent_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_agent_groups_ibfk_3` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_agent_groups_ibfk_4` FOREIGN KEY (`group_id`) REFERENCES `ticket_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_agent_groups_ibfk_5` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_agent_groups
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_channels
-- ----------------------------
CREATE TABLE `ticket_channels`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `channel_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `ticket_channels_channel_name_company_id_unique`(`channel_name` ASC, `company_id` ASC) USING BTREE,
  INDEX `ticket_channels_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_channels_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_channels
-- ----------------------------
INSERT INTO `ticket_channels` VALUES (1, 1, 'Email', NULL, NULL);
INSERT INTO `ticket_channels` VALUES (2, 1, 'Phone', NULL, NULL);
INSERT INTO `ticket_channels` VALUES (3, 1, 'Twitter', NULL, NULL);
INSERT INTO `ticket_channels` VALUES (4, 1, 'Facebook', NULL, NULL);

-- ----------------------------
-- Table structure for ticket_custom_forms
-- ----------------------------
CREATE TABLE `ticket_custom_forms`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `custom_fields_id` int UNSIGNED NULL DEFAULT NULL,
  `field_display_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `field_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text',
  `field_order` int NOT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `required` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_custom_forms_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `ticket_custom_forms_custom_fields_id_foreign`(`custom_fields_id` ASC) USING BTREE,
  CONSTRAINT `ticket_custom_forms_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_custom_forms_ibfk_2` FOREIGN KEY (`custom_fields_id`) REFERENCES `custom_fields` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_custom_forms
-- ----------------------------
INSERT INTO `ticket_custom_forms` VALUES (1, 1, NULL, 'Name', 'name', 'text', 1, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (2, 1, NULL, 'Email', 'email', 'text', 2, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (3, 1, NULL, 'Ticket Subject', 'ticket_subject', 'text', 3, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (4, 1, NULL, 'Ticket Description', 'ticket_description', 'textarea', 4, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (5, 1, NULL, 'Type', 'type', 'select', 5, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (6, 1, NULL, 'Priority', 'priority', 'select', 6, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');
INSERT INTO `ticket_custom_forms` VALUES (7, 1, NULL, 'Assign Group', 'assign_group', 'select', 7, 'active', 0, '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for ticket_email_settings
-- ----------------------------
CREATE TABLE `ticket_email_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `mail_username` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mail_password` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mail_from_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mail_from_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `imap_host` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `imap_port` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `imap_encryption` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(1) NOT NULL,
  `verified` tinyint(1) NOT NULL,
  `sync_interval` int NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_email_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_email_settings_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_email_settings
-- ----------------------------
INSERT INTO `ticket_email_settings` VALUES (1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 1, '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for ticket_files
-- ----------------------------
CREATE TABLE `ticket_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `ticket_reply_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `google_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `dropbox_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_files_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `ticket_files_ticket_reply_id_foreign`(`ticket_reply_id` ASC) USING BTREE,
  CONSTRAINT `ticket_files_ibfk_1` FOREIGN KEY (`ticket_reply_id`) REFERENCES `ticket_replies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_files_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_files
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_groups
-- ----------------------------
CREATE TABLE `ticket_groups`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `group_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_groups_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_groups_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_groups
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_replies
-- ----------------------------
CREATE TABLE `ticket_replies`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticket_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `imap_message_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `imap_message_uid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `imap_in_reply_to` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_replies_ticket_id_foreign`(`ticket_id` ASC) USING BTREE,
  INDEX `ticket_replies_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `ticket_replies_ibfk_1` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_replies_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_replies
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_reply_templates
-- ----------------------------
CREATE TABLE `ticket_reply_templates`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `reply_heading` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reply_text` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_reply_templates_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_reply_templates_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_reply_templates
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_tag_list
-- ----------------------------
CREATE TABLE `ticket_tag_list`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `tag_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_tag_list_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_tag_list_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_tag_list
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_tags
-- ----------------------------
CREATE TABLE `ticket_tags`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `tag_id` int UNSIGNED NOT NULL,
  `ticket_id` int UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ticket_tags_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `ticket_tags_tag_id_foreign`(`tag_id` ASC) USING BTREE,
  INDEX `ticket_tags_ticket_id_foreign`(`ticket_id` ASC) USING BTREE,
  CONSTRAINT `ticket_tags_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_tags_ibfk_2` FOREIGN KEY (`tag_id`) REFERENCES `ticket_tag_list` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ticket_tags_ibfk_3` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_tags
-- ----------------------------

-- ----------------------------
-- Table structure for ticket_types
-- ----------------------------
CREATE TABLE `ticket_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `ticket_types_type_company_id_unique`(`type` ASC, `company_id` ASC) USING BTREE,
  INDEX `ticket_types_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `ticket_types_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of ticket_types
-- ----------------------------
INSERT INTO `ticket_types` VALUES (1, 1, 'Bug', NULL, NULL);
INSERT INTO `ticket_types` VALUES (2, 1, 'Suggestion', NULL, NULL);
INSERT INTO `ticket_types` VALUES (3, 1, 'Question', NULL, NULL);
INSERT INTO `ticket_types` VALUES (4, 1, 'Sales', NULL, NULL);
INSERT INTO `ticket_types` VALUES (5, 1, 'Code', NULL, NULL);
INSERT INTO `ticket_types` VALUES (6, 1, 'Management', NULL, NULL);
INSERT INTO `ticket_types` VALUES (7, 1, 'Problem', NULL, NULL);
INSERT INTO `ticket_types` VALUES (8, 1, 'Incident', NULL, NULL);
INSERT INTO `ticket_types` VALUES (9, 1, 'Feature Request', NULL, NULL);

-- ----------------------------
-- Table structure for tickets
-- ----------------------------
CREATE TABLE `tickets`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticket_number` bigint NULL DEFAULT NULL,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `subject` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('open','pending','resolved','closed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `priority` enum('low','medium','high','urgent') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `agent_id` int UNSIGNED NULL DEFAULT NULL,
  `channel_id` int UNSIGNED NULL DEFAULT NULL,
  `type_id` int UNSIGNED NULL DEFAULT NULL,
  `group_id` int UNSIGNED NULL DEFAULT NULL,
  `close_date` date NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `mobile` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `country_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `last_updated_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `tickets_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `tickets_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `tickets_agent_id_foreign`(`agent_id` ASC) USING BTREE,
  INDEX `tickets_channel_id_foreign`(`channel_id` ASC) USING BTREE,
  INDEX `tickets_type_id_foreign`(`type_id` ASC) USING BTREE,
  INDEX `tickets_country_id_foreign`(`country_id` ASC) USING BTREE,
  INDEX `tickets_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `tickets_last_updated_by_foreign`(`last_updated_by` ASC) USING BTREE,
  INDEX `tickets_updated_at_index`(`updated_at` ASC) USING BTREE,
  INDEX `tickets_group_id_foreign`(`group_id` ASC) USING BTREE,
  CONSTRAINT `tickets_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_2` FOREIGN KEY (`agent_id`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_3` FOREIGN KEY (`channel_id`) REFERENCES `ticket_channels` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_4` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_5` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_6` FOREIGN KEY (`group_id`) REFERENCES `ticket_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_7` FOREIGN KEY (`last_updated_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_8` FOREIGN KEY (`type_id`) REFERENCES `ticket_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `tickets_ibfk_9` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of tickets
-- ----------------------------

-- ----------------------------
-- Table structure for translate_settings
-- ----------------------------
CREATE TABLE `translate_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `google_key` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of translate_settings
-- ----------------------------
INSERT INTO `translate_settings` VALUES (1, NULL, '2023-06-19 19:34:13', '2023-06-19 19:34:13');

-- ----------------------------
-- Table structure for unit_types
-- ----------------------------
CREATE TABLE `unit_types`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `unit_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `unit_types_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `unit_types_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of unit_types
-- ----------------------------
INSERT INTO `unit_types` VALUES (1, 1, 'Pcs', 1, '2023-06-19 19:34:17', '2023-06-19 19:34:17');

-- ----------------------------
-- Table structure for universal_search
-- ----------------------------
CREATE TABLE `universal_search`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `searchable_id` int NOT NULL,
  `module_type` enum('ticket','invoice','notice','proposal','task','creditNote','client','employee','project','estimate','lead') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `route_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `universal_search_company_id_foreign`(`company_id` ASC) USING BTREE,
  CONSTRAINT `universal_search_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of universal_search
-- ----------------------------
INSERT INTO `universal_search` VALUES (1, NULL, 1, NULL, 'Admin', 'employees.show', '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `universal_search` VALUES (2, 1, 8, 'employee', 'Technician', 'employees.show', '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `universal_search` VALUES (3, 1, 10, 'client', 'Shiko', 'clients.show', '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `universal_search` VALUES (4, 1, 10, 'client', 'shijo@gmail.com', 'clients.show', '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `universal_search` VALUES (5, 1, 10, 'client', 'END', 'clients.show', '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `universal_search` VALUES (6, 1, 1, 'project', 'ENS Project', 'projects.show', '2023-06-23 07:40:24', '2023-06-23 07:40:24');
INSERT INTO `universal_search` VALUES (7, 1, 1, 'task', 'ENS work', 'tasks.edit', '2023-06-23 07:41:57', '2023-06-23 07:41:57');
INSERT INTO `universal_search` VALUES (8, 1, 11, 'client', 'john', 'clients.show', '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `universal_search` VALUES (9, 1, 11, 'client', 'john@gmail.com', 'clients.show', '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `universal_search` VALUES (10, 1, 1, 'invoice', 'INV#001', 'invoices.show', '2023-06-27 10:14:11', '2023-06-27 10:14:11');

-- ----------------------------
-- Table structure for user_activities
-- ----------------------------
CREATE TABLE `user_activities`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `activity` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_activities_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `user_activities_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_activities_created_at_index`(`created_at` ASC) USING BTREE,
  CONSTRAINT `user_activities_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_activities_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_activities
-- ----------------------------
INSERT INTO `user_activities` VALUES (1, 1, 8, 'modules.tasks.timerStartedTask', '2023-06-23 07:44:49', '2023-06-23 07:44:49');
INSERT INTO `user_activities` VALUES (2, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-23 07:45:05', '2023-06-23 07:45:05');
INSERT INTO `user_activities` VALUES (3, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-23 07:45:44', '2023-06-23 07:45:44');
INSERT INTO `user_activities` VALUES (4, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-23 07:46:38', '2023-06-23 07:46:38');
INSERT INTO `user_activities` VALUES (5, 1, 2, 'modules.tasks.timerStartedTask', '2023-06-23 11:49:43', '2023-06-23 11:49:43');
INSERT INTO `user_activities` VALUES (6, 1, 2, 'modules.tasks.timerStoppedBy', '2023-06-23 11:50:00', '2023-06-23 11:50:00');
INSERT INTO `user_activities` VALUES (7, 1, 2, 'modules.tasks.timerStartedTask', '2023-06-23 11:58:26', '2023-06-23 11:58:26');
INSERT INTO `user_activities` VALUES (8, 1, 2, 'modules.tasks.timerStoppedBy', '2023-06-23 11:58:32', '2023-06-23 11:58:32');
INSERT INTO `user_activities` VALUES (9, 1, 2, 'modules.tasks.timerStartedTask', '2023-06-23 19:02:29', '2023-06-23 19:02:29');
INSERT INTO `user_activities` VALUES (10, 1, 2, 'modules.tasks.timerStoppedBy', '2023-06-23 19:02:35', '2023-06-23 19:02:35');
INSERT INTO `user_activities` VALUES (11, 1, 2, 'modules.tasks.timerStartedTask', '2023-06-24 05:07:20', '2023-06-24 05:07:20');
INSERT INTO `user_activities` VALUES (12, 1, 2, 'modules.tasks.timerStoppedBy', '2023-06-24 05:07:24', '2023-06-24 05:07:24');
INSERT INTO `user_activities` VALUES (13, 1, 2, 'modules.tasks.timerStartedTask', '2023-06-24 05:47:27', '2023-06-24 05:47:27');
INSERT INTO `user_activities` VALUES (14, 1, 2, 'modules.tasks.timerPausedBy', '2023-06-24 05:47:31', '2023-06-24 05:47:31');
INSERT INTO `user_activities` VALUES (15, 1, 2, 'modules.tasks.timerStoppedBy', '2023-06-24 05:47:36', '2023-06-24 05:47:36');
INSERT INTO `user_activities` VALUES (16, 1, 2, 'messages.updatedProfile', '2023-06-27 12:45:00', '2023-06-27 12:45:00');
INSERT INTO `user_activities` VALUES (17, 1, 2, 'messages.updatedProfile', '2023-06-28 07:03:09', '2023-06-28 07:03:09');
INSERT INTO `user_activities` VALUES (18, 1, 2, 'messages.updatedProfile', '2023-06-28 07:03:44', '2023-06-28 07:03:44');
INSERT INTO `user_activities` VALUES (19, 1, 2, 'messages.updatedProfile', '2023-06-28 07:44:36', '2023-06-28 07:44:36');
INSERT INTO `user_activities` VALUES (20, 1, 2, 'messages.updatedProfile', '2023-06-28 07:46:30', '2023-06-28 07:46:30');
INSERT INTO `user_activities` VALUES (21, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-28 15:53:55', '2023-06-28 15:53:55');
INSERT INTO `user_activities` VALUES (22, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-28 15:53:59', '2023-06-28 15:53:59');
INSERT INTO `user_activities` VALUES (23, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-28 15:57:44', '2023-06-28 15:57:44');
INSERT INTO `user_activities` VALUES (24, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-28 15:58:17', '2023-06-28 15:58:17');
INSERT INTO `user_activities` VALUES (25, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-28 15:58:33', '2023-06-28 15:58:33');
INSERT INTO `user_activities` VALUES (26, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-28 15:59:11', '2023-06-28 15:59:11');
INSERT INTO `user_activities` VALUES (27, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-28 15:59:20', '2023-06-28 15:59:20');
INSERT INTO `user_activities` VALUES (28, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-28 16:28:00', '2023-06-28 16:28:00');
INSERT INTO `user_activities` VALUES (29, 1, 8, 'modules.tasks.timerStoppedBy', '2023-06-28 17:09:49', '2023-06-28 17:09:49');
INSERT INTO `user_activities` VALUES (30, 1, 8, 'messages.updatedProfile', '2023-06-28 17:11:11', '2023-06-28 17:11:11');
INSERT INTO `user_activities` VALUES (31, 1, 8, 'messages.updatedProfile', '2023-06-28 17:11:19', '2023-06-28 17:11:19');
INSERT INTO `user_activities` VALUES (32, 1, 8, 'modules.tasks.timerStartedProject', '2023-06-29 05:42:40', '2023-06-29 05:42:40');

-- ----------------------------
-- Table structure for user_invitations
-- ----------------------------
CREATE TABLE `user_invitations`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `invitation_type` enum('email','link') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'email',
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `invitation_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `email_restriction` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_invitations_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `user_invitations_user_id_foreign`(`user_id` ASC) USING BTREE,
  CONSTRAINT `user_invitations_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_invitations_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_invitations
-- ----------------------------

-- ----------------------------
-- Table structure for user_leadboard_settings
-- ----------------------------
CREATE TABLE `user_leadboard_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `board_column_id` int UNSIGNED NOT NULL,
  `collapsed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_leadboard_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `user_leadboard_settings_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_leadboard_settings_board_column_id_foreign`(`board_column_id` ASC) USING BTREE,
  CONSTRAINT `user_leadboard_settings_ibfk_1` FOREIGN KEY (`board_column_id`) REFERENCES `lead_status` (`id`) ON DELETE RESTRICT ON UPDATE CASCADE,
  CONSTRAINT `user_leadboard_settings_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_leadboard_settings_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_leadboard_settings
-- ----------------------------

-- ----------------------------
-- Table structure for user_permissions
-- ----------------------------
CREATE TABLE `user_permissions`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `permission_id` int UNSIGNED NOT NULL,
  `permission_type_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_permissions_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_permissions_permission_id_foreign`(`permission_id` ASC) USING BTREE,
  INDEX `user_permissions_permission_type_id_foreign`(`permission_type_id` ASC) USING BTREE,
  CONSTRAINT `user_permissions_ibfk_1` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_permissions_ibfk_2` FOREIGN KEY (`permission_type_id`) REFERENCES `permission_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_permissions_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1259 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_permissions
-- ----------------------------
INSERT INTO `user_permissions` VALUES (1, 1, 1, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (2, 1, 2, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (3, 1, 3, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (4, 1, 4, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (5, 1, 5, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (6, 1, 6, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (7, 1, 7, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (8, 1, 8, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (9, 1, 9, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (10, 1, 10, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (11, 1, 11, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (12, 1, 12, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (13, 1, 13, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (14, 1, 14, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (15, 1, 15, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (16, 1, 16, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (17, 1, 17, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (18, 1, 18, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (19, 1, 19, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (20, 1, 20, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (21, 1, 21, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (22, 1, 22, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (23, 1, 23, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (24, 1, 24, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (25, 1, 25, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (26, 1, 26, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (27, 1, 27, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (28, 1, 28, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (29, 1, 29, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (30, 1, 30, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (31, 1, 31, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (32, 1, 32, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (33, 1, 33, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (34, 1, 34, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (35, 1, 35, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (36, 1, 36, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (37, 1, 37, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (38, 1, 38, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (39, 1, 39, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (40, 1, 40, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (41, 1, 41, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (42, 1, 42, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (43, 1, 43, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (44, 1, 44, 4, '2023-06-19 19:34:57', '2023-06-19 19:34:57');
INSERT INTO `user_permissions` VALUES (45, 1, 45, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (46, 1, 46, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (47, 1, 47, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (48, 1, 48, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (49, 1, 49, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (50, 1, 50, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (51, 1, 51, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (52, 1, 52, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (53, 1, 53, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (54, 1, 54, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (55, 1, 55, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (56, 1, 56, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (57, 1, 57, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (58, 1, 58, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (59, 1, 59, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (60, 1, 60, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (61, 1, 61, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (62, 1, 62, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (63, 1, 63, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (64, 1, 64, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (65, 1, 65, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (66, 1, 66, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (67, 1, 67, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (68, 1, 68, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (69, 1, 69, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (70, 1, 70, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (71, 1, 71, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (72, 1, 72, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (73, 1, 73, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (74, 1, 74, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (75, 1, 75, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (76, 1, 76, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (77, 1, 77, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (78, 1, 78, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (79, 1, 79, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (80, 1, 80, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (81, 1, 81, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (82, 1, 82, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (83, 1, 83, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (84, 1, 84, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (85, 1, 85, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (86, 1, 86, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (87, 1, 87, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (88, 1, 88, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (89, 1, 89, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (90, 1, 90, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (91, 1, 91, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (92, 1, 92, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (93, 1, 93, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (94, 1, 94, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (95, 1, 95, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (96, 1, 96, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (97, 1, 97, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (98, 1, 98, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (99, 1, 99, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (100, 1, 100, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (101, 1, 101, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (102, 1, 102, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (103, 1, 103, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (104, 1, 104, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (105, 1, 105, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (106, 1, 106, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (107, 1, 107, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (108, 1, 108, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (109, 1, 109, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (110, 1, 110, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (111, 1, 111, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (112, 1, 112, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (113, 1, 113, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (114, 1, 114, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (115, 1, 115, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (116, 1, 116, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (117, 1, 117, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (118, 1, 118, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (119, 1, 119, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (120, 1, 120, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (121, 1, 121, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (122, 1, 122, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (123, 1, 123, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (124, 1, 124, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (125, 1, 125, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (126, 1, 126, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (127, 1, 127, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (128, 1, 128, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (129, 1, 129, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (130, 1, 130, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (131, 1, 131, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (132, 1, 132, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (133, 1, 133, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (134, 1, 134, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (135, 1, 135, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (136, 1, 136, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (137, 1, 137, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (138, 1, 138, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (139, 1, 139, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (140, 1, 140, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (141, 1, 141, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (142, 1, 142, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (143, 1, 143, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (144, 1, 144, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (145, 1, 145, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (146, 1, 146, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (147, 1, 147, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (148, 1, 148, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (149, 1, 149, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (150, 1, 150, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (151, 1, 151, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (152, 1, 152, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (153, 1, 153, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (154, 1, 154, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (155, 1, 155, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (156, 1, 156, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (157, 1, 157, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (158, 1, 158, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (159, 1, 159, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (160, 1, 160, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (161, 1, 161, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (162, 1, 162, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (163, 1, 163, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (164, 1, 164, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (165, 1, 165, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (166, 1, 166, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (167, 1, 167, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (168, 1, 168, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (169, 1, 169, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (170, 1, 170, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (171, 1, 171, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (172, 1, 172, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (173, 1, 173, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (174, 1, 174, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (175, 1, 175, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (176, 1, 176, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (177, 1, 177, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (178, 1, 178, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (179, 1, 179, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (180, 1, 180, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (181, 1, 181, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (182, 1, 182, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (183, 1, 183, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (184, 1, 184, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (185, 1, 185, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (186, 1, 186, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (187, 1, 187, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (188, 1, 188, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (189, 1, 189, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (190, 1, 190, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (191, 1, 191, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (192, 1, 192, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (193, 1, 193, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (194, 1, 194, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (195, 1, 195, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (196, 1, 196, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (197, 1, 197, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (198, 1, 198, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (199, 1, 199, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (200, 1, 200, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (201, 1, 201, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (202, 1, 202, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (203, 1, 203, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (204, 1, 204, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (205, 1, 205, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (206, 1, 206, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (207, 1, 207, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (208, 1, 208, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (209, 1, 209, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (210, 1, 210, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (211, 1, 211, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (212, 1, 212, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (213, 1, 213, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (214, 1, 214, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (215, 1, 215, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (216, 1, 216, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (217, 1, 217, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (218, 1, 218, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (219, 1, 219, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (220, 1, 220, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (221, 1, 221, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (222, 1, 222, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (223, 1, 223, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (224, 1, 224, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (225, 1, 225, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (226, 1, 226, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (227, 1, 227, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (228, 1, 228, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (229, 1, 229, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (230, 1, 230, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (231, 1, 231, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (232, 1, 232, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (233, 1, 233, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (234, 1, 234, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (235, 1, 235, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (236, 1, 236, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (237, 1, 237, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (238, 1, 238, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (239, 1, 239, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (240, 1, 240, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (241, 1, 241, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (242, 1, 242, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (243, 1, 243, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (244, 1, 244, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (245, 1, 245, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (246, 1, 246, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (247, 1, 247, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (248, 1, 248, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (249, 1, 249, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (250, 1, 250, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (251, 1, 251, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (252, 1, 252, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (253, 1, 253, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (254, 1, 254, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (255, 1, 255, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (256, 1, 256, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (257, 1, 257, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (258, 1, 258, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (259, 1, 259, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (260, 1, 260, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (261, 1, 261, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (262, 1, 262, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (263, 1, 263, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (264, 1, 264, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (265, 1, 265, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (266, 1, 266, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (267, 1, 267, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (268, 1, 268, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (269, 1, 269, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (270, 1, 270, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (271, 1, 271, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (272, 1, 272, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (273, 1, 273, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (274, 1, 274, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (275, 1, 275, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (276, 1, 276, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (277, 1, 277, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (278, 1, 278, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (279, 1, 279, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (280, 1, 280, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (281, 1, 281, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (282, 1, 282, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (283, 1, 283, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (284, 1, 284, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (285, 1, 285, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (286, 1, 286, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (287, 1, 287, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (288, 1, 288, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (289, 1, 289, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (290, 1, 290, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (291, 1, 291, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (292, 1, 292, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (293, 1, 293, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (294, 1, 294, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (295, 1, 295, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (296, 1, 296, 4, '2023-06-19 19:34:58', '2023-06-19 19:34:58');
INSERT INTO `user_permissions` VALUES (297, 8, 1, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (298, 8, 2, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (299, 8, 3, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (300, 8, 4, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (301, 8, 5, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (302, 8, 6, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (303, 8, 7, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (304, 8, 8, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (305, 8, 9, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (306, 8, 10, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (307, 8, 11, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (308, 8, 12, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (309, 8, 13, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (310, 8, 14, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (311, 8, 15, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (312, 8, 16, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (313, 8, 17, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (314, 8, 18, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (315, 8, 19, 4, '2023-06-22 17:31:20', '2023-06-27 10:42:58');
INSERT INTO `user_permissions` VALUES (316, 8, 20, 4, '2023-06-22 17:31:20', '2023-06-27 10:42:59');
INSERT INTO `user_permissions` VALUES (317, 8, 21, 4, '2023-06-22 17:31:20', '2023-06-27 10:43:01');
INSERT INTO `user_permissions` VALUES (318, 8, 22, 4, '2023-06-22 17:31:20', '2023-06-27 10:43:02');
INSERT INTO `user_permissions` VALUES (319, 8, 23, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (320, 8, 24, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (321, 8, 25, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (322, 8, 26, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (323, 8, 27, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (324, 8, 28, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (325, 8, 29, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (326, 8, 30, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (327, 8, 31, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (328, 8, 32, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (329, 8, 33, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (330, 8, 34, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (331, 8, 35, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (332, 8, 36, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (333, 8, 37, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (334, 8, 38, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (335, 8, 39, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (336, 8, 40, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (337, 8, 41, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (338, 8, 42, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (339, 8, 43, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (340, 8, 44, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (341, 8, 45, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (342, 8, 46, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (343, 8, 47, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (344, 8, 48, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (345, 8, 49, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (346, 8, 50, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (347, 8, 51, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (348, 8, 52, 2, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (349, 8, 53, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (350, 8, 54, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (351, 8, 55, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (352, 8, 56, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (353, 8, 57, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (354, 8, 58, 1, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (355, 8, 59, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (356, 8, 60, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (357, 8, 61, 1, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (358, 8, 62, 1, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (359, 8, 63, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (360, 8, 64, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (361, 8, 65, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (362, 8, 66, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (363, 8, 67, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (364, 8, 68, 4, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (365, 8, 69, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (366, 8, 70, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (367, 8, 71, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (368, 8, 72, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (369, 8, 73, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (370, 8, 74, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (371, 8, 75, 5, '2023-06-22 17:31:20', '2023-06-22 17:31:20');
INSERT INTO `user_permissions` VALUES (372, 8, 76, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (373, 8, 77, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (374, 8, 78, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (375, 8, 79, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (376, 8, 80, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (377, 8, 81, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (378, 8, 82, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (379, 8, 83, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (380, 8, 84, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (381, 8, 85, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (382, 8, 86, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (383, 8, 87, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (384, 8, 88, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (385, 8, 89, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (386, 8, 90, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (387, 8, 91, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (388, 8, 92, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (389, 8, 93, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (390, 8, 94, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (391, 8, 95, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (392, 8, 96, 2, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (393, 8, 97, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (394, 8, 98, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (395, 8, 99, 5, '2023-06-22 17:31:21', '2023-06-29 07:43:21');
INSERT INTO `user_permissions` VALUES (396, 8, 100, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (397, 8, 101, 5, '2023-06-22 17:31:21', '2023-06-29 07:43:37');
INSERT INTO `user_permissions` VALUES (398, 8, 102, 5, '2023-06-22 17:31:21', '2023-06-29 07:43:39');
INSERT INTO `user_permissions` VALUES (399, 8, 103, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (400, 8, 104, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (401, 8, 105, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (402, 8, 106, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (403, 8, 107, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (404, 8, 108, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (405, 8, 109, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (406, 8, 110, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (407, 8, 111, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (408, 8, 112, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (409, 8, 113, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (410, 8, 114, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (411, 8, 115, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (412, 8, 116, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (413, 8, 117, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (414, 8, 118, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (415, 8, 119, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (416, 8, 120, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (417, 8, 121, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (418, 8, 122, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (419, 8, 123, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (420, 8, 124, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (421, 8, 125, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (422, 8, 126, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (423, 8, 127, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (424, 8, 128, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (425, 8, 129, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (426, 8, 130, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (427, 8, 131, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (428, 8, 132, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:41');
INSERT INTO `user_permissions` VALUES (429, 8, 133, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:43');
INSERT INTO `user_permissions` VALUES (430, 8, 134, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:45');
INSERT INTO `user_permissions` VALUES (431, 8, 135, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:46');
INSERT INTO `user_permissions` VALUES (432, 8, 136, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (433, 8, 137, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (434, 8, 138, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (435, 8, 139, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:33');
INSERT INTO `user_permissions` VALUES (436, 8, 140, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:35');
INSERT INTO `user_permissions` VALUES (437, 8, 141, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:36');
INSERT INTO `user_permissions` VALUES (438, 8, 142, 4, '2023-06-22 17:31:21', '2023-06-28 10:35:37');
INSERT INTO `user_permissions` VALUES (439, 8, 143, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (440, 8, 144, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (441, 8, 145, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (442, 8, 146, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (443, 8, 147, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (444, 8, 148, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (445, 8, 149, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (446, 8, 150, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (447, 8, 151, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (448, 8, 152, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (449, 8, 153, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (450, 8, 154, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (451, 8, 155, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (452, 8, 156, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (453, 8, 157, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (454, 8, 158, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (455, 8, 159, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (456, 8, 160, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (457, 8, 161, 2, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (458, 8, 162, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (459, 8, 163, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (460, 8, 164, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (461, 8, 165, 2, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (462, 8, 166, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (463, 8, 167, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (464, 8, 168, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (465, 8, 169, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (466, 8, 170, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (467, 8, 171, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (468, 8, 172, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (469, 8, 173, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (470, 8, 174, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (471, 8, 175, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (472, 8, 176, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (473, 8, 177, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (474, 8, 178, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (475, 8, 179, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (476, 8, 180, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (477, 8, 181, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (478, 8, 182, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (479, 8, 183, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (480, 8, 184, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (481, 8, 185, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (482, 8, 186, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (483, 8, 187, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (484, 8, 188, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (485, 8, 189, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (486, 8, 190, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (487, 8, 191, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (488, 8, 192, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (489, 8, 193, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (490, 8, 194, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (491, 8, 195, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (492, 8, 196, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (493, 8, 197, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (494, 8, 198, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (495, 8, 199, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (496, 8, 200, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (497, 8, 201, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (498, 8, 202, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (499, 8, 203, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (500, 8, 204, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (501, 8, 205, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (502, 8, 206, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (503, 8, 207, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (504, 8, 208, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (505, 8, 209, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (506, 8, 210, 4, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (507, 8, 211, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (508, 8, 212, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (509, 8, 213, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (510, 8, 214, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (511, 8, 215, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (512, 8, 216, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (513, 8, 217, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (514, 8, 218, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (515, 8, 219, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (516, 8, 220, 3, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (517, 8, 221, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (518, 8, 222, 1, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (519, 8, 223, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (520, 8, 224, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (521, 8, 225, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (522, 8, 226, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (523, 8, 227, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (524, 8, 228, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (525, 8, 229, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (526, 8, 230, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (527, 8, 231, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (528, 8, 232, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (529, 8, 233, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (530, 8, 234, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (531, 8, 235, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (532, 8, 236, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (533, 8, 237, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (534, 8, 238, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (535, 8, 239, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (536, 8, 240, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (537, 8, 241, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (538, 8, 242, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (539, 8, 243, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (540, 8, 244, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (541, 8, 245, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (542, 8, 246, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (543, 8, 247, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (544, 8, 248, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (545, 8, 249, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (546, 8, 250, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (547, 8, 251, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (548, 8, 252, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (549, 8, 253, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (550, 8, 254, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (551, 8, 255, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (552, 8, 256, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (553, 8, 257, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (554, 8, 258, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (555, 8, 259, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (556, 8, 260, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (557, 8, 261, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (558, 8, 262, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (559, 8, 263, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (560, 8, 264, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (561, 8, 265, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (562, 8, 266, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (563, 8, 267, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (564, 8, 268, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (565, 8, 269, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (566, 8, 270, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (567, 8, 271, 5, '2023-06-22 17:31:21', '2023-06-29 12:10:13');
INSERT INTO `user_permissions` VALUES (568, 8, 272, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (569, 8, 273, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (570, 8, 274, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (571, 8, 275, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (572, 8, 276, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (573, 8, 277, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (574, 8, 278, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (575, 8, 279, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (576, 8, 280, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (577, 8, 281, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (578, 8, 282, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (579, 8, 283, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (580, 8, 284, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (581, 8, 285, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (582, 8, 286, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (583, 8, 287, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (584, 8, 288, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (585, 8, 289, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (586, 8, 290, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (587, 8, 291, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (588, 8, 292, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (589, 8, 293, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (590, 8, 294, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (591, 8, 295, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (592, 8, 296, 5, '2023-06-22 17:31:21', '2023-06-22 17:31:21');
INSERT INTO `user_permissions` VALUES (593, 10, 1, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (594, 10, 2, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (595, 10, 3, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (596, 10, 4, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (597, 10, 5, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (598, 10, 6, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (599, 10, 7, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (600, 10, 8, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (601, 10, 9, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (602, 10, 10, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (603, 10, 11, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (604, 10, 12, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (605, 10, 13, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (606, 10, 14, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (607, 10, 15, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (608, 10, 16, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (609, 10, 17, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (610, 10, 18, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (611, 10, 19, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (612, 10, 20, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (613, 10, 21, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (614, 10, 22, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (615, 10, 23, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (616, 10, 24, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (617, 10, 25, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (618, 10, 26, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (619, 10, 27, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (620, 10, 28, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (621, 10, 29, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (622, 10, 30, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (623, 10, 31, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (624, 10, 32, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (625, 10, 33, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (626, 10, 34, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (627, 10, 35, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (628, 10, 36, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (629, 10, 37, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (630, 10, 38, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (631, 10, 39, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (632, 10, 40, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (633, 10, 41, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (634, 10, 42, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (635, 10, 43, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (636, 10, 44, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (637, 10, 45, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (638, 10, 46, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (639, 10, 47, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (640, 10, 48, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (641, 10, 49, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (642, 10, 50, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (643, 10, 51, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (644, 10, 52, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (645, 10, 53, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (646, 10, 54, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (647, 10, 55, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (648, 10, 56, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (649, 10, 57, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (650, 10, 58, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (651, 10, 59, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (652, 10, 60, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (653, 10, 61, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (654, 10, 62, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (655, 10, 63, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (656, 10, 64, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (657, 10, 65, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (658, 10, 66, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (659, 10, 67, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (660, 10, 68, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (661, 10, 69, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (662, 10, 70, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (663, 10, 71, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (664, 10, 72, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (665, 10, 73, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (666, 10, 74, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (667, 10, 75, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (668, 10, 76, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (669, 10, 77, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (670, 10, 78, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (671, 10, 79, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (672, 10, 80, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (673, 10, 81, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (674, 10, 82, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (675, 10, 83, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (676, 10, 84, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (677, 10, 85, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (678, 10, 86, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (679, 10, 87, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (680, 10, 88, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (681, 10, 89, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (682, 10, 90, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (683, 10, 91, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (684, 10, 92, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (685, 10, 93, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (686, 10, 94, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (687, 10, 95, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (688, 10, 96, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (689, 10, 97, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (690, 10, 98, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (691, 10, 99, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (692, 10, 100, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (693, 10, 101, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (694, 10, 102, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (695, 10, 103, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (696, 10, 104, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (697, 10, 105, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (698, 10, 106, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (699, 10, 107, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (700, 10, 108, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (701, 10, 109, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (702, 10, 110, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (703, 10, 111, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (704, 10, 112, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (705, 10, 113, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (706, 10, 114, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (707, 10, 115, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (708, 10, 116, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (709, 10, 117, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (710, 10, 118, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (711, 10, 119, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (712, 10, 120, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (713, 10, 121, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (714, 10, 122, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (715, 10, 123, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (716, 10, 124, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (717, 10, 125, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (718, 10, 126, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (719, 10, 127, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (720, 10, 128, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (721, 10, 129, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (722, 10, 130, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (723, 10, 131, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (724, 10, 132, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (725, 10, 133, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (726, 10, 134, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (727, 10, 135, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (728, 10, 136, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (729, 10, 137, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (730, 10, 138, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (731, 10, 139, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (732, 10, 140, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (733, 10, 141, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (734, 10, 142, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (735, 10, 143, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (736, 10, 144, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (737, 10, 145, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (738, 10, 146, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (739, 10, 147, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (740, 10, 148, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (741, 10, 149, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (742, 10, 150, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (743, 10, 151, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (744, 10, 152, 3, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (745, 10, 153, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (746, 10, 154, 1, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (747, 10, 155, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (748, 10, 156, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (749, 10, 157, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (750, 10, 158, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (751, 10, 159, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (752, 10, 160, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (753, 10, 161, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (754, 10, 162, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (755, 10, 163, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (756, 10, 164, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (757, 10, 165, 2, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (758, 10, 166, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (759, 10, 167, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (760, 10, 168, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (761, 10, 169, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (762, 10, 170, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (763, 10, 171, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (764, 10, 172, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (765, 10, 173, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (766, 10, 174, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (767, 10, 175, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (768, 10, 176, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (769, 10, 177, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (770, 10, 178, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (771, 10, 179, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (772, 10, 180, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (773, 10, 181, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (774, 10, 182, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (775, 10, 183, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (776, 10, 184, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (777, 10, 185, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (778, 10, 186, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (779, 10, 187, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (780, 10, 188, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (781, 10, 189, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (782, 10, 190, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (783, 10, 191, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (784, 10, 192, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (785, 10, 193, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (786, 10, 194, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (787, 10, 195, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (788, 10, 196, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (789, 10, 197, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (790, 10, 198, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (791, 10, 199, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (792, 10, 200, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (793, 10, 201, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (794, 10, 202, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (795, 10, 203, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (796, 10, 204, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (797, 10, 205, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (798, 10, 206, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (799, 10, 207, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (800, 10, 208, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (801, 10, 209, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (802, 10, 210, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (803, 10, 211, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (804, 10, 212, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (805, 10, 213, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (806, 10, 214, 4, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (807, 10, 215, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (808, 10, 216, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (809, 10, 217, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (810, 10, 218, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (811, 10, 219, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (812, 10, 220, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (813, 10, 221, 5, '2023-06-23 07:39:32', '2023-06-23 07:39:32');
INSERT INTO `user_permissions` VALUES (814, 10, 222, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (815, 10, 223, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (816, 10, 224, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (817, 10, 225, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (818, 10, 226, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (819, 10, 227, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (820, 10, 228, 2, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (821, 10, 229, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (822, 10, 230, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (823, 10, 231, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (824, 10, 232, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (825, 10, 233, 4, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (826, 10, 234, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (827, 10, 235, 4, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (828, 10, 236, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (829, 10, 237, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (830, 10, 238, 4, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (831, 10, 239, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (832, 10, 240, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (833, 10, 241, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (834, 10, 242, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (835, 10, 243, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (836, 10, 244, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (837, 10, 245, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (838, 10, 246, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (839, 10, 247, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (840, 10, 248, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (841, 10, 249, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (842, 10, 250, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (843, 10, 251, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (844, 10, 252, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (845, 10, 253, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (846, 10, 254, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (847, 10, 255, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (848, 10, 256, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (849, 10, 257, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (850, 10, 258, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (851, 10, 259, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (852, 10, 260, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (853, 10, 261, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (854, 10, 262, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (855, 10, 263, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (856, 10, 264, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (857, 10, 265, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (858, 10, 266, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (859, 10, 267, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (860, 10, 268, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (861, 10, 269, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (862, 10, 270, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (863, 10, 271, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (864, 10, 272, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (865, 10, 273, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (866, 10, 274, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (867, 10, 275, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (868, 10, 276, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (869, 10, 277, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (870, 10, 278, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (871, 10, 279, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (872, 10, 280, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (873, 10, 281, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (874, 10, 282, 4, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (875, 10, 283, 2, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (876, 10, 284, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (877, 10, 285, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (878, 10, 286, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (879, 10, 287, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (880, 10, 288, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (881, 10, 289, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (882, 10, 290, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (883, 10, 291, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (884, 10, 292, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (885, 10, 293, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (886, 10, 294, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (887, 10, 295, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (888, 10, 296, 5, '2023-06-23 07:39:33', '2023-06-23 07:39:33');
INSERT INTO `user_permissions` VALUES (889, 11, 1, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (890, 11, 2, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (891, 11, 3, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (892, 11, 4, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (893, 11, 5, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (894, 11, 6, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (895, 11, 7, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (896, 11, 8, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (897, 11, 9, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (898, 11, 10, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (899, 11, 11, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (900, 11, 12, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (901, 11, 13, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (902, 11, 14, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (903, 11, 15, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (904, 11, 16, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (905, 11, 17, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (906, 11, 18, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (907, 11, 19, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (908, 11, 20, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (909, 11, 21, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (910, 11, 22, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (911, 11, 23, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (912, 11, 24, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (913, 11, 25, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (914, 11, 26, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (915, 11, 27, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (916, 11, 28, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (917, 11, 29, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (918, 11, 30, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (919, 11, 31, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (920, 11, 32, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (921, 11, 33, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (922, 11, 34, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (923, 11, 35, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (924, 11, 36, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (925, 11, 37, 5, '2023-06-23 09:52:51', '2023-06-23 09:52:51');
INSERT INTO `user_permissions` VALUES (926, 11, 38, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (927, 11, 39, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (928, 11, 40, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (929, 11, 41, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (930, 11, 42, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (931, 11, 43, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (932, 11, 44, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (933, 11, 45, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (934, 11, 46, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (935, 11, 47, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (936, 11, 48, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (937, 11, 49, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (938, 11, 50, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (939, 11, 51, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (940, 11, 52, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (941, 11, 53, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (942, 11, 54, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (943, 11, 55, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (944, 11, 56, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (945, 11, 57, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (946, 11, 58, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (947, 11, 59, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (948, 11, 60, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (949, 11, 61, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (950, 11, 62, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (951, 11, 63, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (952, 11, 64, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (953, 11, 65, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (954, 11, 66, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (955, 11, 67, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (956, 11, 68, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (957, 11, 69, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (958, 11, 70, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (959, 11, 71, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (960, 11, 72, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (961, 11, 73, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (962, 11, 74, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (963, 11, 75, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (964, 11, 76, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (965, 11, 77, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (966, 11, 78, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (967, 11, 79, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (968, 11, 80, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (969, 11, 81, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (970, 11, 82, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (971, 11, 83, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (972, 11, 84, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (973, 11, 85, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (974, 11, 86, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (975, 11, 87, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (976, 11, 88, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (977, 11, 89, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (978, 11, 90, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (979, 11, 91, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (980, 11, 92, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (981, 11, 93, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (982, 11, 94, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (983, 11, 95, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (984, 11, 96, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (985, 11, 97, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (986, 11, 98, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (987, 11, 99, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (988, 11, 100, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (989, 11, 101, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (990, 11, 102, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (991, 11, 103, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (992, 11, 104, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (993, 11, 105, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (994, 11, 106, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (995, 11, 107, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (996, 11, 108, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (997, 11, 109, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (998, 11, 110, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (999, 11, 111, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1000, 11, 112, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1001, 11, 113, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1002, 11, 114, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1003, 11, 115, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1004, 11, 116, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1005, 11, 117, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1006, 11, 118, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1007, 11, 119, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1008, 11, 120, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1009, 11, 121, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1010, 11, 122, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1011, 11, 123, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1012, 11, 124, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1013, 11, 125, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1014, 11, 126, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1015, 11, 127, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1016, 11, 128, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1017, 11, 129, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1018, 11, 130, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1019, 11, 131, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1020, 11, 132, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1021, 11, 133, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1022, 11, 134, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1023, 11, 135, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1024, 11, 136, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1025, 11, 137, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1026, 11, 138, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1027, 11, 139, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1028, 11, 140, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1029, 11, 141, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1030, 11, 142, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1031, 11, 143, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1032, 11, 144, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1033, 11, 145, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1034, 11, 146, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1035, 11, 147, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1036, 11, 148, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1037, 11, 149, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1038, 11, 150, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1039, 11, 151, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1040, 11, 152, 3, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1041, 11, 153, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1042, 11, 154, 1, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1043, 11, 155, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1044, 11, 156, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1045, 11, 157, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1046, 11, 158, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1047, 11, 159, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1048, 11, 160, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1049, 11, 161, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1050, 11, 162, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1051, 11, 163, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1052, 11, 164, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1053, 11, 165, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1054, 11, 166, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1055, 11, 167, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1056, 11, 168, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1057, 11, 169, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1058, 11, 170, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1059, 11, 171, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1060, 11, 172, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1061, 11, 173, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1062, 11, 174, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1063, 11, 175, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1064, 11, 176, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1065, 11, 177, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1066, 11, 178, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1067, 11, 179, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1068, 11, 180, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1069, 11, 181, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1070, 11, 182, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1071, 11, 183, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1072, 11, 184, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1073, 11, 185, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1074, 11, 186, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1075, 11, 187, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1076, 11, 188, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1077, 11, 189, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1078, 11, 190, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1079, 11, 191, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1080, 11, 192, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1081, 11, 193, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1082, 11, 194, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1083, 11, 195, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1084, 11, 196, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1085, 11, 197, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1086, 11, 198, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1087, 11, 199, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1088, 11, 200, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1089, 11, 201, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1090, 11, 202, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1091, 11, 203, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1092, 11, 204, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1093, 11, 205, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1094, 11, 206, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1095, 11, 207, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1096, 11, 208, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1097, 11, 209, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1098, 11, 210, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1099, 11, 211, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1100, 11, 212, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1101, 11, 213, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1102, 11, 214, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1103, 11, 215, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1104, 11, 216, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1105, 11, 217, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1106, 11, 218, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1107, 11, 219, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1108, 11, 220, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1109, 11, 221, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1110, 11, 222, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1111, 11, 223, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1112, 11, 224, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1113, 11, 225, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1114, 11, 226, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1115, 11, 227, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1116, 11, 228, 2, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1117, 11, 229, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1118, 11, 230, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1119, 11, 231, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1120, 11, 232, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1121, 11, 233, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1122, 11, 234, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1123, 11, 235, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1124, 11, 236, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1125, 11, 237, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1126, 11, 238, 4, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1127, 11, 239, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1128, 11, 240, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1129, 11, 241, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1130, 11, 242, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1131, 11, 243, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1132, 11, 244, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1133, 11, 245, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1134, 11, 246, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1135, 11, 247, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1136, 11, 248, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1137, 11, 249, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1138, 11, 250, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1139, 11, 251, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1140, 11, 252, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1141, 11, 253, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1142, 11, 254, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1143, 11, 255, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1144, 11, 256, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1145, 11, 257, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1146, 11, 258, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1147, 11, 259, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1148, 11, 260, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1149, 11, 261, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1150, 11, 262, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1151, 11, 263, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1152, 11, 264, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1153, 11, 265, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1154, 11, 266, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1155, 11, 267, 5, '2023-06-23 09:52:52', '2023-06-23 09:52:52');
INSERT INTO `user_permissions` VALUES (1156, 11, 268, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1157, 11, 269, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1158, 11, 270, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1159, 11, 271, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1160, 11, 272, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1161, 11, 273, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1162, 11, 274, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1163, 11, 275, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1164, 11, 276, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1165, 11, 277, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1166, 11, 278, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1167, 11, 279, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1168, 11, 280, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1169, 11, 281, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1170, 11, 282, 4, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1171, 11, 283, 2, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1172, 11, 284, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1173, 11, 285, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1174, 11, 286, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1175, 11, 287, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1176, 11, 288, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1177, 11, 289, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1178, 11, 290, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1179, 11, 291, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1180, 11, 292, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1181, 11, 293, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1182, 11, 294, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1183, 11, 295, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1184, 11, 296, 5, '2023-06-23 09:52:53', '2023-06-23 09:52:53');
INSERT INTO `user_permissions` VALUES (1185, 2, 1, 4, '2023-06-23 10:18:32', '2023-06-23 10:18:32');
INSERT INTO `user_permissions` VALUES (1186, 2, 2, 4, '2023-06-23 10:18:36', '2023-06-23 10:18:36');
INSERT INTO `user_permissions` VALUES (1187, 2, 3, 4, '2023-06-23 10:18:39', '2023-06-23 10:18:39');
INSERT INTO `user_permissions` VALUES (1188, 2, 4, 4, '2023-06-23 10:18:41', '2023-06-23 10:18:41');
INSERT INTO `user_permissions` VALUES (1189, 2, 99, 4, '2023-06-23 10:21:43', '2023-06-23 10:21:43');
INSERT INTO `user_permissions` VALUES (1190, 2, 100, 4, '2023-06-23 10:21:52', '2023-06-23 10:21:52');
INSERT INTO `user_permissions` VALUES (1191, 2, 101, 4, '2023-06-23 10:21:55', '2023-06-23 10:21:55');
INSERT INTO `user_permissions` VALUES (1192, 2, 102, 4, '2023-06-23 10:21:58', '2023-06-23 10:21:58');
INSERT INTO `user_permissions` VALUES (1193, 2, 144, 4, '2023-06-23 10:22:03', '2023-06-23 10:22:03');
INSERT INTO `user_permissions` VALUES (1194, 2, 145, 4, '2023-06-23 10:22:06', '2023-06-23 10:22:06');
INSERT INTO `user_permissions` VALUES (1195, 2, 146, 4, '2023-06-23 10:22:09', '2023-06-23 10:22:09');
INSERT INTO `user_permissions` VALUES (1196, 2, 147, 4, '2023-06-23 10:22:11', '2023-06-23 10:22:11');
INSERT INTO `user_permissions` VALUES (1197, 2, 132, 4, '2023-06-27 06:04:12', '2023-06-27 06:04:12');
INSERT INTO `user_permissions` VALUES (1198, 2, 133, 4, '2023-06-27 06:04:18', '2023-06-27 06:04:18');
INSERT INTO `user_permissions` VALUES (1199, 2, 134, 4, '2023-06-27 06:04:20', '2023-06-27 06:04:20');
INSERT INTO `user_permissions` VALUES (1200, 2, 135, 4, '2023-06-27 06:04:22', '2023-06-27 06:04:22');
INSERT INTO `user_permissions` VALUES (1201, 2, 136, 4, '2023-06-27 06:04:27', '2023-06-27 06:04:27');
INSERT INTO `user_permissions` VALUES (1202, 2, 137, 4, '2023-06-27 06:04:30', '2023-06-27 06:04:30');
INSERT INTO `user_permissions` VALUES (1203, 2, 138, 4, '2023-06-27 06:04:32', '2023-06-27 06:04:32');
INSERT INTO `user_permissions` VALUES (1204, 2, 139, 4, '2023-06-27 06:04:57', '2023-06-27 06:04:57');
INSERT INTO `user_permissions` VALUES (1205, 2, 140, 4, '2023-06-27 06:04:59', '2023-06-27 06:04:59');
INSERT INTO `user_permissions` VALUES (1206, 2, 141, 4, '2023-06-27 06:05:01', '2023-06-27 06:05:01');
INSERT INTO `user_permissions` VALUES (1207, 2, 142, 4, '2023-06-27 06:05:03', '2023-06-27 06:05:03');
INSERT INTO `user_permissions` VALUES (1208, 2, 143, 4, '2023-06-27 06:05:07', '2023-06-27 06:05:07');
INSERT INTO `user_permissions` VALUES (1209, 2, 19, 4, '2023-06-27 10:42:58', '2023-06-27 10:42:58');
INSERT INTO `user_permissions` VALUES (1210, 2, 20, 4, '2023-06-27 10:42:59', '2023-06-27 10:42:59');
INSERT INTO `user_permissions` VALUES (1211, 2, 21, 4, '2023-06-27 10:43:01', '2023-06-27 10:43:01');
INSERT INTO `user_permissions` VALUES (1212, 2, 22, 4, '2023-06-27 10:43:02', '2023-06-27 10:43:02');
INSERT INTO `user_permissions` VALUES (1213, 2, 271, 4, '2023-06-28 06:56:13', '2023-06-28 06:56:13');
INSERT INTO `user_permissions` VALUES (1214, 9, 19, 5, '2023-06-28 14:00:57', '2023-06-28 14:01:26');
INSERT INTO `user_permissions` VALUES (1215, 9, 20, 5, '2023-06-28 14:01:00', '2023-06-28 14:01:30');
INSERT INTO `user_permissions` VALUES (1216, 9, 21, 5, '2023-06-28 14:01:01', '2023-06-28 14:01:32');
INSERT INTO `user_permissions` VALUES (1217, 9, 22, 5, '2023-06-28 14:01:03', '2023-06-28 14:01:34');
INSERT INTO `user_permissions` VALUES (1218, 9, 1, 4, '2023-06-28 14:01:06', '2023-06-28 14:01:06');
INSERT INTO `user_permissions` VALUES (1219, 9, 2, 4, '2023-06-28 14:01:08', '2023-06-28 14:01:08');
INSERT INTO `user_permissions` VALUES (1220, 9, 3, 4, '2023-06-28 14:01:09', '2023-06-28 14:01:09');
INSERT INTO `user_permissions` VALUES (1221, 9, 4, 4, '2023-06-28 14:01:11', '2023-06-28 14:01:11');
INSERT INTO `user_permissions` VALUES (1222, 9, 99, 4, '2023-06-28 14:01:16', '2023-06-28 14:01:16');
INSERT INTO `user_permissions` VALUES (1223, 9, 100, 4, '2023-06-28 14:01:18', '2023-06-28 14:01:18');
INSERT INTO `user_permissions` VALUES (1224, 9, 101, 4, '2023-06-28 14:01:20', '2023-06-28 14:01:20');
INSERT INTO `user_permissions` VALUES (1225, 9, 102, 4, '2023-06-28 14:01:22', '2023-06-28 14:01:22');
INSERT INTO `user_permissions` VALUES (1226, 9, 132, 4, '2023-06-28 14:31:41', '2023-06-28 14:31:41');
INSERT INTO `user_permissions` VALUES (1227, 9, 133, 4, '2023-06-28 14:31:44', '2023-06-28 14:31:44');
INSERT INTO `user_permissions` VALUES (1228, 9, 134, 4, '2023-06-28 14:31:46', '2023-06-28 14:31:46');
INSERT INTO `user_permissions` VALUES (1229, 9, 135, 4, '2023-06-28 14:31:48', '2023-06-28 14:31:48');
INSERT INTO `user_permissions` VALUES (1230, 9, 139, 4, '2023-06-28 14:31:51', '2023-06-28 14:31:51');
INSERT INTO `user_permissions` VALUES (1231, 9, 140, 4, '2023-06-28 14:31:53', '2023-06-28 14:31:53');
INSERT INTO `user_permissions` VALUES (1232, 9, 141, 4, '2023-06-28 14:31:55', '2023-06-28 14:31:55');
INSERT INTO `user_permissions` VALUES (1233, 9, 142, 4, '2023-06-28 14:31:57', '2023-06-28 14:31:57');
INSERT INTO `user_permissions` VALUES (1234, 3, 1, 4, '2023-06-28 14:32:51', '2023-06-28 14:32:51');
INSERT INTO `user_permissions` VALUES (1235, 3, 2, 4, '2023-06-28 14:32:52', '2023-06-28 14:32:52');
INSERT INTO `user_permissions` VALUES (1236, 3, 3, 4, '2023-06-28 14:32:54', '2023-06-28 14:32:54');
INSERT INTO `user_permissions` VALUES (1237, 3, 4, 4, '2023-06-28 14:32:55', '2023-06-28 14:32:55');
INSERT INTO `user_permissions` VALUES (1238, 3, 19, 4, '2023-06-28 14:32:58', '2023-06-28 14:32:58');
INSERT INTO `user_permissions` VALUES (1239, 3, 20, 4, '2023-06-28 14:33:00', '2023-06-28 14:33:00');
INSERT INTO `user_permissions` VALUES (1240, 3, 21, 4, '2023-06-28 14:33:01', '2023-06-28 14:33:01');
INSERT INTO `user_permissions` VALUES (1241, 3, 22, 4, '2023-06-28 14:33:03', '2023-06-28 14:33:03');
INSERT INTO `user_permissions` VALUES (1242, 3, 99, 4, '2023-06-28 14:33:07', '2023-06-28 14:33:07');
INSERT INTO `user_permissions` VALUES (1243, 3, 100, 4, '2023-06-28 14:33:08', '2023-06-28 14:33:08');
INSERT INTO `user_permissions` VALUES (1244, 3, 101, 4, '2023-06-28 14:33:10', '2023-06-28 14:33:10');
INSERT INTO `user_permissions` VALUES (1245, 3, 102, 4, '2023-06-28 14:33:12', '2023-06-28 14:33:12');
INSERT INTO `user_permissions` VALUES (1246, 3, 132, 4, '2023-06-28 14:33:15', '2023-06-28 14:33:15');
INSERT INTO `user_permissions` VALUES (1247, 3, 133, 4, '2023-06-28 14:33:17', '2023-06-28 14:33:17');
INSERT INTO `user_permissions` VALUES (1248, 3, 134, 4, '2023-06-28 14:33:18', '2023-06-28 14:33:18');
INSERT INTO `user_permissions` VALUES (1249, 3, 135, 4, '2023-06-28 14:33:20', '2023-06-28 14:33:20');
INSERT INTO `user_permissions` VALUES (1250, 3, 139, 4, '2023-06-28 14:33:22', '2023-06-28 14:33:22');
INSERT INTO `user_permissions` VALUES (1251, 3, 140, 4, '2023-06-28 14:33:23', '2023-06-28 14:33:23');
INSERT INTO `user_permissions` VALUES (1252, 3, 141, 4, '2023-06-28 14:33:25', '2023-06-28 14:33:25');
INSERT INTO `user_permissions` VALUES (1253, 3, 142, 4, '2023-06-28 14:33:26', '2023-06-28 14:33:26');
INSERT INTO `user_permissions` VALUES (1254, 4, 99, 5, '2023-06-28 14:45:12', '2023-06-29 07:43:21');
INSERT INTO `user_permissions` VALUES (1255, 4, 100, 4, '2023-06-28 14:45:33', '2023-06-28 14:45:33');
INSERT INTO `user_permissions` VALUES (1256, 4, 101, 5, '2023-06-28 14:45:35', '2023-06-29 07:43:37');
INSERT INTO `user_permissions` VALUES (1257, 4, 102, 5, '2023-06-28 14:45:39', '2023-06-29 07:43:39');
INSERT INTO `user_permissions` VALUES (1258, 4, 271, 5, '2023-06-29 12:09:25', '2023-06-29 12:10:13');

-- ----------------------------
-- Table structure for user_taskboard_settings
-- ----------------------------
CREATE TABLE `user_taskboard_settings`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `board_column_id` int UNSIGNED NOT NULL,
  `collapsed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_taskboard_settings_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `user_taskboard_settings_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_taskboard_settings_board_column_id_foreign`(`board_column_id` ASC) USING BTREE,
  CONSTRAINT `user_taskboard_settings_ibfk_1` FOREIGN KEY (`board_column_id`) REFERENCES `taskboard_columns` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_taskboard_settings_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_taskboard_settings_ibfk_3` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_taskboard_settings
-- ----------------------------

-- ----------------------------
-- Table structure for users
-- ----------------------------
CREATE TABLE `users`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `password` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `two_factor_secret` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `two_factor_recovery_codes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `two_factor_confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `two_factor_email_confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `country_phonecode` int NULL DEFAULT NULL,
  `mobile` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `gender` enum('male','female','others') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'male',
  `salutation` enum('mr','mrs','miss','dr','sir','madam') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `locale` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `status` enum('active','deactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `login` enum('enable','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'enable',
  `onesignal_player_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `last_login` timestamp NULL DEFAULT NULL,
  `email_notifications` tinyint(1) NOT NULL DEFAULT 1,
  `country_id` int UNSIGNED NULL DEFAULT NULL,
  `dark_theme` tinyint(1) NOT NULL,
  `rtl` tinyint(1) NOT NULL,
  `two_fa_verify_via` enum('email','google_authenticator','both') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `two_factor_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'when authenticator is email',
  `two_factor_expires_at` datetime NULL DEFAULT NULL,
  `admin_approval` tinyint(1) NOT NULL DEFAULT 1,
  `permission_sync` tinyint(1) NOT NULL DEFAULT 1,
  `google_calendar_status` tinyint(1) NOT NULL DEFAULT 1,
  `remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `customised_permissions` tinyint(1) NOT NULL DEFAULT 0,
  `stripe_id` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `pm_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `pm_last_four` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `trial_ends_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `users_email_company_id_unique`(`email` ASC, `company_id` ASC) USING BTREE,
  INDEX `users_country_id_foreign`(`country_id` ASC) USING BTREE,
  INDEX `users_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `users_stripe_id_index`(`stripe_id` ASC) USING BTREE,
  CONSTRAINT `users_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_ibfk_2` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES (1, 1, 'Dev', 'dev@gmail.com', '$2y$10$2FQ4sd79v4YfqQOHV4n9juC.zaZ2Kch4HD6E6CSiA8sKvl0iHAAb2', NULL, NULL, 0, 0, NULL, NULL, NULL, 'male', NULL, 'en', 'active', 'enable', NULL, '2023-07-01 07:38:13', 1, NULL, 0, 0, NULL, NULL, NULL, 1, 1, 1, 'vjANyIOlFVUvERDBq040QJueHvSvZYeCZfgUFTQqEh8md7s2uK4oalbdj79y', '2023-06-19 19:34:57', '2023-07-01 07:38:13', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (2, 1, 'Super Admin', 'admin@gmail.com', '$2y$10$2FQ4sd79v4YfqQOHV4n9juC.zaZ2Kch4HD6E6CSiA8sKvl0iHAAb2', NULL, NULL, 0, 0, 'feb670eb36238e06fb6cf5ee83bb1563.png', 965, NULL, 'male', 'mr', '', 'active', 'enable', NULL, '2023-06-29 17:14:00', 0, 114, 0, 0, NULL, NULL, NULL, 1, 1, 0, 'cnznVlPIbDcac7bQKSAxYlw56EId1zQ5Baa0gqB0oQq2EvqN3O4WVruCBINj', NULL, '2023-06-29 17:14:00', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (3, 1, 'Manager', 'manager@gmail.com', '$2y$10$2FQ4sd79v4YfqQOHV4n9juC.zaZ2Kch4HD6E6CSiA8sKvl0iHAAb2', NULL, NULL, 0, 0, NULL, NULL, NULL, 'male', NULL, 'en', 'active', 'enable', NULL, '2023-06-29 11:44:47', 1, NULL, 0, 0, NULL, NULL, NULL, 1, 1, 1, '3aRxQjLGbmO3dFqNH8vVZI4ORCprew0BgQycygo2XR1MUPrQ1JAZIkt0KUen', NULL, '2023-06-29 11:44:47', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (4, 1, 'Technician', 'technician@gmail.com', '$2y$10$2FQ4sd79v4YfqQOHV4n9juC.zaZ2Kch4HD6E6CSiA8sKvl0iHAAb2', NULL, NULL, 0, 0, NULL, NULL, NULL, 'male', NULL, 'en', 'active', 'enable', NULL, '2023-06-28 15:45:10', 1, NULL, 0, 0, NULL, NULL, NULL, 1, 1, 1, NULL, NULL, '2023-06-28 15:45:10', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (8, 1, 'Technician', 'tech@gmail.com', '$2y$10$C0WhJuqS2eqJXDHYx1jfcuXlhSC.pBv.A91/vClj3vgCrb1DuRZr.', NULL, NULL, 0, 0, '7d4fa91b28705ac7994f10b4e8430dd1.png', 965, NULL, 'male', 'mr', '', 'active', 'enable', NULL, '2023-06-29 12:10:29', 0, 114, 0, 0, NULL, NULL, NULL, 1, 1, 0, NULL, '2023-06-22 17:31:07', '2023-06-29 12:10:29', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (9, 1, 'Receptionist', 'receptionist@gmail.com', '$2y$10$C0WhJuqS2eqJXDHYx1jfcuXlhSC.pBv.A91/vClj3vgCrb1DuRZr.', NULL, NULL, 0, 0, NULL, NULL, NULL, 'male', NULL, 'en', 'active', 'enable', NULL, '2023-06-29 09:35:54', 1, NULL, 0, 0, NULL, NULL, NULL, 1, 1, 1, NULL, NULL, '2023-06-29 09:35:54', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (10, 1, 'Mohammed', 'mohammed@gmail.com', '$2y$10$rpHw2boG6S.05hQX2xc4cedE1XZF3PrIqVtXMAS5cH6ISG0.nuVUK', NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, 'en', 'active', 'disable', NULL, NULL, 0, NULL, 0, 0, NULL, NULL, NULL, 1, 1, 1, NULL, '2023-06-23 07:39:31', '2023-06-23 07:39:31', 0, NULL, NULL, NULL, NULL);
INSERT INTO `users` VALUES (11, 1, 'Razzak', 'razzak@gmail.com', '$2y$10$3QiyaUrsPZ/yUsKA/jpAn.hpgF9HZTbzeKSZtwpPvj4Qa0jlKXnx6', NULL, NULL, 0, 0, NULL, 93, NULL, 'male', 'mr', 'en', 'active', 'disable', NULL, NULL, 1, 1, 0, 0, NULL, NULL, NULL, 1, 1, 1, NULL, '2023-06-23 09:52:47', '2023-06-23 09:52:47', 0, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for users_chat
-- ----------------------------
CREATE TABLE `users_chat`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_one` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `message` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `from` int UNSIGNED NULL DEFAULT NULL,
  `to` int UNSIGNED NULL DEFAULT NULL,
  `message_seen` enum('yes','no') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `notification_sent` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `users_chat_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `users_chat_user_one_foreign`(`user_one` ASC) USING BTREE,
  INDEX `users_chat_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `users_chat_from_foreign`(`from` ASC) USING BTREE,
  INDEX `users_chat_to_foreign`(`to` ASC) USING BTREE,
  CONSTRAINT `users_chat_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_ibfk_2` FOREIGN KEY (`from`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_ibfk_3` FOREIGN KEY (`to`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_ibfk_5` FOREIGN KEY (`user_one`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of users_chat
-- ----------------------------

-- ----------------------------
-- Table structure for users_chat_files
-- ----------------------------
CREATE TABLE `users_chat_files`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `users_chat_id` int UNSIGNED NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `google_url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `hashname` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `external_link_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `users_chat_files_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `users_chat_files_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `users_chat_files_users_chat_id_foreign`(`users_chat_id` ASC) USING BTREE,
  CONSTRAINT `users_chat_files_ibfk_1` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_files_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `users_chat_files_ibfk_3` FOREIGN KEY (`users_chat_id`) REFERENCES `users_chat` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of users_chat_files
-- ----------------------------

-- ----------------------------
-- Table structure for visa_details
-- ----------------------------
CREATE TABLE `visa_details`  (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `company_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `country_id` int UNSIGNED NULL DEFAULT NULL,
  `added_by` int UNSIGNED NULL DEFAULT NULL,
  `visa_number` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `issue_date` date NOT NULL,
  `expiry_date` date NOT NULL,
  `file` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `visa_details_company_id_foreign`(`company_id` ASC) USING BTREE,
  INDEX `visa_details_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `visa_details_added_by_foreign`(`added_by` ASC) USING BTREE,
  INDEX `visa_details_country_id_foreign`(`country_id` ASC) USING BTREE,
  CONSTRAINT `visa_details_ibfk_1` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `visa_details_ibfk_2` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `visa_details_ibfk_3` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `visa_details_ibfk_4` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of visa_details
-- ----------------------------

