-- Table structure for table `sm_leave_deduction_infos`
--

CREATE TABLE `sm_leave_deduction_infos` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `staff_id` int(11) DEFAULT NULL,
  `payroll_id` int(11) DEFAULT NULL,
  `extra_leave` int(11) DEFAULT NULL,
  `salary_deduct` int(11) DEFAULT NULL,
  `pay_month` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pay_year` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) DEFAULT '0',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_leave_defines`
--

CREATE TABLE `sm_leave_defines` (
  `id` int(10) UNSIGNED NOT NULL,
  `days` int(10) UNSIGNED DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `type_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `total_days` int(10) UNSIGNED DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_leave_requests`
--

CREATE TABLE `sm_leave_requests` (
  `id` int(10) UNSIGNED NOT NULL,
  `apply_date` date DEFAULT NULL,
  `leave_from` date DEFAULT NULL,
  `leave_to` date DEFAULT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci,
  `note` text COLLATE utf8mb4_unicode_ci,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approve_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'P for Pending, A for Approve, R for reject',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `leave_define_id` int(10) UNSIGNED DEFAULT NULL,
  `staff_id` int(10) UNSIGNED DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `type_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_leave_types`
--

CREATE TABLE `sm_leave_types` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_days` int(10) UNSIGNED DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_lessons`
--

CREATE TABLE `sm_lessons` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `lesson_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` int(11) NOT NULL DEFAULT '1',
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_lesson_details`
--

CREATE TABLE `sm_lesson_details` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `lesson_id` int(11) NOT NULL,
  `lesson_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `active_status` int(11) NOT NULL DEFAULT '1',
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_lesson_topics`
--

CREATE TABLE `sm_lesson_topics` (
  `id` int(10) UNSIGNED NOT NULL,
  `lesson_id` int(11) NOT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `active_status` int(11) NOT NULL DEFAULT '1',
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_lesson_topic_details`
--

CREATE TABLE `sm_lesson_topic_details` (
  `id` int(10) UNSIGNED NOT NULL,
  `lesson_id` int(11) DEFAULT NULL,
  `topic_title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `completed_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `competed_date` date DEFAULT NULL,
  `active_status` int(11) NOT NULL DEFAULT '1',
  `topic_id` int(10) UNSIGNED DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_library_members`
--

CREATE TABLE `sm_library_members` (
  `id` int(10) UNSIGNED NOT NULL,
  `member_ud_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `member_type` int(10) UNSIGNED DEFAULT NULL,
  `student_staff_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_marks_grades`
--

CREATE TABLE `sm_marks_grades` (
  `id` int(10) UNSIGNED NOT NULL,
  `grade_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gpa` double(8,2) DEFAULT NULL,
  `from` double(8,2) DEFAULT NULL,
  `up` double(8,2) DEFAULT NULL,
  `percent_from` double(8,2) DEFAULT NULL,
  `percent_upto` double(8,2) DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_marks_grades`
--

INSERT INTO `sm_marks_grades` (`id`, `grade_name`, `gpa`, `from`, `up`, `percent_from`, `percent_upto`, `description`, `active_status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`, `academic_id`) VALUES
(1, 'A+', 5.00, 5.00, 5.99, 80.00, 100.00, 'Outstanding !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(2, 'A', 4.00, 4.00, 4.99, 70.00, 79.00, 'Very Good !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(3, 'A-', 3.50, 3.50, 3.99, 60.00, 69.00, 'Good !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(4, 'B', 3.00, 3.00, 3.49, 50.00, 59.00, 'Outstanding !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(5, 'C', 2.00, 2.00, 2.99, 40.00, 49.00, 'Bad !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(6, 'D', 1.00, 1.00, 1.99, 33.00, 39.00, 'Very Bad !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1),
(7, 'F', 0.00, 0.00, 0.99, 0.00, 32.00, 'Failed !', 1, '2022-02-17 02:18:15', '2022-02-17 14:18:15', 1, 1, 1, 1);

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

--
-- Table structure for table `sm_marks_registers`
--

CREATE TABLE `sm_marks_registers` (
  `id` int(10) UNSIGNED NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `exam_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_marks_register_children`
--

CREATE TABLE `sm_marks_register_children` (
  `id` int(10) UNSIGNED NOT NULL,
  `marks` int(11) DEFAULT NULL,
  `abs` int(11) NOT NULL DEFAULT '0' COMMENT '1 for absent, 0 for present',
  `gpa_point` double(8,2) DEFAULT NULL,
  `gpa_grade` varchar(55) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `marks_register_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_marks_send_sms`
--

CREATE TABLE `sm_marks_send_sms` (
  `id` int(10) UNSIGNED NOT NULL,
  `sms_send_status` tinyint(4) NOT NULL DEFAULT '1',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exam_id` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_mark_stores`
--

CREATE TABLE `sm_mark_stores` (
  `id` int(10) UNSIGNED NOT NULL,
  `student_roll_no` int(11) NOT NULL DEFAULT '1',
  `student_addmission_no` int(11) NOT NULL DEFAULT '1',
  `total_marks` double(8,2) NOT NULL DEFAULT '0.00',
  `is_absent` tinyint(4) NOT NULL DEFAULT '1',
  `teacher_remarks` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `exam_term_id` int(10) UNSIGNED DEFAULT NULL,
  `exam_setup_id` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_modules`
--

CREATE TABLE `sm_modules` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `order` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_modules`
--

INSERT INTO `sm_modules` (`id`, `name`, `active_status`, `order`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 'Dashboard', 1, 0, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(2, 'Admin Section', 1, 1, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(3, 'Student Information', 1, 2, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(4, 'Teacher', 1, 3, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(5, 'Fees Collection', 1, 4, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(6, 'Accounts', 1, 5, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(7, 'Human resource', 1, 6, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(8, 'Leave Application', 1, 7, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(9, 'Examination', 1, 8, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(10, 'Academics', 1, 9, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(11, 'HomeWork', 1, 10, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(12, 'Communicate', 1, 11, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(13, 'Library', 1, 12, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(14, 'Inventory', 1, 13, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(15, 'Transport', 1, 14, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(16, 'Dormitory', 1, 15, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(17, 'Reports', 1, 16, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(18, 'System Settings', 1, 17, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(19, 'Common', 1, 18, '2022-02-17 02:18:31', NULL, 1, 1, 1),
(20, 'Lesson', 1, 19, '2022-02-17 02:18:31', NULL, 1, 1, 1);

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

--
-- Table structure for table `sm_module_links`
--

CREATE TABLE `sm_module_links` (
  `id` int(10) UNSIGNED NOT NULL,
  `module_id` int(10) UNSIGNED DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `route` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_module_links`
--

INSERT INTO `sm_module_links` (`id`, `module_id`, `name`, `route`, `active_status`, `created_by`, `updated_by`, `school_id`, `created_at`, `updated_at`) VALUES
(1, 1, 'Dashboard Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(2, 1, '➡ Number of Student', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(3, 1, '➡ Number of Teacher', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(4, 1, '➡ Number of Parents', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(5, 1, '➡ Number of Staff', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(6, 1, '➡ Current Month Income and Expense Chart', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(7, 1, '➡ Current Year Income and Expense Chart', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(8, 1, '➡ Notice Board', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(9, 1, '➡ Calendar Section', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(10, 1, '➡ To Do list', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(11, 2, 'Admin Section Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(12, 2, 'Admission Query menu', 'admission-query', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(13, 2, '➡ Create Query Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(14, 2, '➡ Create Query Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(15, 2, '➡ Create Query Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(16, 2, 'Visitor Book Menu', 'visitor', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(17, 2, '➡ Visitor  Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(18, 2, '➡ Visitor Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(19, 2, '➡ Visitor Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(20, 2, '➡ Visitor Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(21, 2, 'Complaint Menu', 'complaint', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(22, 2, '➡ Complaint Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(23, 2, '➡ Complaint Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(24, 2, '➡ Complaint Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(25, 2, '➡ Complaint Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(26, 2, '➡ Complaint View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(27, 2, 'Postal Receive Menu', 'postal-receive', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(28, 2, '➡ Postal Receive Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(29, 2, '➡ Postal Receive Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(30, 2, '➡ Postal Receive Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(31, 2, '➡ Postal Receive Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(32, 2, 'Postal Dispatch Menu', 'postal-dispatch', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(33, 2, '➡ Postal Dispatch Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(34, 2, '➡ Postal Dispatch Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(35, 2, '➡ Postal Dispatch Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(36, 2, 'Phone Call Log Menu', 'phone-call', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(37, 2, '➡ Phone Call Log Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(38, 2, '➡ Phone Call Log Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(39, 2, '➡ Phone Call Log Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(40, 2, '➡ Phone Call Log Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(41, 2, 'Admin Setup Menu', 'setup-admin', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(42, 2, '➡ Admin Setup Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(43, 2, '➡ Admin Setup Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(44, 2, '➡ Admin Setup Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(45, 2, 'Student ID Menu', 'student-id-card', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(46, 2, '➡ Student ID Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(47, 2, '➡ Student ID Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(48, 2, '➡ Student ID Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(49, 2, 'Student Certificate Menu', 'student-certificate', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(50, 2, '➡ Student Certificate Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(51, 2, '➡ Student Certificate Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(52, 2, '➡ Student Certificate Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(53, 2, 'Generate Certificate Menu', 'generate-certificate', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(54, 2, '➡ Generate Certificate Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(55, 2, '➡ Generate Certificate Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(56, 2, '➡ Generate Certificate Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(57, 2, 'Generate ID Card Menu', 'generate-id-card', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(58, 2, '➡ Generate ID Card Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(59, 2, '➡ Generate ID Card Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(60, 2, '➡ Generate ID Card Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(61, 3, 'Student Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(62, 3, 'Student Admission Menu', 'student-admission', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(63, 3, '➡ Import Student', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(64, 3, 'Student List Menu', 'student-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(65, 3, '➡ Student List Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(66, 3, '➡ Student List Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(67, 3, '➡ Student List Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(68, 3, 'Student Attendance Menu', 'student-attendance', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(69, 3, '➡ Student Attendance Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(70, 3, 'Student Attendance Report Menu', 'student-attendance-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(71, 3, 'Student Category Menu', 'student-category', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(72, 3, '➡ Student Category Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(73, 3, '➡ Student Category Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(74, 3, '➡ Student Category Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(75, 3, '➡ Student Category Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(76, 3, 'Student Group Menu', 'student-group', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(77, 3, '➡ Student Group Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(79, 3, '➡ Student Group Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(80, 3, '➡ Student Group Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(81, 3, 'Student Promote Menu', 'student-promote', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(82, 3, '➡ Student Promote Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(83, 3, 'Disabled Students Menu', 'disabled-student', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(84, 3, '➡ Disabled Students Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(85, 3, '➡ Disabled Students Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(86, 3, '➡ Disabled Students Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(87, 4, 'Teacher Section Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(88, 4, 'Upload Content Menu', 'upload-content', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(89, 4, '➡ Create Content Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(90, 4, '➡ Content Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(91, 4, '➡ Content Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(92, 4, 'Assignment Menu', 'assignment-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(93, 4, '➡ Create Assignment Add', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(94, 4, '➡ Assignment Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(95, 4, '➡ Assignment Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(96, 4, 'Study Material Menu', 'study-metarial-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(97, 4, '➡ Create Study Material Add', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(98, 4, '➡ Study Material Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(99, 4, '➡ Study Material Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(100, 4, 'Syllabus Menu', 'syllabus-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(101, 4, '➡ Create Study Syllabus Add', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(102, 4, '➡ Study Syllabus Edit', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(103, 4, '➡ Study Syllabus Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(104, 4, '➡ Study Syllabus Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(105, 4, 'Other Downloads Menu', 'other-download-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(106, 4, '➡ Other Downloads Download', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(107, 4, '➡ Other Downloads Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(108, 5, 'Fees Collection Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(109, 5, 'Collect Fees Menu', 'collect-fees', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(110, 5, '➡ Create Collect Fees', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(111, 5, '➡ Collect Fees Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(112, 5, '➡ Collect Fees Print', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(113, 5, 'Search Fees Payment Menu', 'search-fees-payment', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(114, 5, '➡ Create Search Fees Payment Add', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(115, 5, '➡ Search Fees Payment View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(116, 5, 'Search Fees Due Menu', 'search-fees-due', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(117, 5, '➡ Search Fees Due View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(118, 5, 'Fees Master Menu', 'fees-master', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(119, 5, '➡ Create Fees Master Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(120, 5, '➡ Fees Master Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(121, 5, '➡ Fees Master Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(122, 5, '➡ Fees Master Assign', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(123, 5, 'Fees Group Menu', 'fees-group', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(124, 5, '➡ Create Fees Group Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(125, 5, '➡ Fees Group Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(126, 5, '➡ Fees Group Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(127, 5, 'Fees Type Menu', 'fees-type', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(128, 5, '➡ Create Fees Type Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(129, 5, '➡ Fees Type Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(130, 5, '➡ Fees Type Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(131, 5, 'Fees Discount Menu', 'fees-discount', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(132, 5, '➡ Create Fees Discount Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(133, 5, '➡ Fees Discount Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(134, 5, '➡ Fees Discount Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(135, 5, '➡ Fees Discount Assign', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(136, 5, 'Fees Carry Forward Menu', 'fees-forward', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(137, 6, 'Accounts Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(138, 6, 'Profit Menu', 'profit', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(139, 6, 'Income Menu', 'add-income', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(140, 6, '➡ Create Income Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(141, 6, '➡ Income Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(142, 6, '➡ Income Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(143, 6, 'Expense Menu', 'add-expense', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(144, 6, '➡ Create Expense Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(145, 6, '➡ Expense Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(146, 6, '➡ Expense Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(147, 6, 'Search Menu', 'search-account', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(148, 6, 'Chart of Account Menu', 'chart-of-account', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(149, 6, '➡ Create Chart of Account Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(150, 6, '➡ Chart of Account Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(151, 6, '➡ Chart of Account Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(152, 6, 'Payment method Menu', 'payment-method', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(153, 6, '➡ Create Payment method Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(154, 6, '➡ Payment method Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(155, 6, '➡ Payment method Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(156, 6, 'Bank Account Menu', 'bank-account', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(157, 6, '➡ Create Bank Account Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(158, 6, '➡ Bank Account Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(159, 6, '➡ Bank Account Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(160, 7, 'Human Resource Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(161, 7, 'Staff Directory Menu', 'staff-directory', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(162, 7, '➡ Staff Directory Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(163, 7, '➡ Staff Directory Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(164, 7, '➡ Staff Directory Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(165, 7, 'Staff Attendance Menu', 'staff-attendance', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(166, 7, '➡ Staff Attendance Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(167, 7, '➡ Staff Attendance Edit', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(168, 7, '➡ Staff Attendance Delete', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(169, 7, 'Staff Attendance Report Menu', 'staff-attendance-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(170, 7, 'Payroll Menu', 'payroll', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(171, 7, '➡ Payroll Edit', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(172, 7, '➡ Payroll Delete', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(173, 7, '➡ Payroll Search', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(174, 7, '➡ Generate Payroll', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(175, 7, '➡ Payroll Create', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(176, 7, '➡ Payroll Proceed To Pay', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(177, 7, '➡ View Payslip', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(178, 7, 'Payroll Report Menu', 'payroll-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(179, 7, '➡ Payroll Report Search', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(180, 7, 'Designations Menu', 'designation', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(181, 7, '➡ Designations Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(182, 7, '➡ Designations Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(183, 7, '➡ Designations Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(184, 7, 'Departments Menu', 'department', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(185, 7, '➡ Departments Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(186, 7, '➡ Departments Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(187, 7, '➡ Departments Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(188, 8, 'Leave Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(189, 8, 'Approve Leave Menu', 'approve-leave', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(190, 8, '➡ Approve Leave Add', '', 0, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(191, 8, '➡ Approve Leave Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(192, 8, '➡ Approve Leave Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(193, 8, 'Apply Leave Menu', 'apply-leave', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(194, 8, '➡ Apply Leave View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(195, 8, '➡ Apply Leave Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(196, 8, 'Pending Leave Menu', 'pending-leave', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(197, 8, '➡ Pending Leave View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(198, 8, '➡ Pending Leave Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(199, 8, 'Leave Define Menu', 'leave-define', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(200, 8, '➡ Leave Define Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(201, 8, '➡ Leave Define Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(202, 8, '➡ Leave Define Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(203, 8, 'Leave Type Menu', 'leave-type', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(204, 8, '➡ Leave Type Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(205, 8, '➡ Leave Type Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(206, 8, '➡ Leave Type Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(207, 9, 'Examination Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(208, 9, 'Add Exam Type Menu', 'exam-type', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(209, 9, '➡ Add Exam Type Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(210, 9, '➡ Add Exam Type Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(211, 9, '➡ Add Exam Type Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(214, 9, 'Exam Setup Menu', 'exam', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(215, 9, '➡ Exam Setup Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(216, 9, '➡ Exam Setup Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(217, 9, 'Exam Schedule Menu', 'exam-schedule', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(218, 9, '➡ Exam Schedule Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(219, 9, '➡ Exam Schedule Create', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(220, 9, 'Exam Attendance Menu', 'exam-attendance', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(221, 9, '➡ Exam Attendance Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(222, 9, 'Marks Register Menu', 'marks-register', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(223, 9, '➡ Marks Register Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(224, 9, '➡ Marks Register Create', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(225, 9, 'Marks Grade Menu', 'marks-grade', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(226, 9, '➡ Marks Grade Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(227, 9, '➡ Marks Grade Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(228, 9, '➡ Marks Grade Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(229, 9, 'Send Marks By SMS Menu', 'send-marks-by-sms', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(230, 9, 'Question Group Menu', 'question-group', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(231, 9, '➡ Question Group Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(232, 9, '➡ Question Group Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(233, 9, '➡ Question Group Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(234, 9, 'Question Bank Menu', 'question-bank', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(235, 9, '➡ Question Bank Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(236, 9, '➡ Question Bank Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(237, 9, '➡ Question Bank Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(238, 9, 'Online Exam Menu', 'online-exam', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(239, 9, '➡ Online Exam Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(240, 9, '➡ Online Exam Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(241, 9, '➡ Online Exam Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(242, 9, '➡ Online Exam Manage Question', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(243, 9, '➡ Online Exam Marks Register', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(244, 9, '➡ Online Exam Result', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(245, 10, 'Academics Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(246, 10, 'Class Routine Menu', 'class-routine-new', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(247, 10, '➡ Class Routine Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(248, 10, '➡ Class Routine Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(249, 10, '➡ Class Routine Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(250, 10, 'Assign Subject Menu', 'assign-subject', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(251, 10, '➡ Assign Subject Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(252, 10, '➡ Assign Subject Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(253, 10, 'Assign Class Teacher Menu', 'assign-class-teacher', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(254, 10, '➡ Assign Class Teacher Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(255, 10, '➡ Assign Class Teacher Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(256, 10, '➡ Assign Class Teacher Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(257, 10, 'Subjects Menu', 'subject', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(258, 10, '➡ Subjects Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(259, 10, '➡ Subjects Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(260, 10, '➡ Subjects Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(261, 10, 'Class Menu', 'class', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(262, 10, '➡ Class Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(263, 10, '➡ Class Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(264, 10, '➡ Class Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(265, 10, 'Section Menu', 'section', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(266, 10, '➡ Section Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(267, 10, '➡ Section Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(268, 10, '➡ Section Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(269, 10, 'Class Room Menu', 'class-room', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(270, 10, '➡ Class Room Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(271, 10, '➡ Class Room Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(272, 10, '➡ Class Room Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(273, 10, 'CL/EX Time Setup Menu', 'class-time', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(274, 10, '➡ CL/EX Time Setup Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(275, 10, '➡ CL/EX Time Setup Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(276, 10, '➡ CL/EX Time Setup Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(277, 11, 'Homework Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(278, 11, 'Add Homework Menu', 'add-homeworks', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(279, 11, '➡ Create Homework Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(280, 11, 'Homework List Menu', 'homework-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(281, 11, '➡ Homework List Evaluation', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(282, 11, '➡ Homework List Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(283, 11, '➡ Homework List Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(284, 11, 'Homework Evaluation Report Menu', 'evaluation-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(285, 11, '➡ Homework Evaluation Report View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(286, 12, 'Communicate Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(287, 12, 'Notice Board Menu', 'notice-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(288, 12, '➡ Create Notice Board Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(289, 12, '➡ Create Notice Board Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(290, 12, '➡ Create Notice Board Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(291, 12, 'Send Email / SMS  Menu', 'send-email-sms-view', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(292, 12, '➡ Send Email / SMS  Send', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(293, 12, 'Email / SMS Log Menu', 'email-sms-log', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(294, 12, 'Event Menu', 'event', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(295, 12, '➡ Event Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(296, 12, '➡ Event Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(297, 12, '➡ Event Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(298, 13, 'Library Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(299, 13, 'Add Book Menu', 'add-book', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(300, 13, '➡ Create Add Book Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(301, 13, 'Book List  Menu', 'book-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(302, 13, '➡ Create Book List Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(303, 13, '➡ Create Book List Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(304, 13, 'Book Category Menu', 'book-category-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(305, 13, '➡ Book Category Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(306, 13, '➡ Book Category Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(307, 13, '➡ Book Category Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(308, 13, 'Add Member Menu', 'library-member', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(309, 13, '➡ Add Member Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(310, 13, '➡ Add Member Cancel', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(311, 13, 'Issue/Return Book Menu', 'member-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(312, 13, '➡ Issue/Return Book Issue', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(313, 13, '➡ Issue/Return Book Return', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(314, 13, 'All Issued Book', 'all-issed-book', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(315, 14, 'Inventory Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(316, 14, 'Item Category Menu', 'item-category', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(317, 14, '➡ Create Item Category Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(318, 14, '➡ Create Item Category Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(319, 14, '➡ Item Category Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(320, 14, 'Item List Menu', 'item-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(321, 14, '➡ Create Item List Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(322, 14, '➡ Item List Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(323, 14, '➡ Item List Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(324, 14, 'Item Store Menu', 'item-store', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(325, 14, '➡ Create Item Store Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(326, 14, '➡ Item Store Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(327, 14, '➡ Item Store Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(328, 14, 'Supplier Menu', 'suppliers', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(329, 14, '➡ Create Supplier Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(330, 14, '➡ Supplier Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(331, 14, '➡ Supplier Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(332, 14, 'Item Receive Menu', 'item-receive', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(333, 14, '➡ Create Item Receive Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(334, 14, 'Item Receive List Menu', 'item-receive-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(335, 14, '➡ Create Item Receive List Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(336, 14, '➡ Item Receive List Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(337, 14, '➡ Item Receive List View', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(338, 14, '➡ Item Receive List Cancel', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(339, 14, 'Item Sell Menu', 'item-sell-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(340, 14, '➡ Create Item Sell Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(341, 14, '➡ Item Sell Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(342, 14, '➡ Item Sell Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(343, 14, '➡ Add Payment', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(344, 14, '➡ View Payment', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(345, 14, 'Item Issue Menu', 'item-issue', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(346, 14, '➡ Create Item Issue Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(347, 14, '➡ Item Issue Return', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(348, 15, 'Transport Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(349, 15, 'Routes Menu', 'transport-route', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(350, 15, '➡ Create Routes Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(351, 15, '➡ Create Routes Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(352, 15, '➡ Create Routes Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(353, 15, 'Vehicle Menu', 'vehicle', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(354, 15, '➡ Create Vehicle Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(355, 15, '➡ Create Vehicle Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(356, 15, '➡ Create Vehicle Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(357, 15, 'Assign Vehicle Menu', 'assign-vehicle', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(358, 15, '➡ Create Assign Vehicle Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(359, 15, '➡ Create Assign Vehicle Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(360, 15, '➡ Create Assign Vehicle Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(361, 15, 'Student Transport Report Menu', 'student-transport-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(362, 16, 'Dormitory Menu', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(363, 16, 'Dormitory Rooms Menu', 'room-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(364, 16, '➡ Create Dormitory Rooms Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(365, 16, '➡ Create Dormitory Rooms Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(366, 16, '➡ Create Dormitory Rooms Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(367, 16, 'Dormitory Menu', 'dormitory-list', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(368, 16, '➡ Create Dormitory Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(369, 16, '➡ Create Dormitory Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(370, 16, '➡ Create Dormitory Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(371, 16, 'Room Type Menu', 'room-type', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(372, 16, '➡ Create Room Type Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(373, 16, '➡ Create Room Type Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(374, 16, '➡ Create Room Type Delete', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(375, 16, 'Student Dormitory Report Menu', 'student-dormitory-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(376, 17, 'Reports Menu', 'student-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(377, 17, 'Guardian Report Menu', 'guardian-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(378, 17, 'Student History Menu', 'student-history', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(379, 17, 'Student Login Report', 'student-login-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(380, 17, '➡ Student Login Report Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(381, 17, 'Fees Statement Menu', 'fees-statement', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(382, 17, 'Balance Fees Report Menu', 'balance-fees-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(383, 17, 'Transaction Report Menu', 'transaction-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(384, 17, 'Class Report Menu', 'class-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(385, 17, 'Class Routine Menu', 'class-routine-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(386, 17, 'Exam Routine Menu', 'exam-routine-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(387, 17, 'Teacher Class Routine Menu', 'teacher-class-routine-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(388, 17, 'Merit List Report Menu', 'merit-list-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(389, 17, 'Online Exam Report Menu', 'online-exam-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(390, 17, 'Mark Sheet Report Menu', 'mark-sheet-report-student', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(391, 17, 'Tabulation Sheet Report Menu', 'tabulation-sheet-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(392, 17, 'Progress Card Report Menu', 'progress-card-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(393, 17, 'Student Fine Report Menu', 'student-fine-report', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(394, 17, 'User Log Menu', 'user-log', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(395, 8, '➡ Apply Leave Add', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(396, 8, '➡ Apply Leave Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(397, 9, '➡ Exam Setup Edit', '', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22');

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

--
-- Table structure for table `sm_module_permissions`
--

CREATE TABLE `sm_module_permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `dashboard_id` int(11) DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_module_permissions`
--

INSERT INTO `sm_module_permissions` (`id`, `dashboard_id`, `name`, `active_status`, `created_by`, `updated_by`, `school_id`, `created_at`, `updated_at`) VALUES
(1, 1, 'Dashboard', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(2, 1, 'Admin Section', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(3, 1, 'Student Information', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(4, 1, 'Teacher', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(5, 1, 'Fees Collection', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(6, 1, 'Accounts', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(7, 1, 'Human Resource', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(8, 1, 'Leave Application', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(9, 1, 'Examination', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(10, 1, 'Academics', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(11, 1, 'Homework', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(12, 1, 'Communicate', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(13, 1, 'Library', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(14, 1, 'Inventory', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(15, 1, 'Transport', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(16, 1, 'Dormitory', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(17, 1, 'Reports', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(18, 1, 'System Settings', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(19, 1, 'Style', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(20, 1, 'API Permission', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(21, 1, 'Front Settings', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(22, 2, 'My Profile', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(23, 2, 'Fees', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(24, 2, 'Class Routine', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(25, 2, 'Homework', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(26, 2, 'Download Center', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(27, 2, 'Attendance', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(28, 2, 'Examinations', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(29, 2, 'Online Exam', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(30, 2, 'Notice Board', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(31, 2, 'Subjects', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(32, 2, 'Teacher', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(33, 2, 'Library', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(34, 2, 'Transfort', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(35, 2, 'Dormitory', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(36, 3, 'My Children', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(37, 3, 'Fees', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(38, 3, 'Class Routine', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(39, 3, 'Homework', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(40, 3, 'Attendance', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(41, 3, 'Exam Result', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(42, 3, 'Notice Board', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(43, 3, 'Subjects', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(44, 3, 'Teacher', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(45, 3, 'Transfort', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22'),
(46, 3, 'Dormitory', 1, 1, 1, 1, '2019-07-24 20:21:21', '2019-07-24 22:24:22');

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

--
-- Table structure for table `sm_module_permission_assigns`
--

CREATE TABLE `sm_module_permission_assigns` (
  `id` int(10) UNSIGNED NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `module_id` int(10) UNSIGNED DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_module_permission_assigns`
--

INSERT INTO `sm_module_permission_assigns` (`id`, `active_status`, `created_at`, `updated_at`, `module_id`, `role_id`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 1, 1, 1, 1, 1),
(2, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 2, 1, 1, 1, 1),
(3, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 3, 1, 1, 1, 1),
(4, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 4, 1, 1, 1, 1),
(5, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 5, 1, 1, 1, 1),
(6, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 6, 1, 1, 1, 1),
(7, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 7, 1, 1, 1, 1),
(8, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 8, 1, 1, 1, 1),
(9, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 9, 1, 1, 1, 1),
(10, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 10, 1, 1, 1, 1),
(11, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 11, 1, 1, 1, 1),
(12, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 12, 1, 1, 1, 1),
(13, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 13, 1, 1, 1, 1),
(14, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 14, 1, 1, 1, 1),
(15, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 15, 1, 1, 1, 1),
(16, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 16, 1, 1, 1, 1),
(17, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 17, 1, 1, 1, 1),
(18, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 18, 1, 1, 1, 1),
(19, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 19, 1, 1, 1, 1),
(20, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 20, 1, 1, 1, 1),
(21, 1, '2019-11-18 02:14:09', '2019-11-18 02:14:09', 21, 1, 1, 1, 1),
(127, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 22, 2, 1, 1, 1),
(128, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 23, 2, 1, 1, 1),
(129, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 24, 2, 1, 1, 1),
(130, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 25, 2, 1, 1, 1),
(131, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 26, 2, 1, 1, 1),
(132, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 27, 2, 1, 1, 1),
(133, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 28, 2, 1, 1, 1),
(134, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 29, 2, 1, 1, 1),
(135, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 30, 2, 1, 1, 1),
(136, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 31, 2, 1, 1, 1),
(137, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 32, 2, 1, 1, 1),
(138, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 33, 2, 1, 1, 1),
(139, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 34, 2, 1, 1, 1),
(140, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 35, 2, 1, 1, 1),
(141, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 36, 3, 1, 1, 1),
(142, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 37, 3, 1, 1, 1),
(143, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 38, 3, 1, 1, 1),
(144, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 39, 3, 1, 1, 1),
(145, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 40, 3, 1, 1, 1),
(146, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 41, 3, 1, 1, 1),
(147, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 42, 3, 1, 1, 1),
(148, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 43, 3, 1, 1, 1),
(149, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 44, 3, 1, 1, 1),
(150, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 45, 3, 1, 1, 1),
(151, 1, '2019-11-18 02:14:10', '2019-11-18 02:14:10', 46, 3, 1, 1, 1),
(167, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 2, 5, 1, 1, 1),
(168, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 3, 5, 1, 1, 1),
(169, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 4, 5, 1, 1, 1),
(170, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 5, 5, 1, 1, 1),
(171, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 6, 5, 1, 1, 1),
(172, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 7, 5, 1, 1, 1),
(173, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 8, 5, 1, 1, 1),
(174, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 9, 5, 1, 1, 1),
(175, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 10, 5, 1, 1, 1),
(176, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 11, 5, 1, 1, 1),
(177, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 12, 5, 1, 1, 1),
(178, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 13, 5, 1, 1, 1),
(179, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 14, 5, 1, 1, 1),
(180, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 15, 5, 1, 1, 1),
(181, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 16, 5, 1, 1, 1),
(182, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 17, 5, 1, 1, 1),
(183, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 19, 5, 1, 1, 1),
(184, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 20, 5, 1, 1, 1),
(185, 1, '2019-12-03 04:55:49', '2019-12-03 04:55:49', 21, 5, 1, 1, 1),
(197, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 3, 4, 1, 1, 1),
(198, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 4, 4, 1, 1, 1),
(199, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 8, 4, 1, 1, 1),
(200, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 9, 4, 1, 1, 1),
(201, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 10, 4, 1, 1, 1),
(202, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 11, 4, 1, 1, 1),
(203, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 17, 4, 1, 1, 1),
(204, 1, '2019-12-03 05:14:06', '2019-12-03 05:14:06', 19, 4, 1, 1, 1),
(205, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 3, 6, 1, 1, 1),
(206, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 5, 6, 1, 1, 1),
(207, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 6, 6, 1, 1, 1),
(208, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 7, 6, 1, 1, 1),
(209, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 14, 6, 1, 1, 1),
(210, 1, '2019-12-03 05:16:38', '2019-12-03 05:16:38', 17, 6, 1, 1, 1),
(211, 1, '2019-12-03 05:17:09', '2019-12-03 05:17:09', 2, 7, 1, 1, 1),
(212, 1, '2019-12-03 05:17:09', '2019-12-03 05:17:09', 3, 7, 1, 1, 1),
(213, 1, '2019-12-03 05:17:09', '2019-12-03 05:17:09', 7, 7, 1, 1, 1),
(214, 1, '2019-12-03 05:17:30', '2019-12-03 05:17:30', 3, 8, 1, 1, 1),
(215, 1, '2019-12-03 05:17:30', '2019-12-03 05:17:30', 7, 8, 1, 1, 1),
(216, 1, '2019-12-03 05:17:30', '2019-12-03 05:17:30', 13, 8, 1, 1, 1);

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

--
-- Table structure for table `sm_news`
--

CREATE TABLE `sm_news` (
  `id` int(10) UNSIGNED NOT NULL,
  `news_title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `view_count` int(11) DEFAULT NULL,
  `active_status` int(11) DEFAULT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `image_thumb` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `news_body` longtext COLLATE utf8mb4_unicode_ci,
  `publish_date` date DEFAULT NULL,
  `order` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `category_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_news`
--

INSERT INTO `sm_news` (`id`, `news_title`, `view_count`, `active_status`, `image`, `image_thumb`, `news_body`, `publish_date`, `order`, `created_at`, `updated_at`, `category_id`, `created_by`, `updated_by`, `school_id`, `academic_id`) VALUES
(1, 'Quis sequi qui id quis.', 0, 1, 'public/uploads/news/news1.jpg', NULL, 'Quia iure ipsam commodi eius ut. Reiciendis provident dolores fuga debitis commodi. Quia ut autem velit porro quia explicabo. Aut cupiditate aliquam maxime. Fugiat esse expedita ea non explicabo qui autem. Ea velit non repellat quia quibusdam. Qui expedita et debitis amet quos quidem. Sit soluta sit labore eius itaque alias suscipit. Assumenda occaecati et sunt maiores odio molestiae aspernatur. Id maiores aut maxime omnis odit voluptates iure. Impedit iure repudiandae consequatur velit.', '2019-06-02', '1', '2022-02-17 02:19:14', NULL, 1, 1, 1, 1, 1),
(2, 'Et velit enim at dolorem harum.', 5, 1, 'public/uploads/news/news2.jpg', NULL, 'Cupiditate velit aut sunt quis consequatur. Officia dolorem sit voluptatem vel quod. Quia nesciunt perferendis repellat quia error. Non dolorem quis ducimus dolorum voluptatibus. Incidunt et quis a rem voluptatem. Repellendus velit soluta numquam omnis tempore cumque quia quam. Consectetur aperiam ut laudantium. Ipsum unde sequi minus adipisci perspiciatis deleniti. Repellendus perspiciatis qui aut laboriosam sit et quod. Qui beatae consequuntur reiciendis omnis officia.', '2019-06-02', '2', '2022-02-17 02:19:14', NULL, 1, 1, 1, 1, 1),
(3, 'Ullam aspernatur perspiciatis ipsam.', 1, 1, 'public/uploads/news/news3.jpg', NULL, 'Consectetur voluptatem quas ducimus non et. In dolorem eos dolores eum eveniet. Nisi dignissimos ex quo deleniti aut consequuntur. Nobis dolorem magni non esse. Sed est dicta in necessitatibus quo. Est et in dolorem in. Architecto optio tempora tempora et. Libero ad possimus autem neque rerum ut. Quam exercitationem dolorem et inventore saepe minima. Voluptate libero suscipit placeat quia. Et unde aspernatur tempora vel itaque.', '2019-06-02', '3', '2022-02-17 02:19:14', NULL, 1, 1, 1, 1, 1),
(4, 'Voluptatem sunt nobis id eius qui sunt.', 7, 1, 'public/uploads/news/news4.jpg', NULL, 'Odio voluptas possimus facere at. Exercitationem aut quibusdam nisi qui minus qui. Repellat sint vitae dolorum in vero totam. Deserunt sunt aperiam veniam et quas eaque. Sint ut nesciunt eius voluptates impedit tempore velit. Recusandae et asperiores omnis consectetur commodi rerum nulla quam. Iste minima esse aspernatur quis reprehenderit ut corrupti. Occaecati enim odit nulla voluptatem nemo neque beatae.', '2019-06-02', '4', '2022-02-17 02:19:14', NULL, 1, 1, 1, 1, 1),
(5, 'Sed atque in et soluta dolorem odio et.', 8, 1, 'public/uploads/news/news5.jpg', NULL, 'Omnis natus dolore rerum aliquam illum. Aut minus quae ipsum ad voluptate. Vel totam aspernatur est et atque nihil a libero. Facilis rerum molestiae qui ipsam vel animi. Delectus occaecati a quas distinctio est. Amet incidunt molestias qui laudantium modi ut recusandae. Delectus numquam rerum quo eos. Nihil adipisci aut et consequatur dolor quo. Voluptatem veritatis maxime incidunt non. A et a voluptas quo. Laboriosam id ratione soluta qui. Aut repudiandae consequatur rem quam sit rerum.', '2019-06-02', '5', '2022-02-17 02:19:14', NULL, 2, 1, 1, 1, 1),
(6, 'Quidem ex in nesciunt.', 1, 1, 'public/uploads/news/news6.jpg', NULL, 'Eaque aut et excepturi veritatis et. Ipsa est dolores atque quia enim illum sunt. Exercitationem ut odit dolorem nesciunt quisquam fuga. Corporis ut corporis quas qui sed in autem est. Consequuntur ad soluta perspiciatis architecto vel. Et voluptatem illo explicabo repudiandae praesentium impedit cum iusto. Aspernatur eos omnis odit ducimus quidem laborum provident. Similique fuga architecto commodi aperiam. Ea enim dolor ea nam natus dolorem. Illum saepe ut enim natus recusandae.', '2019-06-02', '6', '2022-02-17 02:19:14', NULL, 2, 1, 1, 1, 1),
(7, 'Eos quis animi corrupti dolore.', 5, 1, 'public/uploads/news/news7.jpg', NULL, 'Suscipit tempora enim omnis quis recusandae laboriosam culpa vel. Neque aperiam et est reiciendis. Perspiciatis molestiae nisi voluptate aliquid nisi. Unde aut rerum exercitationem excepturi. Enim quia quam non similique. Sint commodi omnis qui quibusdam enim qui dignissimos. Doloribus alias sunt nam labore qui doloribus quae.', '2019-06-02', '7', '2022-02-17 02:19:14', NULL, 2, 1, 1, 1, 1),
(8, 'Totam voluptatem velit quaerat harum.', 2, 1, 'public/uploads/news/news8.jpg', NULL, 'Repellendus voluptatem enim inventore quia. Alias quos culpa placeat. Quibusdam nobis optio sed optio. Voluptates enim voluptatibus cupiditate sint aliquid veritatis. Et quas officiis molestiae ut ipsam sed repellendus eos. Sit sed eaque debitis veritatis perferendis. Sit officiis molestiae pariatur sed qui pariatur. Voluptatem dolore dolorum vel sit saepe. Eius aut eos non similique hic expedita. Odio sequi incidunt ea et in excepturi aspernatur.', '2019-06-02', '8', '2022-02-17 02:19:14', NULL, 2, 1, 1, 1, 1),
(9, 'Distinctio qui aut in aut atque.', 7, 1, 'public/uploads/news/news9.jpg', NULL, 'Et qui nisi eum mollitia veniam aut maiores. Quam reprehenderit aut quia iure voluptatum. Sunt sunt asperiores et dolor hic ut. Provident cumque aut quaerat qui expedita. Dolorem suscipit ipsa eveniet qui et et. Dolor id impedit nobis ea nostrum aut. Asperiores corporis quam aperiam aut soluta. Labore non assumenda nihil eius.', '2019-06-02', '9', '2022-02-17 02:19:14', NULL, 3, 1, 1, 1, 1),
(10, 'Et omnis iusto aut et.', 4, 1, 'public/uploads/news/news10.jpg', NULL, 'Molestiae voluptatum quidem ex repellendus. Beatae maxime quis molestias ex. Deserunt adipisci qui reprehenderit perferendis. Assumenda culpa facere placeat quos. Et harum tenetur et maxime ipsum deleniti vel quia. Quo consectetur ipsam nemo sit cum dolor. Nobis in nostrum in quos. Dolorem ut harum quia nulla earum. Aperiam autem laboriosam enim nesciunt nulla in voluptas. Omnis sint sapiente quo adipisci. Sequi assumenda qui blanditiis quaerat libero id perferendis.', '2019-06-02', '10', '2022-02-17 02:19:14', NULL, 3, 1, 1, 1, 1),
(11, 'Velit quaerat voluptates magnam aut.', 6, 1, 'public/uploads/news/news11.jpg', NULL, 'Debitis optio iure qui odit. Quibusdam omnis officiis doloribus voluptates. Voluptates corrupti dolore ut rerum. Dolores in aliquid ut deserunt molestiae exercitationem modi. Quam repellendus quia dolor perferendis distinctio cumque occaecati. Facere est cumque omnis quisquam. Libero atque officia et nostrum. Sequi cum nostrum quidem qui nisi voluptatum incidunt labore. Officiis nihil nihil rem ut ut.', '2019-06-02', '11', '2022-02-17 02:19:14', NULL, 3, 1, 1, 1, 1),
(12, 'Dolore et aut perspiciatis qui velit.', 6, 1, 'public/uploads/news/news12.jpg', NULL, 'Eveniet sequi occaecati ut architecto labore magnam. Molestiae soluta incidunt qui consectetur vel quo placeat. Molestiae earum tempore minima expedita excepturi praesentium. Unde iste maxime quia recusandae. Ullam quam placeat ea aperiam voluptatem. Autem provident et ratione vitae delectus. Distinctio deserunt et ratione velit. Reiciendis et praesentium error vel ex aut. Ut id similique est aut ut magni beatae. Corrupti laudantium quia nihil magni dolore.', '2019-06-02', '12', '2022-02-17 02:19:14', NULL, 3, 1, 1, 1, 1);

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

--
-- Table structure for table `sm_news_categories`
--

CREATE TABLE `sm_news_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `category_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'news',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `school_id` bigint(20) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_news_categories`
--

INSERT INTO `sm_news_categories` (`id`, `category_name`, `type`, `created_at`, `updated_at`, `school_id`) VALUES
(1, 'International', 'news', NULL, NULL, 1),
(2, 'Our history', 'history', NULL, NULL, 1),
(3, 'Our mission and vision', 'mission', NULL, NULL, 1),
(4, 'National', 'news', NULL, NULL, 1),
(5, 'Sports', 'news', NULL, NULL, 1);

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

--
-- Table structure for table `sm_news_pages`
--

CREATE TABLE `sm_news_pages` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `main_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `main_description` text COLLATE utf8mb4_unicode_ci,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `main_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `button_text` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `button_url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_news_pages`
--

INSERT INTO `sm_news_pages` (`id`, `created_at`, `updated_at`, `title`, `description`, `main_title`, `main_description`, `image`, `main_image`, `button_text`, `button_url`, `active_status`, `created_by`, `updated_by`, `school_id`) VALUES
(1, NULL, NULL, 'News Infix', 'Lisus consequat sapien metus dis urna, facilisi. Nonummy rutrum eu lacinia platea a, ipsum parturient, orci tristique. Nisi diam natoque.', 'Under Graduate Education', 'INFIX has all in one place. You’ll find everything what you are looking into education management system software. We care! User will never bothered in our real eye catchy user friendly UI & UX  Interface design. You know! Smart Idea always comes to well planners. And Our INFIX is Smart for its Well Documentation. Explore in new support world! It’s now faster & quicker. You’ll find us on Support Ticket, Email, Skype, WhatsApp.', 'public/uploads/about_page/about.jpg', 'public/uploads/about_page/about-img.jpg', 'Learn More News ', 'news-page', 1, 1, 1, 1);

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

--
-- Table structure for table `sm_notice_boards`
--

CREATE TABLE `sm_notice_boards` (
  `id` int(10) UNSIGNED NOT NULL,
  `notice_title` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notice_message` text COLLATE utf8mb4_unicode_ci,
  `notice_date` date DEFAULT NULL,
  `publish_on` date DEFAULT NULL,
  `inform_to` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Notice message sent to these roles',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `is_published` int(11) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_notifications`
--

CREATE TABLE `sm_notifications` (
  `id` int(10) UNSIGNED NOT NULL,
  `date` date DEFAULT NULL,
  `message` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_read` tinyint(4) NOT NULL DEFAULT '0',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT '1',
  `role_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `created_by` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `updated_by` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `school_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_online_exams`
--

CREATE TABLE `sm_online_exams` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `start_time` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `end_time` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `end_date_time` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percentage` int(11) DEFAULT NULL,
  `instruction` text COLLATE utf8mb4_unicode_ci,
  `status` tinyint(4) DEFAULT NULL COMMENT '0 = Pending 1 Published',
  `is_taken` tinyint(4) DEFAULT '0',
  `is_closed` tinyint(4) DEFAULT '0',
  `is_waiting` tinyint(4) DEFAULT '0',
  `is_running` tinyint(4) DEFAULT '0',
  `auto_mark` tinyint(4) DEFAULT '0',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_online_exam_marks`
--

CREATE TABLE `sm_online_exam_marks` (
  `id` int(10) UNSIGNED NOT NULL,
  `marks` int(11) DEFAULT NULL,
  `abs` int(11) NOT NULL DEFAULT '0',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `exam_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_online_exam_questions`
--

CREATE TABLE `sm_online_exam_questions` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mark` int(11) DEFAULT NULL,
  `title` text COLLATE utf8mb4_unicode_ci,
  `trueFalse` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'F = false, T = true ',
  `suitable_words` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `online_exam_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_online_exam_question_assigns`
--

CREATE TABLE `sm_online_exam_question_assigns` (
  `id` int(10) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `online_exam_id` int(10) UNSIGNED DEFAULT NULL,
  `question_bank_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_online_exam_question_mu_options`
--

CREATE TABLE `sm_online_exam_question_mu_options` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) DEFAULT NULL COMMENT '0 unchecked 1 checked',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `online_exam_question_id` int(10) UNSIGNED DEFAULT NULL COMMENT 'here we use foreign key shorter name',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_optional_subject_assigns`
--

CREATE TABLE `sm_optional_subject_assigns` (
  `id` int(10) UNSIGNED NOT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `session_id` int(10) UNSIGNED NOT NULL,
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_pages`
--

CREATE TABLE `sm_pages` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sub_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `header_image` text COLLATE utf8mb4_unicode_ci,
  `details` longtext COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `is_dynamic` tinyint(4) NOT NULL DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_pages`
--

INSERT INTO `sm_pages` (`id`, `title`, `sub_title`, `slug`, `header_image`, `details`, `active_status`, `is_dynamic`, `school_id`, `created_at`, `updated_at`) VALUES
(1, 'Home', NULL, '/', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31'),
(2, 'About', NULL, '/about', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31'),
(3, 'Course', NULL, '/course', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31'),
(4, 'News', NULL, '/news-page', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31'),
(5, 'Contact', NULL, '/contact', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31'),
(6, 'Login', NULL, '/login', NULL, NULL, 1, 0, 1, '2022-02-17 14:19:31', '2022-02-17 14:19:31');

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

--
-- Table structure for table `sm_parents`
--

CREATE TABLE `sm_parents` (
  `id` int(10) UNSIGNED NOT NULL,
  `fathers_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fathers_mobile` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fathers_occupation` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fathers_photo` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mothers_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mothers_mobile` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mothers_occupation` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mothers_photo` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `relation` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_mobile` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_email` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_occupation` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_relation` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_photo` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardians_address` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_guardian` int(11) DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_payment_methhods`
--

CREATE TABLE `sm_payment_methhods` (
  `id` int(10) UNSIGNED NOT NULL,
  `method` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `gateway_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_payment_methhods`
--

INSERT INTO `sm_payment_methhods` (`id`, `method`, `type`, `active_status`, `created_at`, `updated_at`, `gateway_id`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 'Cash', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(2, 'Cheque', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(3, 'Bank', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(4, 'PayPal', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(5, 'Stripe', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(6, 'Paystack', 'System', 1, '2022-02-17 02:18:06', NULL, NULL, 1, 1, 1),
(7, 'Wallet', 'System', 1, '2022-02-17 14:19:33', '2022-02-17 14:19:33', NULL, 1, 1, 1);

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

--
-- Table structure for table `sm_phone_call_logs`
--

CREATE TABLE `sm_phone_call_logs` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `next_follow_up_date` date DEFAULT NULL,
  `call_duration` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `call_type` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_postal_dispatches`
--

CREATE TABLE `sm_postal_dispatches` (
  `id` int(10) UNSIGNED NOT NULL,
  `to_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `from_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_postal_receives`
--

CREATE TABLE `sm_postal_receives` (
  `id` int(10) UNSIGNED NOT NULL,
  `from_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `to_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_product_purchases`
--

CREATE TABLE `sm_product_purchases` (
  `id` int(10) UNSIGNED NOT NULL,
  `purchase_date` date NOT NULL,
  `expaire_date` date NOT NULL,
  `price` double(10,2) DEFAULT NULL,
  `paid_amount` double(10,2) DEFAULT NULL,
  `due_amount` double(10,2) DEFAULT NULL,
  `package` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `staff_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_question_banks`
--

CREATE TABLE `sm_question_banks` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'M for multi ans, T for trueFalse, F for fill in the blanks',
  `question` text COLLATE utf8mb4_unicode_ci,
  `marks` int(11) DEFAULT NULL,
  `trueFalse` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'F = false, T = true ',
  `suitable_words` text COLLATE utf8mb4_unicode_ci,
  `number_of_option` varchar(2) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `q_group_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_question_bank_mu_options`
--

CREATE TABLE `sm_question_bank_mu_options` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) DEFAULT NULL COMMENT '0 = false, 1 = correct',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `question_bank_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_question_groups`
--

CREATE TABLE `sm_question_groups` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_question_levels`
--

CREATE TABLE `sm_question_levels` (
  `id` int(10) UNSIGNED NOT NULL,
  `level` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_result_stores`
--

CREATE TABLE `sm_result_stores` (
  `id` int(10) UNSIGNED NOT NULL,
  `student_roll_no` int(11) NOT NULL DEFAULT '1',
  `student_addmission_no` int(11) NOT NULL DEFAULT '1',
  `is_absent` int(11) NOT NULL DEFAULT '0' COMMENT '1=Absent, 0=Present',
  `total_marks` double(8,2) NOT NULL DEFAULT '0.00',
  `total_gpa_point` double(8,2) DEFAULT NULL,
  `total_gpa_grade` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '0',
  `teacher_remarks` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exam_type_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `exam_setup_id` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_role_permissions`
--

CREATE TABLE `sm_role_permissions` (
  `id` int(10) UNSIGNED NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `module_link_id` int(10) UNSIGNED DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_role_permissions`
--

INSERT INTO `sm_role_permissions` (`id`, `active_status`, `created_at`, `updated_at`, `module_link_id`, `role_id`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 1, 1, 1, 1, 1),
(2, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 2, 1, 1, 1, 1),
(3, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 3, 1, 1, 1, 1),
(4, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 4, 1, 1, 1, 1),
(5, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 5, 1, 1, 1, 1),
(6, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 6, 1, 1, 1, 1),
(7, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 7, 1, 1, 1, 1),
(8, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 8, 1, 1, 1, 1),
(9, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 9, 1, 1, 1, 1),
(10, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 10, 1, 1, 1, 1),
(11, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 11, 1, 1, 1, 1),
(12, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 12, 1, 1, 1, 1),
(13, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 13, 1, 1, 1, 1),
(14, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 14, 1, 1, 1, 1),
(15, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 15, 1, 1, 1, 1),
(16, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 16, 1, 1, 1, 1),
(17, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 17, 1, 1, 1, 1),
(18, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 18, 1, 1, 1, 1),
(19, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 19, 1, 1, 1, 1),
(20, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 20, 1, 1, 1, 1),
(21, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 21, 1, 1, 1, 1),
(22, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 22, 1, 1, 1, 1),
(23, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 23, 1, 1, 1, 1),
(24, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 24, 1, 1, 1, 1),
(25, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 25, 1, 1, 1, 1),
(26, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 26, 1, 1, 1, 1),
(27, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 27, 1, 1, 1, 1),
(28, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 28, 1, 1, 1, 1),
(29, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 29, 1, 1, 1, 1),
(30, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 30, 1, 1, 1, 1),
(31, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 31, 1, 1, 1, 1),
(32, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 32, 1, 1, 1, 1),
(33, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 33, 1, 1, 1, 1),
(34, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 34, 1, 1, 1, 1),
(35, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 35, 1, 1, 1, 1),
(36, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 36, 1, 1, 1, 1),
(37, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 37, 1, 1, 1, 1),
(38, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 38, 1, 1, 1, 1),
(39, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 39, 1, 1, 1, 1),
(40, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 40, 1, 1, 1, 1),
(41, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 41, 1, 1, 1, 1),
(42, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 42, 1, 1, 1, 1),
(43, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 43, 1, 1, 1, 1),
(44, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 44, 1, 1, 1, 1),
(45, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 45, 1, 1, 1, 1),
(46, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 46, 1, 1, 1, 1),
(47, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 47, 1, 1, 1, 1),
(48, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 48, 1, 1, 1, 1),
(49, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 49, 1, 1, 1, 1),
(50, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 50, 1, 1, 1, 1),
(51, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 51, 1, 1, 1, 1),
(52, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 52, 1, 1, 1, 1),
(53, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 53, 1, 1, 1, 1),
(54, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 54, 1, 1, 1, 1),
(55, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 55, 1, 1, 1, 1),
(56, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 56, 1, 1, 1, 1),
(57, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 57, 1, 1, 1, 1),
(58, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 58, 1, 1, 1, 1),
(59, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 59, 1, 1, 1, 1),
(60, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 60, 1, 1, 1, 1),
(61, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 61, 1, 1, 1, 1),
(62, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 62, 1, 1, 1, 1),
(63, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 63, 1, 1, 1, 1),
(64, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 64, 1, 1, 1, 1),
(65, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 65, 1, 1, 1, 1),
(66, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 66, 1, 1, 1, 1),
(67, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 67, 1, 1, 1, 1),
(68, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 68, 1, 1, 1, 1),
(69, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 69, 1, 1, 1, 1),
(70, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 70, 1, 1, 1, 1),
(71, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 71, 1, 1, 1, 1),
(72, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 72, 1, 1, 1, 1),
(73, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 73, 1, 1, 1, 1),
(74, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 74, 1, 1, 1, 1),
(75, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 75, 1, 1, 1, 1),
(76, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 76, 1, 1, 1, 1),
(77, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 77, 1, 1, 1, 1),
(78, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 79, 1, 1, 1, 1),
(79, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 80, 1, 1, 1, 1),
(80, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 81, 1, 1, 1, 1),
(81, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 82, 1, 1, 1, 1),
(82, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 83, 1, 1, 1, 1),
(83, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 84, 1, 1, 1, 1),
(84, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 85, 1, 1, 1, 1),
(85, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 86, 1, 1, 1, 1),
(86, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 87, 1, 1, 1, 1),
(87, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 88, 1, 1, 1, 1),
(88, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 89, 1, 1, 1, 1),
(89, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 90, 1, 1, 1, 1),
(90, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 91, 1, 1, 1, 1),
(91, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 92, 1, 1, 1, 1),
(92, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 93, 1, 1, 1, 1),
(93, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 94, 1, 1, 1, 1),
(94, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 95, 1, 1, 1, 1),
(95, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 96, 1, 1, 1, 1),
(96, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 97, 1, 1, 1, 1),
(97, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 98, 1, 1, 1, 1),
(98, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 99, 1, 1, 1, 1),
(99, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 100, 1, 1, 1, 1),
(100, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 101, 1, 1, 1, 1),
(101, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 102, 1, 1, 1, 1),
(102, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 103, 1, 1, 1, 1),
(103, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 104, 1, 1, 1, 1),
(104, 1, '2019-11-18 02:13:45', '2019-11-18 02:13:45', 105, 1, 1, 1, 1),
(105, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 106, 1, 1, 1, 1),
(106, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 107, 1, 1, 1, 1),
(107, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 108, 1, 1, 1, 1),
(108, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 109, 1, 1, 1, 1),
(109, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 110, 1, 1, 1, 1),
(110, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 111, 1, 1, 1, 1),
(111, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 112, 1, 1, 1, 1),
(112, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 113, 1, 1, 1, 1),
(113, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 114, 1, 1, 1, 1),
(114, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 115, 1, 1, 1, 1),
(115, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 116, 1, 1, 1, 1),
(116, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 117, 1, 1, 1, 1),
(117, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 118, 1, 1, 1, 1),
(118, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 119, 1, 1, 1, 1),
(119, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 120, 1, 1, 1, 1),
(120, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 121, 1, 1, 1, 1),
(121, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 122, 1, 1, 1, 1),
(122, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 123, 1, 1, 1, 1),
(123, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 124, 1, 1, 1, 1),
(124, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 125, 1, 1, 1, 1),
(125, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 126, 1, 1, 1, 1),
(126, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 127, 1, 1, 1, 1),
(127, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 128, 1, 1, 1, 1),
(128, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 129, 1, 1, 1, 1),
(129, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 130, 1, 1, 1, 1),
(130, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 131, 1, 1, 1, 1),
(131, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 132, 1, 1, 1, 1),
(132, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 133, 1, 1, 1, 1),
(133, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 134, 1, 1, 1, 1),
(134, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 135, 1, 1, 1, 1),
(135, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 136, 1, 1, 1, 1),
(136, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 137, 1, 1, 1, 1),
(137, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 138, 1, 1, 1, 1),
(138, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 139, 1, 1, 1, 1),
(139, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 140, 1, 1, 1, 1),
(140, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 141, 1, 1, 1, 1),
(141, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 142, 1, 1, 1, 1),
(142, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 143, 1, 1, 1, 1),
(143, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 144, 1, 1, 1, 1),
(144, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 145, 1, 1, 1, 1),
(145, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 146, 1, 1, 1, 1),
(146, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 147, 1, 1, 1, 1),
(147, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 148, 1, 1, 1, 1),
(148, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 149, 1, 1, 1, 1),
(149, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 150, 1, 1, 1, 1),
(150, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 151, 1, 1, 1, 1),
(151, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 152, 1, 1, 1, 1),
(152, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 153, 1, 1, 1, 1),
(153, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 154, 1, 1, 1, 1),
(154, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 155, 1, 1, 1, 1),
(155, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 156, 1, 1, 1, 1),
(156, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 157, 1, 1, 1, 1),
(157, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 158, 1, 1, 1, 1),
(158, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 159, 1, 1, 1, 1),
(159, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 160, 1, 1, 1, 1),
(160, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 161, 1, 1, 1, 1),
(161, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 162, 1, 1, 1, 1),
(162, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 163, 1, 1, 1, 1),
(163, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 164, 1, 1, 1, 1),
(164, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 165, 1, 1, 1, 1),
(165, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 166, 1, 1, 1, 1),
(166, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 167, 1, 1, 1, 1),
(167, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 168, 1, 1, 1, 1),
(168, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 169, 1, 1, 1, 1),
(169, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 170, 1, 1, 1, 1),
(170, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 171, 1, 1, 1, 1),
(171, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 172, 1, 1, 1, 1),
(172, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 173, 1, 1, 1, 1),
(173, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 174, 1, 1, 1, 1),
(174, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 175, 1, 1, 1, 1),
(175, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 176, 1, 1, 1, 1),
(176, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 177, 1, 1, 1, 1),
(177, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 178, 1, 1, 1, 1),
(178, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 179, 1, 1, 1, 1),
(179, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 180, 1, 1, 1, 1),
(180, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 181, 1, 1, 1, 1),
(181, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 182, 1, 1, 1, 1),
(182, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 183, 1, 1, 1, 1),
(183, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 184, 1, 1, 1, 1),
(184, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 185, 1, 1, 1, 1),
(185, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 186, 1, 1, 1, 1),
(186, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 187, 1, 1, 1, 1),
(187, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 188, 1, 1, 1, 1),
(188, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 189, 1, 1, 1, 1),
(189, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 190, 1, 1, 1, 1),
(190, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 191, 1, 1, 1, 1),
(191, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 192, 1, 1, 1, 1),
(192, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 193, 1, 1, 1, 1),
(193, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 194, 1, 1, 1, 1),
(194, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 195, 1, 1, 1, 1),
(195, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 196, 1, 1, 1, 1),
(196, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 197, 1, 1, 1, 1),
(197, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 198, 1, 1, 1, 1),
(198, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 199, 1, 1, 1, 1),
(199, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 200, 1, 1, 1, 1),
(200, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 201, 1, 1, 1, 1),
(201, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 202, 1, 1, 1, 1),
(202, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 203, 1, 1, 1, 1),
(203, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 204, 1, 1, 1, 1),
(204, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 205, 1, 1, 1, 1),
(205, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 206, 1, 1, 1, 1),
(206, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 207, 1, 1, 1, 1),
(207, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 208, 1, 1, 1, 1),
(208, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 209, 1, 1, 1, 1),
(209, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 210, 1, 1, 1, 1),
(210, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 211, 1, 1, 1, 1),
(211, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 214, 1, 1, 1, 1),
(212, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 215, 1, 1, 1, 1),
(213, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 216, 1, 1, 1, 1),
(214, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 217, 1, 1, 1, 1),
(215, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 218, 1, 1, 1, 1),
(216, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 219, 1, 1, 1, 1),
(217, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 220, 1, 1, 1, 1),
(218, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 221, 1, 1, 1, 1),
(219, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 222, 1, 1, 1, 1),
(220, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 223, 1, 1, 1, 1),
(221, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 224, 1, 1, 1, 1),
(222, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 225, 1, 1, 1, 1),
(223, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 226, 1, 1, 1, 1),
(224, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 227, 1, 1, 1, 1),
(225, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 228, 1, 1, 1, 1),
(226, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 229, 1, 1, 1, 1),
(227, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 230, 1, 1, 1, 1),
(228, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 231, 1, 1, 1, 1),
(229, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 232, 1, 1, 1, 1),
(230, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 233, 1, 1, 1, 1),
(231, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 234, 1, 1, 1, 1),
(232, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 235, 1, 1, 1, 1),
(233, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 236, 1, 1, 1, 1),
(234, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 237, 1, 1, 1, 1),
(235, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 238, 1, 1, 1, 1),
(236, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 239, 1, 1, 1, 1),
(237, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 240, 1, 1, 1, 1),
(238, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 241, 1, 1, 1, 1),
(239, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 242, 1, 1, 1, 1),
(240, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 243, 1, 1, 1, 1),
(241, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 244, 1, 1, 1, 1),
(242, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 245, 1, 1, 1, 1),
(243, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 246, 1, 1, 1, 1),
(244, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 247, 1, 1, 1, 1),
(245, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 248, 1, 1, 1, 1),
(246, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 249, 1, 1, 1, 1),
(247, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 250, 1, 1, 1, 1),
(248, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 251, 1, 1, 1, 1),
(249, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 252, 1, 1, 1, 1),
(250, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 253, 1, 1, 1, 1),
(251, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 254, 1, 1, 1, 1),
(252, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 255, 1, 1, 1, 1),
(253, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 256, 1, 1, 1, 1),
(254, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 257, 1, 1, 1, 1),
(255, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 258, 1, 1, 1, 1),
(256, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 259, 1, 1, 1, 1),
(257, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 260, 1, 1, 1, 1),
(258, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 261, 1, 1, 1, 1),
(259, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 262, 1, 1, 1, 1),
(260, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 263, 1, 1, 1, 1),
(261, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 264, 1, 1, 1, 1),
(262, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 265, 1, 1, 1, 1),
(263, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 266, 1, 1, 1, 1),
(264, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 267, 1, 1, 1, 1),
(265, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 268, 1, 1, 1, 1),
(266, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 269, 1, 1, 1, 1),
(267, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 270, 1, 1, 1, 1),
(268, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 271, 1, 1, 1, 1),
(269, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 272, 1, 1, 1, 1),
(270, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 273, 1, 1, 1, 1),
(271, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 274, 1, 1, 1, 1),
(272, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 275, 1, 1, 1, 1),
(273, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 276, 1, 1, 1, 1),
(274, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 277, 1, 1, 1, 1),
(275, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 278, 1, 1, 1, 1),
(276, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 279, 1, 1, 1, 1),
(277, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 280, 1, 1, 1, 1),
(278, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 281, 1, 1, 1, 1),
(279, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 282, 1, 1, 1, 1),
(280, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 283, 1, 1, 1, 1),
(281, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 284, 1, 1, 1, 1),
(282, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 285, 1, 1, 1, 1),
(283, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 286, 1, 1, 1, 1),
(284, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 287, 1, 1, 1, 1),
(285, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 288, 1, 1, 1, 1),
(286, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 289, 1, 1, 1, 1),
(287, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 290, 1, 1, 1, 1),
(288, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 291, 1, 1, 1, 1),
(289, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 292, 1, 1, 1, 1),
(290, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 293, 1, 1, 1, 1),
(291, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 294, 1, 1, 1, 1),
(292, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 295, 1, 1, 1, 1),
(293, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 296, 1, 1, 1, 1),
(294, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 297, 1, 1, 1, 1),
(295, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 298, 1, 1, 1, 1),
(296, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 299, 1, 1, 1, 1),
(297, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 300, 1, 1, 1, 1),
(298, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 301, 1, 1, 1, 1),
(299, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 302, 1, 1, 1, 1),
(300, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 303, 1, 1, 1, 1),
(301, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 304, 1, 1, 1, 1),
(302, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 305, 1, 1, 1, 1),
(303, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 306, 1, 1, 1, 1),
(304, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 307, 1, 1, 1, 1),
(305, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 308, 1, 1, 1, 1),
(306, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 309, 1, 1, 1, 1),
(307, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 310, 1, 1, 1, 1),
(308, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 311, 1, 1, 1, 1),
(309, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 312, 1, 1, 1, 1),
(310, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 313, 1, 1, 1, 1),
(311, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 314, 1, 1, 1, 1),
(312, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 315, 1, 1, 1, 1),
(313, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 316, 1, 1, 1, 1),
(314, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 317, 1, 1, 1, 1),
(315, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 318, 1, 1, 1, 1),
(316, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 319, 1, 1, 1, 1),
(317, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 320, 1, 1, 1, 1),
(318, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 321, 1, 1, 1, 1),
(319, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 322, 1, 1, 1, 1),
(320, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 323, 1, 1, 1, 1),
(321, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 324, 1, 1, 1, 1),
(322, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 325, 1, 1, 1, 1),
(323, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 326, 1, 1, 1, 1),
(324, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 327, 1, 1, 1, 1),
(325, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 328, 1, 1, 1, 1),
(326, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 329, 1, 1, 1, 1),
(327, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 330, 1, 1, 1, 1),
(328, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 331, 1, 1, 1, 1),
(329, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 332, 1, 1, 1, 1),
(330, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 333, 1, 1, 1, 1),
(331, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 334, 1, 1, 1, 1),
(332, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 335, 1, 1, 1, 1),
(333, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 336, 1, 1, 1, 1),
(334, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 337, 1, 1, 1, 1),
(335, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 338, 1, 1, 1, 1),
(336, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 339, 1, 1, 1, 1),
(337, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 340, 1, 1, 1, 1),
(338, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 341, 1, 1, 1, 1),
(339, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 342, 1, 1, 1, 1),
(340, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 343, 1, 1, 1, 1),
(341, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 344, 1, 1, 1, 1),
(342, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 345, 1, 1, 1, 1),
(343, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 346, 1, 1, 1, 1),
(344, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 347, 1, 1, 1, 1),
(345, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 348, 1, 1, 1, 1),
(346, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 349, 1, 1, 1, 1),
(347, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 350, 1, 1, 1, 1),
(348, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 351, 1, 1, 1, 1),
(349, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 352, 1, 1, 1, 1),
(350, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 353, 1, 1, 1, 1),
(351, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 354, 1, 1, 1, 1),
(352, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 355, 1, 1, 1, 1),
(353, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 356, 1, 1, 1, 1),
(354, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 357, 1, 1, 1, 1),
(355, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 358, 1, 1, 1, 1),
(356, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 359, 1, 1, 1, 1),
(357, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 360, 1, 1, 1, 1),
(358, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 361, 1, 1, 1, 1),
(359, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 362, 1, 1, 1, 1),
(360, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 363, 1, 1, 1, 1),
(361, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 364, 1, 1, 1, 1),
(362, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 365, 1, 1, 1, 1),
(363, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 366, 1, 1, 1, 1),
(364, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 367, 1, 1, 1, 1),
(365, 1, '2019-11-18 02:13:46', '2019-11-18 02:13:46', 368, 1, 1, 1, 1),
(366, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 369, 1, 1, 1, 1),
(367, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 370, 1, 1, 1, 1),
(368, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 371, 1, 1, 1, 1),
(369, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 372, 1, 1, 1, 1),
(370, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 373, 1, 1, 1, 1),
(371, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 374, 1, 1, 1, 1),
(372, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 375, 1, 1, 1, 1),
(373, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 376, 1, 1, 1, 1),
(374, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 377, 1, 1, 1, 1),
(375, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 378, 1, 1, 1, 1),
(376, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 379, 1, 1, 1, 1),
(377, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 380, 1, 1, 1, 1),
(378, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 381, 1, 1, 1, 1),
(379, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 382, 1, 1, 1, 1),
(380, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 383, 1, 1, 1, 1),
(381, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 384, 1, 1, 1, 1),
(382, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 385, 1, 1, 1, 1),
(383, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 386, 1, 1, 1, 1),
(384, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 387, 1, 1, 1, 1),
(385, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 388, 1, 1, 1, 1),
(386, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 389, 1, 1, 1, 1),
(387, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 390, 1, 1, 1, 1),
(388, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 391, 1, 1, 1, 1),
(389, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 392, 1, 1, 1, 1),
(390, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 393, 1, 1, 1, 1),
(391, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 394, 1, 1, 1, 1),
(392, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 395, 1, 1, 1, 1),
(393, 1, '2019-11-18 02:13:47', '2019-11-18 02:13:47', 396, 1, 1, 1, 1),
(787, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 1, 5, 1, 1, 1),
(788, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 2, 5, 1, 1, 1),
(789, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 3, 5, 1, 1, 1),
(790, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 4, 5, 1, 1, 1),
(791, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 5, 5, 1, 1, 1),
(792, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 6, 5, 1, 1, 1),
(793, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 7, 5, 1, 1, 1),
(794, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 8, 5, 1, 1, 1),
(795, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 9, 5, 1, 1, 1),
(796, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 10, 5, 1, 1, 1),
(797, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 11, 5, 1, 1, 1),
(798, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 12, 5, 1, 1, 1),
(799, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 13, 5, 1, 1, 1),
(800, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 14, 5, 1, 1, 1),
(801, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 15, 5, 1, 1, 1),
(802, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 16, 5, 1, 1, 1),
(803, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 17, 5, 1, 1, 1),
(804, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 18, 5, 1, 1, 1),
(805, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 19, 5, 1, 1, 1),
(806, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 20, 5, 1, 1, 1),
(807, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 21, 5, 1, 1, 1),
(808, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 22, 5, 1, 1, 1),
(809, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 23, 5, 1, 1, 1),
(810, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 24, 5, 1, 1, 1),
(811, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 25, 5, 1, 1, 1),
(812, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 26, 5, 1, 1, 1),
(813, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 27, 5, 1, 1, 1),
(814, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 28, 5, 1, 1, 1),
(815, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 29, 5, 1, 1, 1),
(816, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 30, 5, 1, 1, 1),
(817, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 31, 5, 1, 1, 1),
(818, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 32, 5, 1, 1, 1),
(819, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 33, 5, 1, 1, 1),
(820, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 34, 5, 1, 1, 1),
(821, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 35, 5, 1, 1, 1),
(822, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 36, 5, 1, 1, 1),
(823, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 37, 5, 1, 1, 1),
(824, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 38, 5, 1, 1, 1),
(825, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 39, 5, 1, 1, 1),
(826, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 40, 5, 1, 1, 1),
(827, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 41, 5, 1, 1, 1),
(828, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 42, 5, 1, 1, 1),
(829, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 43, 5, 1, 1, 1),
(830, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 44, 5, 1, 1, 1),
(831, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 45, 5, 1, 1, 1),
(832, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 46, 5, 1, 1, 1),
(833, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 47, 5, 1, 1, 1),
(834, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 48, 5, 1, 1, 1),
(835, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 49, 5, 1, 1, 1),
(836, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 50, 5, 1, 1, 1),
(837, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 51, 5, 1, 1, 1),
(838, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 52, 5, 1, 1, 1),
(839, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 53, 5, 1, 1, 1),
(840, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 54, 5, 1, 1, 1),
(841, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 55, 5, 1, 1, 1),
(842, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 56, 5, 1, 1, 1),
(843, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 57, 5, 1, 1, 1),
(844, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 58, 5, 1, 1, 1),
(845, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 59, 5, 1, 1, 1),
(846, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 60, 5, 1, 1, 1),
(847, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 61, 5, 1, 1, 1),
(848, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 62, 5, 1, 1, 1),
(849, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 63, 5, 1, 1, 1),
(850, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 64, 5, 1, 1, 1),
(851, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 65, 5, 1, 1, 1),
(852, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 66, 5, 1, 1, 1),
(853, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 67, 5, 1, 1, 1),
(854, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 68, 5, 1, 1, 1),
(855, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 69, 5, 1, 1, 1),
(856, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 70, 5, 1, 1, 1),
(857, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 71, 5, 1, 1, 1),
(858, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 72, 5, 1, 1, 1),
(859, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 73, 5, 1, 1, 1),
(860, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 74, 5, 1, 1, 1),
(861, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 75, 5, 1, 1, 1),
(862, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 76, 5, 1, 1, 1),
(863, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 77, 5, 1, 1, 1),
(864, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 79, 5, 1, 1, 1),
(865, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 80, 5, 1, 1, 1),
(866, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 81, 5, 1, 1, 1),
(867, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 82, 5, 1, 1, 1),
(868, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 83, 5, 1, 1, 1),
(869, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 84, 5, 1, 1, 1),
(870, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 85, 5, 1, 1, 1),
(871, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 86, 5, 1, 1, 1),
(872, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 87, 5, 1, 1, 1),
(873, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 88, 5, 1, 1, 1),
(874, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 89, 5, 1, 1, 1),
(875, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 90, 5, 1, 1, 1),
(876, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 91, 5, 1, 1, 1),
(877, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 92, 5, 1, 1, 1),
(878, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 93, 5, 1, 1, 1),
(879, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 94, 5, 1, 1, 1),
(880, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 95, 5, 1, 1, 1),
(881, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 96, 5, 1, 1, 1),
(882, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 97, 5, 1, 1, 1),
(883, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 98, 5, 1, 1, 1),
(884, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 99, 5, 1, 1, 1),
(885, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 100, 5, 1, 1, 1),
(886, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 101, 5, 1, 1, 1),
(887, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 102, 5, 1, 1, 1),
(888, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 103, 5, 1, 1, 1),
(889, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 104, 5, 1, 1, 1),
(890, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 105, 5, 1, 1, 1),
(891, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 106, 5, 1, 1, 1),
(892, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 107, 5, 1, 1, 1),
(893, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 108, 5, 1, 1, 1),
(894, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 109, 5, 1, 1, 1),
(895, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 110, 5, 1, 1, 1),
(896, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 111, 5, 1, 1, 1),
(897, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 112, 5, 1, 1, 1),
(898, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 113, 5, 1, 1, 1),
(899, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 114, 5, 1, 1, 1),
(900, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 115, 5, 1, 1, 1),
(901, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 116, 5, 1, 1, 1),
(902, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 117, 5, 1, 1, 1),
(903, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 118, 5, 1, 1, 1),
(904, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 119, 5, 1, 1, 1),
(905, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 120, 5, 1, 1, 1),
(906, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 121, 5, 1, 1, 1),
(907, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 122, 5, 1, 1, 1),
(908, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 123, 5, 1, 1, 1),
(909, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 124, 5, 1, 1, 1),
(910, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 125, 5, 1, 1, 1),
(911, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 126, 5, 1, 1, 1),
(912, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 127, 5, 1, 1, 1),
(913, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 128, 5, 1, 1, 1),
(914, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 129, 5, 1, 1, 1),
(915, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 130, 5, 1, 1, 1),
(916, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 131, 5, 1, 1, 1),
(917, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 132, 5, 1, 1, 1),
(918, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 133, 5, 1, 1, 1),
(919, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 134, 5, 1, 1, 1),
(920, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 135, 5, 1, 1, 1),
(921, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 136, 5, 1, 1, 1),
(922, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 137, 5, 1, 1, 1),
(923, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 138, 5, 1, 1, 1),
(924, 1, '2019-11-18 02:13:48', '2019-11-18 02:13:48', 139, 5, 1, 1, 1),
(925, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 140, 5, 1, 1, 1),
(926, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 141, 5, 1, 1, 1),
(927, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 142, 5, 1, 1, 1),
(928, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 143, 5, 1, 1, 1),
(929, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 144, 5, 1, 1, 1),
(930, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 145, 5, 1, 1, 1),
(931, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 146, 5, 1, 1, 1),
(932, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 147, 5, 1, 1, 1),
(933, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 148, 5, 1, 1, 1),
(934, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 149, 5, 1, 1, 1),
(935, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 150, 5, 1, 1, 1),
(936, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 151, 5, 1, 1, 1),
(937, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 152, 5, 1, 1, 1),
(938, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 153, 5, 1, 1, 1),
(939, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 154, 5, 1, 1, 1),
(940, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 155, 5, 1, 1, 1),
(941, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 156, 5, 1, 1, 1),
(942, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 157, 5, 1, 1, 1),
(943, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 158, 5, 1, 1, 1),
(944, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 159, 5, 1, 1, 1),
(945, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 160, 5, 1, 1, 1),
(946, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 161, 5, 1, 1, 1),
(947, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 162, 5, 1, 1, 1),
(948, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 163, 5, 1, 1, 1),
(949, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 164, 5, 1, 1, 1),
(950, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 165, 5, 1, 1, 1),
(951, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 166, 5, 1, 1, 1),
(952, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 167, 5, 1, 1, 1),
(953, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 168, 5, 1, 1, 1),
(954, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 169, 5, 1, 1, 1),
(955, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 170, 5, 1, 1, 1),
(956, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 171, 5, 1, 1, 1),
(957, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 172, 5, 1, 1, 1),
(958, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 173, 5, 1, 1, 1),
(959, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 174, 5, 1, 1, 1),
(960, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 175, 5, 1, 1, 1),
(961, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 176, 5, 1, 1, 1),
(962, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 177, 5, 1, 1, 1),
(963, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 178, 5, 1, 1, 1),
(964, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 179, 5, 1, 1, 1),
(965, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 180, 5, 1, 1, 1),
(966, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 181, 5, 1, 1, 1),
(967, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 182, 5, 1, 1, 1),
(968, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 183, 5, 1, 1, 1),
(969, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 184, 5, 1, 1, 1),
(970, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 185, 5, 1, 1, 1),
(971, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 186, 5, 1, 1, 1),
(972, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 187, 5, 1, 1, 1),
(973, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 188, 5, 1, 1, 1),
(974, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 189, 5, 1, 1, 1),
(975, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 190, 5, 1, 1, 1),
(976, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 191, 5, 1, 1, 1),
(977, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 192, 5, 1, 1, 1),
(978, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 193, 5, 1, 1, 1),
(979, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 194, 5, 1, 1, 1),
(980, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 195, 5, 1, 1, 1),
(981, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 196, 5, 1, 1, 1),
(982, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 197, 5, 1, 1, 1),
(983, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 198, 5, 1, 1, 1),
(984, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 199, 5, 1, 1, 1),
(985, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 200, 5, 1, 1, 1),
(986, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 201, 5, 1, 1, 1),
(987, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 202, 5, 1, 1, 1),
(988, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 203, 5, 1, 1, 1),
(989, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 204, 5, 1, 1, 1),
(990, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 205, 5, 1, 1, 1),
(991, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 206, 5, 1, 1, 1),
(992, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 207, 5, 1, 1, 1),
(993, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 208, 5, 1, 1, 1),
(994, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 209, 5, 1, 1, 1),
(995, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 210, 5, 1, 1, 1),
(996, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 211, 5, 1, 1, 1),
(997, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 214, 5, 1, 1, 1),
(998, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 215, 5, 1, 1, 1),
(999, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 216, 5, 1, 1, 1),
(1000, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 217, 5, 1, 1, 1),
(1001, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 218, 5, 1, 1, 1),
(1002, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 219, 5, 1, 1, 1),
(1003, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 220, 5, 1, 1, 1),
(1004, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 221, 5, 1, 1, 1),
(1005, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 222, 5, 1, 1, 1),
(1006, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 223, 5, 1, 1, 1),
(1007, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 224, 5, 1, 1, 1),
(1008, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 225, 5, 1, 1, 1),
(1009, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 226, 5, 1, 1, 1),
(1010, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 227, 5, 1, 1, 1),
(1011, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 228, 5, 1, 1, 1),
(1012, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 229, 5, 1, 1, 1),
(1013, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 230, 5, 1, 1, 1),
(1014, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 231, 5, 1, 1, 1),
(1015, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 232, 5, 1, 1, 1),
(1016, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 233, 5, 1, 1, 1),
(1017, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 234, 5, 1, 1, 1),
(1018, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 235, 5, 1, 1, 1),
(1019, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 236, 5, 1, 1, 1),
(1020, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 237, 5, 1, 1, 1),
(1021, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 238, 5, 1, 1, 1),
(1022, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 239, 5, 1, 1, 1),
(1023, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 240, 5, 1, 1, 1),
(1024, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 241, 5, 1, 1, 1),
(1025, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 242, 5, 1, 1, 1),
(1026, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 243, 5, 1, 1, 1),
(1027, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 244, 5, 1, 1, 1),
(1028, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 245, 5, 1, 1, 1),
(1029, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 246, 5, 1, 1, 1),
(1030, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 247, 5, 1, 1, 1),
(1031, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 248, 5, 1, 1, 1),
(1032, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 249, 5, 1, 1, 1),
(1033, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 250, 5, 1, 1, 1),
(1034, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 251, 5, 1, 1, 1),
(1035, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 252, 5, 1, 1, 1),
(1036, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 253, 5, 1, 1, 1),
(1037, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 254, 5, 1, 1, 1),
(1038, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 255, 5, 1, 1, 1),
(1039, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 256, 5, 1, 1, 1),
(1040, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 257, 5, 1, 1, 1),
(1041, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 258, 5, 1, 1, 1),
(1042, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 259, 5, 1, 1, 1),
(1043, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 260, 5, 1, 1, 1),
(1044, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 261, 5, 1, 1, 1),
(1045, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 262, 5, 1, 1, 1),
(1046, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 263, 5, 1, 1, 1),
(1047, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 264, 5, 1, 1, 1),
(1048, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 265, 5, 1, 1, 1),
(1049, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 266, 5, 1, 1, 1),
(1050, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 267, 5, 1, 1, 1),
(1051, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 268, 5, 1, 1, 1),
(1052, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 269, 5, 1, 1, 1),
(1053, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 270, 5, 1, 1, 1),
(1054, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 271, 5, 1, 1, 1),
(1055, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 272, 5, 1, 1, 1),
(1056, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 273, 5, 1, 1, 1),
(1057, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 274, 5, 1, 1, 1),
(1058, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 275, 5, 1, 1, 1),
(1059, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 276, 5, 1, 1, 1),
(1060, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 277, 5, 1, 1, 1),
(1061, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 278, 5, 1, 1, 1),
(1062, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 279, 5, 1, 1, 1),
(1063, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 280, 5, 1, 1, 1),
(1064, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 281, 5, 1, 1, 1),
(1065, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 282, 5, 1, 1, 1),
(1066, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 283, 5, 1, 1, 1),
(1067, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 284, 5, 1, 1, 1),
(1068, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 285, 5, 1, 1, 1),
(1069, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 286, 5, 1, 1, 1),
(1070, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 287, 5, 1, 1, 1),
(1071, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 288, 5, 1, 1, 1),
(1072, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 289, 5, 1, 1, 1),
(1073, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 290, 5, 1, 1, 1),
(1074, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 291, 5, 1, 1, 1),
(1075, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 292, 5, 1, 1, 1),
(1076, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 293, 5, 1, 1, 1),
(1077, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 294, 5, 1, 1, 1),
(1078, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 295, 5, 1, 1, 1),
(1079, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 296, 5, 1, 1, 1),
(1080, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 297, 5, 1, 1, 1),
(1081, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 298, 5, 1, 1, 1),
(1082, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 299, 5, 1, 1, 1),
(1083, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 300, 5, 1, 1, 1),
(1084, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 301, 5, 1, 1, 1),
(1085, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 302, 5, 1, 1, 1),
(1086, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 303, 5, 1, 1, 1),
(1087, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 304, 5, 1, 1, 1),
(1088, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 305, 5, 1, 1, 1),
(1089, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 306, 5, 1, 1, 1),
(1090, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 307, 5, 1, 1, 1),
(1091, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 308, 5, 1, 1, 1),
(1092, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 309, 5, 1, 1, 1),
(1093, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 310, 5, 1, 1, 1),
(1094, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 311, 5, 1, 1, 1),
(1095, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 312, 5, 1, 1, 1),
(1096, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 313, 5, 1, 1, 1),
(1097, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 314, 5, 1, 1, 1),
(1098, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 315, 5, 1, 1, 1);
INSERT INTO `sm_role_permissions` (`id`, `active_status`, `created_at`, `updated_at`, `module_link_id`, `role_id`, `created_by`, `updated_by`, `school_id`) VALUES
(1099, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 316, 5, 1, 1, 1),
(1100, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 317, 5, 1, 1, 1),
(1101, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 318, 5, 1, 1, 1),
(1102, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 319, 5, 1, 1, 1),
(1103, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 320, 5, 1, 1, 1),
(1104, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 321, 5, 1, 1, 1),
(1105, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 322, 5, 1, 1, 1),
(1106, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 323, 5, 1, 1, 1),
(1107, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 324, 5, 1, 1, 1),
(1108, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 325, 5, 1, 1, 1),
(1109, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 326, 5, 1, 1, 1),
(1110, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 327, 5, 1, 1, 1),
(1111, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 328, 5, 1, 1, 1),
(1112, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 329, 5, 1, 1, 1),
(1113, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 330, 5, 1, 1, 1),
(1114, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 331, 5, 1, 1, 1),
(1115, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 332, 5, 1, 1, 1),
(1116, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 333, 5, 1, 1, 1),
(1117, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 334, 5, 1, 1, 1),
(1118, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 335, 5, 1, 1, 1),
(1119, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 336, 5, 1, 1, 1),
(1120, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 337, 5, 1, 1, 1),
(1121, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 338, 5, 1, 1, 1),
(1122, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 339, 5, 1, 1, 1),
(1123, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 340, 5, 1, 1, 1),
(1124, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 341, 5, 1, 1, 1),
(1125, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 342, 5, 1, 1, 1),
(1126, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 343, 5, 1, 1, 1),
(1127, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 344, 5, 1, 1, 1),
(1128, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 345, 5, 1, 1, 1),
(1129, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 346, 5, 1, 1, 1),
(1130, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 347, 5, 1, 1, 1),
(1131, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 348, 5, 1, 1, 1),
(1132, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 349, 5, 1, 1, 1),
(1133, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 350, 5, 1, 1, 1),
(1134, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 351, 5, 1, 1, 1),
(1135, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 352, 5, 1, 1, 1),
(1136, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 353, 5, 1, 1, 1),
(1137, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 354, 5, 1, 1, 1),
(1138, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 355, 5, 1, 1, 1),
(1139, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 356, 5, 1, 1, 1),
(1140, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 357, 5, 1, 1, 1),
(1141, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 358, 5, 1, 1, 1),
(1142, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 359, 5, 1, 1, 1),
(1143, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 360, 5, 1, 1, 1),
(1144, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 361, 5, 1, 1, 1),
(1145, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 362, 5, 1, 1, 1),
(1146, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 363, 5, 1, 1, 1),
(1147, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 364, 5, 1, 1, 1),
(1148, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 365, 5, 1, 1, 1),
(1149, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 366, 5, 1, 1, 1),
(1150, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 367, 5, 1, 1, 1),
(1151, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 368, 5, 1, 1, 1),
(1152, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 369, 5, 1, 1, 1),
(1153, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 370, 5, 1, 1, 1),
(1154, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 371, 5, 1, 1, 1),
(1155, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 372, 5, 1, 1, 1),
(1156, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 373, 5, 1, 1, 1),
(1157, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 374, 5, 1, 1, 1),
(1158, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 375, 5, 1, 1, 1),
(1159, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 376, 5, 1, 1, 1),
(1160, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 377, 5, 1, 1, 1),
(1161, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 378, 5, 1, 1, 1),
(1162, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 379, 5, 1, 1, 1),
(1163, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 380, 5, 1, 1, 1),
(1164, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 381, 5, 1, 1, 1),
(1165, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 382, 5, 1, 1, 1),
(1166, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 383, 5, 1, 1, 1),
(1167, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 384, 5, 1, 1, 1),
(1168, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 385, 5, 1, 1, 1),
(1169, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 386, 5, 1, 1, 1),
(1170, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 387, 5, 1, 1, 1),
(1171, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 388, 5, 1, 1, 1),
(1172, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 389, 5, 1, 1, 1),
(1173, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 390, 5, 1, 1, 1),
(1174, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 391, 5, 1, 1, 1),
(1175, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 392, 5, 1, 1, 1),
(1176, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 393, 5, 1, 1, 1),
(1177, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 394, 5, 1, 1, 1),
(1178, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 395, 5, 1, 1, 1),
(1179, 1, '2019-11-18 02:13:49', '2019-11-18 02:13:49', 396, 5, 1, 1, 1),
(7213, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 1, 4, 1, 1, 1),
(7214, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 2, 4, 1, 1, 1),
(7215, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 3, 4, 1, 1, 1),
(7216, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 4, 4, 1, 1, 1),
(7217, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 5, 4, 1, 1, 1),
(7218, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 6, 4, 1, 1, 1),
(7219, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 7, 4, 1, 1, 1),
(7220, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 8, 4, 1, 1, 1),
(7221, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 9, 4, 1, 1, 1),
(7222, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 10, 4, 1, 1, 1),
(7223, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 61, 4, 1, 1, 1),
(7224, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 62, 4, 1, 1, 1),
(7225, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 63, 4, 1, 1, 1),
(7226, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 64, 4, 1, 1, 1),
(7227, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 65, 4, 1, 1, 1),
(7228, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 66, 4, 1, 1, 1),
(7229, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 67, 4, 1, 1, 1),
(7230, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 68, 4, 1, 1, 1),
(7231, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 69, 4, 1, 1, 1),
(7232, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 70, 4, 1, 1, 1),
(7233, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 71, 4, 1, 1, 1),
(7234, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 72, 4, 1, 1, 1),
(7235, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 73, 4, 1, 1, 1),
(7236, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 74, 4, 1, 1, 1),
(7237, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 75, 4, 1, 1, 1),
(7238, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 76, 4, 1, 1, 1),
(7239, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 77, 4, 1, 1, 1),
(7240, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 79, 4, 1, 1, 1),
(7241, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 80, 4, 1, 1, 1),
(7242, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 81, 4, 1, 1, 1),
(7243, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 82, 4, 1, 1, 1),
(7244, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 83, 4, 1, 1, 1),
(7245, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 84, 4, 1, 1, 1),
(7246, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 85, 4, 1, 1, 1),
(7247, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 86, 4, 1, 1, 1),
(7248, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 87, 4, 1, 1, 1),
(7249, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 88, 4, 1, 1, 1),
(7250, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 89, 4, 1, 1, 1),
(7251, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 90, 4, 1, 1, 1),
(7252, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 91, 4, 1, 1, 1),
(7253, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 92, 4, 1, 1, 1),
(7254, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 93, 4, 1, 1, 1),
(7255, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 94, 4, 1, 1, 1),
(7256, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 95, 4, 1, 1, 1),
(7257, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 96, 4, 1, 1, 1),
(7258, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 97, 4, 1, 1, 1),
(7259, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 98, 4, 1, 1, 1),
(7260, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 99, 4, 1, 1, 1),
(7261, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 100, 4, 1, 1, 1),
(7262, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 101, 4, 1, 1, 1),
(7263, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 102, 4, 1, 1, 1),
(7264, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 103, 4, 1, 1, 1),
(7265, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 104, 4, 1, 1, 1),
(7266, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 105, 4, 1, 1, 1),
(7267, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 106, 4, 1, 1, 1),
(7268, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 107, 4, 1, 1, 1),
(7269, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 188, 4, 1, 1, 1),
(7270, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 193, 4, 1, 1, 1),
(7271, 1, '2019-12-03 05:27:28', '2019-12-03 05:27:28', 194, 4, 1, 1, 1),
(7272, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 195, 4, 1, 1, 1),
(7273, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 196, 4, 1, 1, 1),
(7274, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 197, 4, 1, 1, 1),
(7275, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 198, 4, 1, 1, 1),
(7276, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 207, 4, 1, 1, 1),
(7277, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 208, 4, 1, 1, 1),
(7278, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 209, 4, 1, 1, 1),
(7279, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 210, 4, 1, 1, 1),
(7280, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 211, 4, 1, 1, 1),
(7281, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 214, 4, 1, 1, 1),
(7282, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 215, 4, 1, 1, 1),
(7283, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 216, 4, 1, 1, 1),
(7284, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 217, 4, 1, 1, 1),
(7285, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 218, 4, 1, 1, 1),
(7286, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 219, 4, 1, 1, 1),
(7287, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 220, 4, 1, 1, 1),
(7288, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 221, 4, 1, 1, 1),
(7289, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 222, 4, 1, 1, 1),
(7290, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 223, 4, 1, 1, 1),
(7291, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 224, 4, 1, 1, 1),
(7292, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 225, 4, 1, 1, 1),
(7293, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 226, 4, 1, 1, 1),
(7294, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 227, 4, 1, 1, 1),
(7295, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 228, 4, 1, 1, 1),
(7296, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 229, 4, 1, 1, 1),
(7297, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 230, 4, 1, 1, 1),
(7298, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 231, 4, 1, 1, 1),
(7299, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 232, 4, 1, 1, 1),
(7300, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 233, 4, 1, 1, 1),
(7301, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 234, 4, 1, 1, 1),
(7302, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 235, 4, 1, 1, 1),
(7303, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 236, 4, 1, 1, 1),
(7304, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 237, 4, 1, 1, 1),
(7305, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 238, 4, 1, 1, 1),
(7306, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 239, 4, 1, 1, 1),
(7307, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 240, 4, 1, 1, 1),
(7308, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 241, 4, 1, 1, 1),
(7309, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 242, 4, 1, 1, 1),
(7310, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 243, 4, 1, 1, 1),
(7311, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 244, 4, 1, 1, 1),
(7312, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 245, 4, 1, 1, 1),
(7313, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 246, 4, 1, 1, 1),
(7314, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 247, 4, 1, 1, 1),
(7315, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 248, 4, 1, 1, 1),
(7316, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 249, 4, 1, 1, 1),
(7317, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 250, 4, 1, 1, 1),
(7318, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 251, 4, 1, 1, 1),
(7319, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 252, 4, 1, 1, 1),
(7320, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 253, 4, 1, 1, 1),
(7321, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 254, 4, 1, 1, 1),
(7322, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 255, 4, 1, 1, 1),
(7323, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 256, 4, 1, 1, 1),
(7324, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 257, 4, 1, 1, 1),
(7325, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 258, 4, 1, 1, 1),
(7326, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 259, 4, 1, 1, 1),
(7327, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 260, 4, 1, 1, 1),
(7328, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 261, 4, 1, 1, 1),
(7329, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 262, 4, 1, 1, 1),
(7330, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 263, 4, 1, 1, 1),
(7331, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 264, 4, 1, 1, 1),
(7332, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 265, 4, 1, 1, 1),
(7333, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 266, 4, 1, 1, 1),
(7334, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 267, 4, 1, 1, 1),
(7335, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 268, 4, 1, 1, 1),
(7336, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 269, 4, 1, 1, 1),
(7337, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 270, 4, 1, 1, 1),
(7338, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 271, 4, 1, 1, 1),
(7339, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 272, 4, 1, 1, 1),
(7340, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 273, 4, 1, 1, 1),
(7341, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 274, 4, 1, 1, 1),
(7342, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 275, 4, 1, 1, 1),
(7343, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 276, 4, 1, 1, 1),
(7344, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 277, 4, 1, 1, 1),
(7345, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 278, 4, 1, 1, 1),
(7346, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 279, 4, 1, 1, 1),
(7347, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 280, 4, 1, 1, 1),
(7348, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 281, 4, 1, 1, 1),
(7349, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 282, 4, 1, 1, 1),
(7350, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 283, 4, 1, 1, 1),
(7351, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 284, 4, 1, 1, 1),
(7352, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 285, 4, 1, 1, 1),
(7353, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 385, 4, 1, 1, 1),
(7354, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 386, 4, 1, 1, 1),
(7355, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 387, 4, 1, 1, 1),
(7356, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 388, 4, 1, 1, 1),
(7357, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 391, 4, 1, 1, 1),
(7358, 1, '2019-12-03 05:27:29', '2019-12-03 05:27:29', 392, 4, 1, 1, 1),
(7359, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 1, 6, 1, 1, 1),
(7360, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 2, 6, 1, 1, 1),
(7361, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 3, 6, 1, 1, 1),
(7362, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 4, 6, 1, 1, 1),
(7363, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 5, 6, 1, 1, 1),
(7364, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 6, 6, 1, 1, 1),
(7365, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 7, 6, 1, 1, 1),
(7366, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 8, 6, 1, 1, 1),
(7367, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 9, 6, 1, 1, 1),
(7368, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 10, 6, 1, 1, 1),
(7369, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 61, 6, 1, 1, 1),
(7370, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 64, 6, 1, 1, 1),
(7371, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 108, 6, 1, 1, 1),
(7372, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 109, 6, 1, 1, 1),
(7373, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 110, 6, 1, 1, 1),
(7374, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 111, 6, 1, 1, 1),
(7375, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 112, 6, 1, 1, 1),
(7376, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 113, 6, 1, 1, 1),
(7377, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 114, 6, 1, 1, 1),
(7378, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 115, 6, 1, 1, 1),
(7379, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 116, 6, 1, 1, 1),
(7380, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 117, 6, 1, 1, 1),
(7381, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 118, 6, 1, 1, 1),
(7382, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 119, 6, 1, 1, 1),
(7383, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 120, 6, 1, 1, 1),
(7384, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 121, 6, 1, 1, 1),
(7385, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 122, 6, 1, 1, 1),
(7386, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 123, 6, 1, 1, 1),
(7387, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 124, 6, 1, 1, 1),
(7388, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 125, 6, 1, 1, 1),
(7389, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 126, 6, 1, 1, 1),
(7390, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 127, 6, 1, 1, 1),
(7391, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 128, 6, 1, 1, 1),
(7392, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 129, 6, 1, 1, 1),
(7393, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 130, 6, 1, 1, 1),
(7394, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 131, 6, 1, 1, 1),
(7395, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 132, 6, 1, 1, 1),
(7396, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 133, 6, 1, 1, 1),
(7397, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 134, 6, 1, 1, 1),
(7398, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 135, 6, 1, 1, 1),
(7399, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 136, 6, 1, 1, 1),
(7400, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 137, 6, 1, 1, 1),
(7401, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 138, 6, 1, 1, 1),
(7402, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 139, 6, 1, 1, 1),
(7403, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 140, 6, 1, 1, 1),
(7404, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 141, 6, 1, 1, 1),
(7405, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 142, 6, 1, 1, 1),
(7406, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 143, 6, 1, 1, 1),
(7407, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 144, 6, 1, 1, 1),
(7408, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 145, 6, 1, 1, 1),
(7409, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 146, 6, 1, 1, 1),
(7410, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 147, 6, 1, 1, 1),
(7411, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 148, 6, 1, 1, 1),
(7412, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 149, 6, 1, 1, 1),
(7413, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 150, 6, 1, 1, 1),
(7414, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 151, 6, 1, 1, 1),
(7415, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 152, 6, 1, 1, 1),
(7416, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 153, 6, 1, 1, 1),
(7417, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 154, 6, 1, 1, 1),
(7418, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 155, 6, 1, 1, 1),
(7419, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 156, 6, 1, 1, 1),
(7420, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 157, 6, 1, 1, 1),
(7421, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 158, 6, 1, 1, 1),
(7422, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 159, 6, 1, 1, 1),
(7423, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 160, 6, 1, 1, 1),
(7424, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 161, 6, 1, 1, 1),
(7425, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 310, 6, 1, 1, 1),
(7426, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 315, 6, 1, 1, 1),
(7427, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 316, 6, 1, 1, 1),
(7428, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 317, 6, 1, 1, 1),
(7429, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 318, 6, 1, 1, 1),
(7430, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 319, 6, 1, 1, 1),
(7431, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 320, 6, 1, 1, 1),
(7432, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 321, 6, 1, 1, 1),
(7433, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 322, 6, 1, 1, 1),
(7434, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 323, 6, 1, 1, 1),
(7435, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 324, 6, 1, 1, 1),
(7436, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 325, 6, 1, 1, 1),
(7437, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 326, 6, 1, 1, 1),
(7438, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 327, 6, 1, 1, 1),
(7439, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 328, 6, 1, 1, 1),
(7440, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 329, 6, 1, 1, 1),
(7441, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 330, 6, 1, 1, 1),
(7442, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 331, 6, 1, 1, 1),
(7443, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 332, 6, 1, 1, 1),
(7444, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 333, 6, 1, 1, 1),
(7445, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 334, 6, 1, 1, 1),
(7446, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 335, 6, 1, 1, 1),
(7447, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 336, 6, 1, 1, 1),
(7448, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 337, 6, 1, 1, 1),
(7449, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 338, 6, 1, 1, 1),
(7450, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 339, 6, 1, 1, 1),
(7451, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 340, 6, 1, 1, 1),
(7452, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 341, 6, 1, 1, 1),
(7453, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 342, 6, 1, 1, 1),
(7454, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 343, 6, 1, 1, 1),
(7455, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 344, 6, 1, 1, 1),
(7456, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 345, 6, 1, 1, 1),
(7457, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 346, 6, 1, 1, 1),
(7458, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 347, 6, 1, 1, 1),
(7459, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 381, 6, 1, 1, 1),
(7460, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 382, 6, 1, 1, 1),
(7461, 1, '2019-12-03 05:33:41', '2019-12-03 05:33:41', 393, 6, 1, 1, 1),
(7574, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 1, 8, 1, 1, 1),
(7575, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 2, 8, 1, 1, 1),
(7576, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 3, 8, 1, 1, 1),
(7577, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 4, 8, 1, 1, 1),
(7578, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 5, 8, 1, 1, 1),
(7579, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 6, 8, 1, 1, 1),
(7580, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 7, 8, 1, 1, 1),
(7581, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 8, 8, 1, 1, 1),
(7582, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 9, 8, 1, 1, 1),
(7583, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 10, 8, 1, 1, 1),
(7584, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 54, 8, 1, 1, 1),
(7585, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 61, 8, 1, 1, 1),
(7586, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 64, 8, 1, 1, 1),
(7587, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 160, 8, 1, 1, 1),
(7588, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 161, 8, 1, 1, 1),
(7589, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 286, 8, 1, 1, 1),
(7590, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 287, 8, 1, 1, 1),
(7591, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 288, 8, 1, 1, 1),
(7592, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 289, 8, 1, 1, 1),
(7593, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 290, 8, 1, 1, 1),
(7594, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 291, 8, 1, 1, 1),
(7595, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 292, 8, 1, 1, 1),
(7596, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 293, 8, 1, 1, 1),
(7597, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 294, 8, 1, 1, 1),
(7598, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 295, 8, 1, 1, 1),
(7599, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 296, 8, 1, 1, 1),
(7600, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 297, 8, 1, 1, 1),
(7601, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 298, 8, 1, 1, 1),
(7602, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 299, 8, 1, 1, 1),
(7603, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 300, 8, 1, 1, 1),
(7604, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 301, 8, 1, 1, 1),
(7605, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 302, 8, 1, 1, 1),
(7606, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 303, 8, 1, 1, 1),
(7607, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 304, 8, 1, 1, 1),
(7608, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 305, 8, 1, 1, 1),
(7609, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 306, 8, 1, 1, 1),
(7610, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 307, 8, 1, 1, 1),
(7611, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 308, 8, 1, 1, 1),
(7612, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 309, 8, 1, 1, 1),
(7613, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 310, 8, 1, 1, 1),
(7614, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 311, 8, 1, 1, 1),
(7615, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 312, 8, 1, 1, 1),
(7616, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 313, 8, 1, 1, 1),
(7617, 1, '2019-12-03 05:42:20', '2019-12-03 05:42:20', 314, 8, 1, 1, 1),
(7618, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 1, 7, 1, 1, 1),
(7619, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 2, 7, 1, 1, 1),
(7620, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 3, 7, 1, 1, 1),
(7621, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 4, 7, 1, 1, 1),
(7622, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 5, 7, 1, 1, 1),
(7623, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 6, 7, 1, 1, 1),
(7624, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 7, 7, 1, 1, 1),
(7625, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 8, 7, 1, 1, 1),
(7626, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 9, 7, 1, 1, 1),
(7627, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 10, 7, 1, 1, 1),
(7628, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 11, 7, 1, 1, 1),
(7629, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 12, 7, 1, 1, 1),
(7630, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 13, 7, 1, 1, 1),
(7631, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 14, 7, 1, 1, 1),
(7632, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 15, 7, 1, 1, 1),
(7633, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 16, 7, 1, 1, 1),
(7634, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 17, 7, 1, 1, 1),
(7635, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 18, 7, 1, 1, 1),
(7636, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 19, 7, 1, 1, 1),
(7637, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 20, 7, 1, 1, 1),
(7638, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 21, 7, 1, 1, 1),
(7639, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 22, 7, 1, 1, 1),
(7640, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 23, 7, 1, 1, 1),
(7641, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 24, 7, 1, 1, 1),
(7642, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 25, 7, 1, 1, 1),
(7643, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 26, 7, 1, 1, 1),
(7644, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 27, 7, 1, 1, 1),
(7645, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 28, 7, 1, 1, 1),
(7646, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 29, 7, 1, 1, 1),
(7647, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 30, 7, 1, 1, 1),
(7648, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 31, 7, 1, 1, 1),
(7649, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 32, 7, 1, 1, 1),
(7650, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 33, 7, 1, 1, 1),
(7651, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 34, 7, 1, 1, 1),
(7652, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 35, 7, 1, 1, 1),
(7653, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 36, 7, 1, 1, 1),
(7654, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 37, 7, 1, 1, 1),
(7655, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 38, 7, 1, 1, 1),
(7656, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 39, 7, 1, 1, 1),
(7657, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 40, 7, 1, 1, 1),
(7658, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 61, 7, 1, 1, 1),
(7659, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 64, 7, 1, 1, 1),
(7660, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 160, 7, 1, 1, 1),
(7661, 1, '2019-12-03 05:48:21', '2019-12-03 05:48:21', 161, 7, 1, 1, 1);

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

--
-- Table structure for table `sm_room_lists`
--

CREATE TABLE `sm_room_lists` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `number_of_bed` int(11) NOT NULL,
  `cost_per_bed` double(16,2) DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `dormitory_id` int(10) UNSIGNED DEFAULT '1',
  `room_type_id` int(10) UNSIGNED DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_room_types`
--

CREATE TABLE `sm_room_types` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_routes`
--

CREATE TABLE `sm_routes` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `far` double(10,2) NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_schools`
--

CREATE TABLE `sm_schools` (
  `id` int(10) UNSIGNED NOT NULL,
  `school_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` tinyint(4) NOT NULL DEFAULT '1',
  `updated_by` tinyint(4) NOT NULL DEFAULT '1',
  `email` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `domain` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci,
  `phone` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_code` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_email_verified` tinyint(1) NOT NULL DEFAULT '0',
  `starting_date` date DEFAULT NULL,
  `ending_date` date DEFAULT NULL,
  `package_id` int(11) DEFAULT NULL,
  `plan_type` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_type` enum('yearly','monthly','once') COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1 approved, 0 pending',
  `is_enabled` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'yes' COMMENT 'yes=Login enable, no=Login disable',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_schools`
--

INSERT INTO `sm_schools` (`id`, `school_name`, `created_by`, `updated_by`, `email`, `domain`, `address`, `phone`, `school_code`, `is_email_verified`, `starting_date`, `ending_date`, `package_id`, `plan_type`, `contact_type`, `active_status`, `is_enabled`, `created_at`, `updated_at`) VALUES
(1, 'Webo EMS', 1, 1, 'admin@webodeveloper.com', 'school', 'Mirpur, Dhaka, Bangladesh', '+8801782366770', '12345678', 0, '2022-02-17', NULL, NULL, NULL, 'yearly', 1, 'yes', NULL, '2022-02-17 20:27:34');

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

--
-- Table structure for table `sm_seat_plans`
--

CREATE TABLE `sm_seat_plans` (
  `id` int(10) UNSIGNED NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exam_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_seat_plan_children`
--

CREATE TABLE `sm_seat_plan_children` (
  `id` int(10) UNSIGNED NOT NULL,
  `room_id` tinyint(4) DEFAULT NULL,
  `assign_students` int(11) DEFAULT NULL,
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `seat_plan_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_sections`
--

CREATE TABLE `sm_sections` (
  `id` int(10) UNSIGNED NOT NULL,
  `section_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_send_messages`
--

CREATE TABLE `sm_send_messages` (
  `id` int(10) UNSIGNED NOT NULL,
  `message_title` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message_des` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notice_date` date DEFAULT NULL,
  `publish_on` date DEFAULT NULL,
  `message_to` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'message sent to these roles',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_sessions`
--

CREATE TABLE `sm_sessions` (
  `id` int(10) UNSIGNED NOT NULL,
  `session` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_sessions`
--

INSERT INTO `sm_sessions` (`id`, `session`, `active_status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`) VALUES
(1, '2020-2021', 1, '2022-02-17 02:18:09', '2022-02-17 14:18:09', 1, 1, 1);

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

--
-- Table structure for table `sm_setup_admins`
--

CREATE TABLE `sm_setup_admins` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` tinyint(4) DEFAULT NULL COMMENT '1 purpose, 2 complaint type, 3 source, 4 Reference',
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_social_media_icons`
--

CREATE TABLE `sm_social_media_icons` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `icon` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '1 active, 0 inactive',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_social_media_icons`
--

INSERT INTO `sm_social_media_icons` (`id`, `url`, `icon`, `status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 'https://www.facebook.com/Spondonit', 'fa fa-facebook', 1, NULL, NULL, 1, 1, 1),
(2, 'https://www.facebook.com/Spondonit', 'fa fa-twitter', 1, NULL, NULL, 1, 1, 1),
(3, 'https://www.facebook.com/Spondonit', 'fa fa-dribbble', 1, NULL, NULL, 1, 1, 1),
(4, 'https://www.facebook.com/Spondonit', 'fa fa-linkedin', 1, NULL, NULL, 1, 1, 1);

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

--
-- Table structure for table `sm_staffs`
--

CREATE TABLE `sm_staffs` (
  `id` int(10) UNSIGNED NOT NULL,
  `staff_no` int(11) DEFAULT NULL,
  `first_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `full_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fathers_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mothers_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_birth` date DEFAULT '2022-02-17',
  `date_of_joining` date DEFAULT '2022-02-17',
  `email` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `emergency_mobile` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `marital_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `merital_status` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `staff_photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `current_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permanent_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `qualification` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `experience` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `epf_no` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `basic_salary` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contract_type` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `location` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `casual_leave` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `medical_leave` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `metarnity_leave` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account_name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account_no` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_brach` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `facebook_url` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `twiteer_url` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `linkedin_url` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `instragram_url` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `joining_letter` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `resume` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `other_document` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `driving_license` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `driving_license_ex_date` date DEFAULT NULL,
  `custom_field` text COLLATE utf8mb4_unicode_ci,
  `custom_field_form_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `designation_id` int(10) UNSIGNED DEFAULT '1',
  `department_id` int(10) UNSIGNED DEFAULT '1',
  `user_id` int(10) UNSIGNED DEFAULT '1',
  `role_id` int(10) UNSIGNED DEFAULT '1',
  `gender_id` int(10) UNSIGNED DEFAULT '1',
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `is_saas` int(10) UNSIGNED DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_staffs`
--

INSERT INTO `sm_staffs` (`id`, `staff_no`, `first_name`, `last_name`, `full_name`, `fathers_name`, `mothers_name`, `date_of_birth`, `date_of_joining`, `email`, `mobile`, `emergency_mobile`, `marital_status`, `merital_status`, `staff_photo`, `current_address`, `permanent_address`, `qualification`, `experience`, `epf_no`, `basic_salary`, `contract_type`, `location`, `casual_leave`, `medical_leave`, `metarnity_leave`, `bank_account_name`, `bank_account_no`, `bank_name`, `bank_brach`, `facebook_url`, `twiteer_url`, `linkedin_url`, `instragram_url`, `joining_letter`, `resume`, `other_document`, `notes`, `active_status`, `driving_license`, `driving_license_ex_date`, `custom_field`, `custom_field_form_name`, `created_at`, `updated_at`, `designation_id`, `department_id`, `user_id`, `role_id`, `gender_id`, `created_by`, `updated_by`, `school_id`, `is_saas`) VALUES
(1, 1, 'System', 'Administrator', 'System Administrator', NULL, NULL, '2022-02-17', '2022-02-17', 'admin@webodeveloper.com', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2022-02-17 02:18:13', '2022-02-17 14:19:34', 1, 1, 1, 1, 1, 1, 1, 1, 0);

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

--
-- Table structure for table `sm_staff_attendance_imports`
--

CREATE TABLE `sm_staff_attendance_imports` (
  `id` int(10) UNSIGNED NOT NULL,
  `attendence_date` date DEFAULT NULL,
  `in_time` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `out_time` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendance_type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Present: P Late: L Absent: A Holiday: H Half Day: F',
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `staff_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_staff_attendences`
--

CREATE TABLE `sm_staff_attendences` (
  `id` int(10) UNSIGNED NOT NULL,
  `attendence_type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Present: P Late: L Absent: A Holiday: H Half Day: F',
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendence_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `staff_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_students`
--

CREATE TABLE `sm_students` (
  `id` int(10) UNSIGNED NOT NULL,
  `admission_no` int(11) DEFAULT NULL,
  `roll_no` int(11) DEFAULT NULL,
  `first_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `full_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_birth` date DEFAULT NULL,
  `caste` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `admission_date` date DEFAULT NULL,
  `student_photo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `age` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `height` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `weight` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `current_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permanent_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `driver_id` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id_no` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `local_id_no` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account_no` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `previous_school_details` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `aditional_notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ifsc_code` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_title_1` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_file_1` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_title_2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_file_2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_title_3` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_file_3` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_title_4` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `document_file_4` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `custom_field` text COLLATE utf8mb4_unicode_ci,
  `custom_field_form_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `bloodgroup_id` int(10) UNSIGNED DEFAULT NULL,
  `religion_id` int(10) UNSIGNED DEFAULT NULL,
  `route_list_id` int(10) UNSIGNED DEFAULT NULL,
  `dormitory_id` int(10) UNSIGNED DEFAULT NULL,
  `vechile_id` int(10) UNSIGNED DEFAULT NULL,
  `room_id` int(10) UNSIGNED DEFAULT NULL,
  `student_category_id` int(10) UNSIGNED DEFAULT NULL,
  `student_group_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `session_id` int(10) UNSIGNED DEFAULT NULL,
  `parent_id` int(10) UNSIGNED DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `gender_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_attendances`
--

CREATE TABLE `sm_student_attendances` (
  `id` int(10) UNSIGNED NOT NULL,
  `attendance_type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Present: P Late: L Absent: A Holiday: H Half Day: F',
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendance_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_attendance_imports`
--

CREATE TABLE `sm_student_attendance_imports` (
  `id` int(10) UNSIGNED NOT NULL,
  `attendance_date` date DEFAULT NULL,
  `in_time` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `out_time` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendance_type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Present: P Late: L Absent: A Holiday: H Half Day: F',
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_categories`
--

CREATE TABLE `sm_student_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `category_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_certificates`
--

CREATE TABLE `sm_student_certificates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `header_left_text` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `body` text COLLATE utf8mb4_unicode_ci,
  `footer_left_text` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `footer_center_text` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `footer_right_text` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `student_photo` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1 = yes 0 no',
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_student_certificates`
--

INSERT INTO `sm_student_certificates` (`id`, `name`, `header_left_text`, `date`, `body`, `footer_left_text`, `footer_center_text`, `footer_right_text`, `student_photo`, `file`, `active_status`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`, `academic_id`) VALUES
(1, 'Certificate in Technical Communication (PCTC)', 'Since 2020', '2020-05-17', 'Earning my UCR Extension professional certificate is one of the most beneficial things I\'ve done for my career. Before even completing the program, I was contacted twice by companies who were interested in hiring me as a technical writer. This program helped me reach my career goals in a very short time', 'Advisor Signature', 'Instructor Signature', 'Principale Signature', 0, 'public/uploads/certificate/c.jpg', 1, '2022-02-17 14:18:57', '2022-02-17 14:18:57', 1, 1, 1, 1);

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

--
-- Table structure for table `sm_student_documents`
--

CREATE TABLE `sm_student_documents` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `student_staff_id` int(11) DEFAULT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'stu=student,stf=staff',
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_excel_formats`
--

CREATE TABLE `sm_student_excel_formats` (
  `roll_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_birth` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `caste` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `admission_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `category` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `blood_group` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `height` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `weight` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `siblings_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_relation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `current_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permanent_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_identification_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `local_identification_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `previous_school_details` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_groups`
--

CREATE TABLE `sm_student_groups` (
  `id` int(10) UNSIGNED NOT NULL,
  `group` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_homeworks`
--

CREATE TABLE `sm_student_homeworks` (
  `id` int(10) UNSIGNED NOT NULL,
  `homework_date` date DEFAULT NULL,
  `submission_date` date DEFAULT NULL,
  `description` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percentage` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `evaluated_by` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_id_cards`
--

CREATE TABLE `sm_student_id_cards` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `signature` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `background_img` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `profile_image` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `role_id` text COLLATE utf8mb4_unicode_ci,
  `page_layout_style` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_photo_style` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_photo_width` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_photo_height` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pl_width` int(11) DEFAULT NULL,
  `pl_height` int(11) DEFAULT NULL,
  `t_space` int(11) DEFAULT NULL,
  `b_space` int(11) DEFAULT NULL,
  `r_space` int(11) DEFAULT NULL,
  `l_space` int(11) DEFAULT NULL,
  `admission_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `student_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `class` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `father_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `mother_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `student_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `phone_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `dob` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `blood` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '0 for no 1 for yes',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_promotions`
--

CREATE TABLE `sm_student_promotions` (
  `id` int(10) UNSIGNED NOT NULL,
  `result_status` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `previous_class_id` int(10) UNSIGNED DEFAULT NULL,
  `current_class_id` int(10) UNSIGNED DEFAULT NULL,
  `previous_section_id` int(10) UNSIGNED DEFAULT NULL,
  `current_section_id` int(10) UNSIGNED DEFAULT NULL,
  `previous_session_id` int(10) UNSIGNED DEFAULT NULL,
  `current_session_id` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `admission_number` int(11) DEFAULT NULL,
  `student_info` longtext COLLATE utf8mb4_unicode_ci,
  `merit_student_info` longtext COLLATE utf8mb4_unicode_ci,
  `previous_roll_number` int(11) DEFAULT NULL,
  `current_roll_number` int(11) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_take_online_exams`
--

CREATE TABLE `sm_student_take_online_exams` (
  `id` int(10) UNSIGNED NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0=Not Yet, 1 = alreday submitted, 2 = got marks',
  `student_done` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0=Not Yet, 1 = complete',
  `total_marks` int(11) DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `online_exam_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_take_online_exam_questions`
--

CREATE TABLE `sm_student_take_online_exam_questions` (
  `id` int(10) UNSIGNED NOT NULL,
  `trueFalse` varchar(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'F = false, T = true ',
  `suitable_words` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `take_online_exam_id` int(10) UNSIGNED DEFAULT NULL,
  `question_bank_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_take_onln_ex_ques_options`
--

CREATE TABLE `sm_student_take_onln_ex_ques_options` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(4) DEFAULT NULL COMMENT '0 unchecked 1 checked',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `take_online_exam_question_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_student_timelines`
--

CREATE TABLE `sm_student_timelines` (
  `id` int(10) UNSIGNED NOT NULL,
  `staff_student_id` int(11) NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `file` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'stu=student,stf=staff',
  `visible_to_student` int(11) NOT NULL DEFAULT '0' COMMENT '0 = no, 1 = yes',
  `active_status` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_styles`
--

CREATE TABLE `sm_styles` (
  `id` int(10) UNSIGNED NOT NULL,
  `style_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path_main_style` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path_infix_style` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `primary_color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `primary_color2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title_color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `text_color` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `white` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `black` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sidebar_bg` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `barchart1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `barchart2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `barcharttextcolor` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `barcharttextfamily` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `areachartlinecolor1` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `areachartlinecolor2` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dashboardbackground` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `is_default` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'if 1 then yes, if 0 then no',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_styles`
--

INSERT INTO `sm_styles` (`id`, `style_name`, `path_main_style`, `path_infix_style`, `primary_color`, `primary_color2`, `title_color`, `text_color`, `white`, `black`, `sidebar_bg`, `barchart1`, `barchart2`, `barcharttextcolor`, `barcharttextfamily`, `areachartlinecolor1`, `areachartlinecolor2`, `dashboardbackground`, `active_status`, `is_active`, `is_default`, `created_at`, `updated_at`, `created_by`, `updated_by`, `school_id`) VALUES
(1, 'Default', 'style.css', 'infix.css', '#415094', '#7c32ff', '#222222', '#828bb2', '#ffffff', '#000000', '#e7ecff', '#8a33f8', '#f25278', '#415094', '\"poppins\", sans-serif', 'rgba(124, 50, 255, 0.5)', 'rgba(242, 82, 120, 0.5)', '', 1, 1, 0, '2022-02-17 14:19:16', '2022-02-17 14:19:16', 1, 1, 1),
(2, 'Lawn Green', 'lawngreen_version/style.css', 'lawngreen_version/infix.css', '#415094', '#03e396', '#222222', '#828bb2', '#ffffff', '#000000', '#e7ecff', '#415094', '#03e396', '#03e396', '\"Cerebri Sans\", Helvetica, Arial, sans-serif', '#415094', '#03e396', '#e7ecff', 1, 0, 0, '2022-02-17 14:19:16', '2022-02-17 14:19:16', 1, 1, 1);

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

--
-- Table structure for table `sm_subjects`
--

CREATE TABLE `sm_subjects` (
  `id` int(10) UNSIGNED NOT NULL,
  `subject_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subject_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject_type` enum('T','P') COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'T=Theory, P=Practical',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_subject_attendances`
--

CREATE TABLE `sm_subject_attendances` (
  `id` int(10) UNSIGNED NOT NULL,
  `attendance_type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Present: P Late: L Absent: A Holiday: H Half Day: F',
  `notes` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendance_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `subject_id` int(10) UNSIGNED DEFAULT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_suppliers`
--

CREATE TABLE `sm_suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `company_name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person_mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person_email` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cotact_person_address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_system_versions`
--

CREATE TABLE `sm_system_versions` (
  `id` int(10) UNSIGNED NOT NULL,
  `version_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `features` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_system_versions`
--

INSERT INTO `sm_system_versions` (`id`, `version_name`, `title`, `features`, `created_at`, `updated_at`) VALUES
(1, '3.2', 'Upgrade System Integration', 'features 1, features 2', '2022-02-17 14:19:16', '2022-02-17 14:19:16');

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

--
-- Table structure for table `sm_teacher_upload_contents`
--

CREATE TABLE `sm_teacher_upload_contents` (
  `id` int(10) UNSIGNED NOT NULL,
  `content_title` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'as assignment, st study material, sy sullabus, ot others download',
  `available_for_admin` int(11) NOT NULL DEFAULT '0',
  `available_for_all_classes` int(11) NOT NULL DEFAULT '0',
  `upload_date` date DEFAULT NULL,
  `description` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `source_url` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_file` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `class` int(10) UNSIGNED DEFAULT NULL,
  `section` int(11) DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_temporary_meritlists`
--

CREATE TABLE `sm_temporary_meritlists` (
  `id` int(10) UNSIGNED NOT NULL,
  `iid` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `student_id` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `merit_order` double(8,2) DEFAULT NULL,
  `student_name` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `admission_no` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjects_id_string` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subjects_string` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `marks_string` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `total_marks` double(8,2) DEFAULT NULL,
  `average_mark` double(20,2) DEFAULT NULL,
  `gpa_point` double(20,2) DEFAULT NULL,
  `result` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exam_id` int(10) UNSIGNED DEFAULT NULL,
  `class_id` int(10) UNSIGNED DEFAULT NULL,
  `section_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_testimonials`
--

CREATE TABLE `sm_testimonials` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `designation` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `institution_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_testimonials`
--

INSERT INTO `sm_testimonials` (`id`, `name`, `designation`, `institution_name`, `image`, `description`, `created_at`, `updated_at`, `school_id`) VALUES
(1, 'Tristique euhen', 'CEO', 'Google', 'public/uploads/testimonial/testimonial_1.jpg', 'its vast! Infix has more additional feature that will expect in a complete solution.', '2022-02-17 02:19:14', NULL, 1),
(2, 'Malala euhen', 'Chairman', 'Linkdin', 'public/uploads/testimonial/testimonial_2.jpg', 'its vast! Infix has more additional feature that will expect in a complete solution.', '2022-02-17 02:19:14', NULL, 1);

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

--
-- Table structure for table `sm_time_zones`
--

CREATE TABLE `sm_time_zones` (
  `id` int(10) UNSIGNED NOT NULL,
  `code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `time_zone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_time_zones`
--

INSERT INTO `sm_time_zones` (`id`, `code`, `time_zone`, `created_at`, `updated_at`) VALUES
(1, 'AD', 'Europe/Andorra', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(2, 'AE', 'Asia/Dubai', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(3, 'AF', 'Asia/Kabul', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(4, 'AG', 'America/Antigua', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(5, 'AI', 'America/Anguilla', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(6, 'AL', 'Europe/Tirane', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(7, 'AM', 'Asia/Yerevan', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(8, 'AO', 'Africa/Luanda', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(9, 'AQ', 'Antarctica/McMurdo', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(10, 'AQ', 'Antarctica/Casey', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(11, 'AQ', 'Antarctica/Davis', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(12, 'AQ', 'Antarctica/DumontDUrville', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(13, 'AQ', 'Antarctica/Mawson', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(14, 'AQ', 'Antarctica/Palmer', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(15, 'AQ', 'Antarctica/Rothera', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(16, 'AQ', 'Antarctica/Syowa', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(17, 'AQ', 'Antarctica/Troll', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(18, 'AQ', 'Antarctica/Vostok', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(19, 'AR', 'America/Argentina/Buenos_Aires', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(20, 'AR', 'America/Argentina/Cordoba', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(21, 'AR', 'America/Argentina/Salta', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(22, 'AR', 'America/Argentina/Jujuy', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(23, 'AR', 'America/Argentina/Tucuman', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(24, 'AR', 'America/Argentina/Catamarca', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(25, 'AR', 'America/Argentina/La_Rioja', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(26, 'AR', 'America/Argentina/San_Juan', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(27, 'AR', 'America/Argentina/Mendoza', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(28, 'AR', 'America/Argentina/San_Luis', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(29, 'AR', 'America/Argentina/Rio_Gallegos', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(30, 'AR', 'America/Argentina/Ushuaia', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(31, 'AS', 'Pacific/Pago_Pago', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(32, 'AT', 'Europe/Vienna', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(33, 'AU', 'Australia/Lord_Howe', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(34, 'AU', 'Antarctica/Macquarie', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(35, 'AU', 'Australia/Hobart', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(36, 'AU', 'Australia/Currie', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(37, 'AU', 'Australia/Melbourne', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(38, 'AU', 'Australia/Sydney', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(39, 'AU', 'Australia/Broken_Hill', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(40, 'AU', 'Australia/Brisbane', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(41, 'AU', 'Australia/Lindeman', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(42, 'AU', 'Australia/Adelaide', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(43, 'AU', 'Australia/Darwin', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(44, 'AU', 'Australia/Perth', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(45, 'AU', 'Australia/Eucla', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(46, 'AW', 'America/Aruba', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(47, 'AX', 'Europe/Mariehamn', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(48, 'AZ', 'Asia/Baku', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(49, 'BA', 'Europe/Sarajevo', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(50, 'BB', 'America/Barbados', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(51, 'BD', 'Asia/Dhaka', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(52, 'BE', 'Europe/Brussels', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(53, 'BF', 'Africa/Ouagadougou', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(54, 'BG', 'Europe/Sofia', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(55, 'BH', 'Asia/Bahrain', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(56, 'BI', 'Africa/Bujumbura', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(57, 'BJ', 'Africa/Porto-Novo', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(58, 'BL', 'America/St_Barthelemy', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(59, 'BM', 'Atlantic/Bermuda', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(60, 'BN', 'Asia/Brunei', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(61, 'BO', 'America/La_Paz', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(62, 'BQ', 'America/Kralendijk', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(63, 'BR', 'America/Noronha', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(64, 'BR', 'America/Belem', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(65, 'BR', 'America/Fortaleza', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(66, 'BR', 'America/Recife', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(67, 'BR', 'America/Araguaina', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(68, 'BR', 'America/Maceio', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(69, 'BR', 'America/Bahia', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(70, 'BR', 'America/Sao_Paulo', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(71, 'BR', 'America/Campo_Grande', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(72, 'BR', 'America/Cuiaba', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(73, 'BR', 'America/Santarem', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(74, 'BR', 'America/Porto_Velho', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(75, 'BR', 'America/Boa_Vista', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(76, 'BR', 'America/Manaus', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(77, 'BR', 'America/Eirunepe', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(78, 'BR', 'America/Rio_Branco', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(79, 'BS', 'America/Nassau', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(80, 'BT', 'Asia/Thimphu', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(81, 'BW', 'Africa/Gaborone', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(82, 'BY', 'Europe/Minsk', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(83, 'BZ', 'America/Belize', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(84, 'CA', 'America/St_Johns', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(85, 'CA', 'America/Halifax', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(86, 'CA', 'America/Glace_Bay', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(87, 'CA', 'America/Moncton', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(88, 'CA', 'America/Goose_Bay', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(89, 'CA', 'America/Blanc-Sablon', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(90, 'CA', 'America/Toronto', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(91, 'CA', 'America/Nipigon', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(92, 'CA', 'America/Thunder_Bay', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(93, 'CA', 'America/Iqaluit', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(94, 'CA', 'America/Pangnirtung', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(95, 'CA', 'America/Atikokan', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(96, 'CA', 'America/Winnipeg', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(97, 'CA', 'America/Rainy_River', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(98, 'CA', 'America/Resolute', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(99, 'CA', 'America/Rankin_Inlet', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(100, 'CA', 'America/Regina', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(101, 'CA', 'America/Swift_Current', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(102, 'CA', 'America/Edmonton', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(103, 'CA', 'America/Cambridge_Bay', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(104, 'CA', 'America/Yellowknife', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(105, 'CA', 'America/Inuvik', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(106, 'CA', 'America/Creston', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(107, 'CA', 'America/Dawson_Creek', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(108, 'CA', 'America/Fort_Nelson', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(109, 'CA', 'America/Vancouver', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(110, 'CA', 'America/Whitehorse', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(111, 'CA', 'America/Dawson', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(112, 'CC', 'Indian/Cocos', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(113, 'CD', 'Africa/Kinshasa', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(114, 'CD', 'Africa/Lubumbashi', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(115, 'CF', 'Africa/Bangui', '2022-02-17 14:19:16', '2022-02-17 14:19:16'),
(116, 'CG', 'Africa/Brazzaville', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(117, 'CH', 'Europe/Zurich', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(118, 'CI', 'Africa/Abidjan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(119, 'CK', 'Pacific/Rarotonga', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(120, 'CL', 'America/Santiago', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(121, 'CL', 'America/Punta_Arenas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(122, 'CL', 'Pacific/Easter', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(123, 'CM', 'Africa/Douala', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(124, 'CN', 'Asia/Shanghai', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(125, 'CN', 'Asia/Urumqi', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(126, 'CO', 'America/Bogota', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(127, 'CR', 'America/Costa_Rica', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(128, 'CU', 'America/Havana', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(129, 'CV', 'Atlantic/Cape_Verde', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(130, 'CW', 'America/Curacao', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(131, 'CX', 'Indian/Christmas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(132, 'CY', 'Asia/Nicosia', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(133, 'CY', 'Asia/Famagusta', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(134, 'CZ', 'Europe/Prague', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(135, 'DE', 'Europe/Berlin', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(136, 'DE', 'Europe/Busingen', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(137, 'DJ', 'Africa/Djibouti', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(138, 'DK', 'Europe/Copenhagen', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(139, 'DM', 'America/Dominica', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(140, 'DO', 'America/Santo_Domingo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(141, 'DZ', 'Africa/Algiers', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(142, 'EC', 'America/Guayaquil', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(143, 'EC', 'Pacific/Galapagos', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(144, 'EE', 'Europe/Tallinn', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(145, 'EG', 'Africa/Cairo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(146, 'EH', 'Africa/El_Aaiun', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(147, 'ER', 'Africa/Asmara', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(148, 'ES', 'Europe/Madrid', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(149, 'ES', 'Africa/Ceuta', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(150, 'ES', 'Atlantic/Canary', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(151, 'ET', 'Africa/Addis_Ababa', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(152, 'FI', 'Europe/Helsinki', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(153, 'FJ', 'Pacific/Fiji', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(154, 'FK', 'Atlantic/Stanley', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(155, 'FM', 'Pacific/Chuuk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(156, 'FM', 'Pacific/Pohnpei', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(157, 'FM', 'Pacific/Kosrae', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(158, 'FO', 'Atlantic/Faroe', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(159, 'FR', 'Europe/Paris', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(160, 'GA', 'Africa/Libreville', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(161, 'GB', 'Europe/London', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(162, 'GD', 'America/Grenada', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(163, 'GE', 'Asia/Tbilisi', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(164, 'GF', 'America/Cayenne', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(165, 'GG', 'Europe/Guernsey', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(166, 'GH', 'Africa/Accra', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(167, 'GI', 'Europe/Gibraltar', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(168, 'GL', 'America/Godthab', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(169, 'GL', 'America/Danmarkshavn', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(170, 'GL', 'America/Scoresbysund', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(171, 'GL', 'America/Thule', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(172, 'GM', 'Africa/Banjul', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(173, 'GN', 'Africa/Conakry', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(174, 'GP', 'America/Guadeloupe', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(175, 'GQ', 'Africa/Malabo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(176, 'GR', 'Europe/Athens', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(177, 'GS', 'Atlantic/South_Georgia', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(178, 'GT', 'America/Guatemala', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(179, 'GU', 'Pacific/Guam', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(180, 'GW', 'Africa/Bissau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(181, 'GY', 'America/Guyana', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(182, 'HK', 'Asia/Hong_Kong', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(183, 'HN', 'America/Tegucigalpa', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(184, 'HR', 'Europe/Zagreb', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(185, 'HT', 'America/Port-au-Prince', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(186, 'HU', 'Europe/Budapest', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(187, 'ID', 'Asia/Jakarta', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(188, 'ID', 'Asia/Pontianak', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(189, 'ID', 'Asia/Makassar', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(190, 'ID', 'Asia/Jayapura', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(191, 'IE', 'Europe/Dublin', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(192, 'IL', 'Asia/Jerusalem', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(193, 'IM', 'Europe/Isle_of_Man', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(194, 'IN', 'Asia/Kolkata', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(195, 'IO', 'Indian/Chagos', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(196, 'IQ', 'Asia/Baghdad', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(197, 'IR', 'Asia/Tehran', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(198, 'IS', 'Atlantic/Reykjavik', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(199, 'IT', 'Europe/Rome', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(200, 'JE', 'Europe/Jersey', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(201, 'JM', 'America/Jamaica', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(202, 'JO', 'Asia/Amman', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(203, 'JP', 'Asia/Tokyo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(204, 'KE', 'Africa/Nairobi', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(205, 'KG', 'Asia/Bishkek', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(206, 'KH', 'Asia/Phnom_Penh', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(207, 'KI', 'Pacific/Tarawa', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(208, 'KI', 'Pacific/Enderbury', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(209, 'KI', 'Pacific/Kiritimati', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(210, 'KM', 'Indian/Comoro', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(211, 'KN', 'America/St_Kitts', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(212, 'KP', 'Asia/Pyongyang', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(213, 'KR', 'Asia/Seoul', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(214, 'KW', 'Asia/Kuwait', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(215, 'KY', 'America/Cayman', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(216, 'KZ', 'Asia/Almaty', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(217, 'KZ', 'Asia/Qyzylorda', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(218, 'KZ', 'Asia/Aqtobe', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(219, 'KZ', 'Asia/Aqtau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(220, 'KZ', 'Asia/Atyrau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(221, 'KZ', 'Asia/Oral', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(222, 'LA', 'Asia/Vientiane', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(223, 'LB', 'Asia/Beirut', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(224, 'LC', 'America/St_Lucia', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(225, 'LI', 'Europe/Vaduz', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(226, 'LK', 'Asia/Colombo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(227, 'LR', 'Africa/Monrovia', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(228, 'LS', 'Africa/Maseru', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(229, 'LT', 'Europe/Vilnius', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(230, 'LU', 'Europe/Luxembourg', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(231, 'LV', 'Europe/Riga', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(232, 'LY', 'Africa/Tripoli', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(233, 'MA', 'Africa/Casablanca', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(234, 'MC', 'Europe/Monaco', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(235, 'MD', 'Europe/Chisinau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(236, 'ME', 'Europe/Podgorica', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(237, 'MF', 'America/Marigot', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(238, 'MG', 'Indian/Antananarivo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(239, 'MH', 'Pacific/Majuro', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(240, 'MH', 'Pacific/Kwajalein', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(241, 'MK', 'Europe/Skopje', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(242, 'ML', 'Africa/Bamako', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(243, 'MM', 'Asia/Yangon', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(244, 'MN', 'Asia/Ulaanbaatar', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(245, 'MN', 'Asia/Hovd', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(246, 'MN', 'Asia/Choibalsan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(247, 'MO', 'Asia/Macau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(248, 'MP', 'Pacific/Saipan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(249, 'MQ', 'America/Martinique', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(250, 'MR', 'Africa/Nouakchott', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(251, 'MS', 'America/Montserrat', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(252, 'MT', 'Europe/Malta', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(253, 'MU', 'Indian/Mauritius', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(254, 'MV', 'Indian/Maldives', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(255, 'MW', 'Africa/Blantyre', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(256, 'MX', 'America/Mexico_City', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(257, 'MX', 'America/Cancun', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(258, 'MX', 'America/Merida', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(259, 'MX', 'America/Monterrey', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(260, 'MX', 'America/Matamoros', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(261, 'MX', 'America/Mazatlan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(262, 'MX', 'America/Chihuahua', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(263, 'MX', 'America/Ojinaga', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(264, 'MX', 'America/Hermosillo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(265, 'MX', 'America/Tijuana', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(266, 'MX', 'America/Bahia_Banderas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(267, 'MY', 'Asia/Kuala_Lumpur', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(268, 'MY', 'Asia/Kuching', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(269, 'MZ', 'Africa/Maputo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(270, 'NA', 'Africa/Windhoek', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(271, 'NC', 'Pacific/Noumea', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(272, 'NE', 'Africa/Niamey', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(273, 'NF', 'Pacific/Norfolk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(274, 'NG', 'Africa/Lagos', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(275, 'NI', 'America/Managua', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(276, 'NL', 'Europe/Amsterdam', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(277, 'NO', 'Europe/Oslo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(278, 'NP', 'Asia/Kathmandu', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(279, 'NR', 'Pacific/Nauru', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(280, 'NU', 'Pacific/Niue', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(281, 'NZ', 'Pacific/Auckland', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(282, 'NZ', 'Pacific/Chatham', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(283, 'OM', 'Asia/Muscat', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(284, 'PA', 'America/Panama', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(285, 'PE', 'America/Lima', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(286, 'PF', 'Pacific/Tahiti', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(287, 'PF', 'Pacific/Marquesas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(288, 'PF', 'Pacific/Gambier', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(289, 'PG', 'Pacific/Port_Moresby', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(290, 'PG', 'Pacific/Bougainville', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(291, 'PH', 'Asia/Manila', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(292, 'PK', 'Asia/Karachi', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(293, 'PL', 'Europe/Warsaw', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(294, 'PM', 'America/Miquelon', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(295, 'PN', 'Pacific/Pitcairn', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(296, 'PR', 'America/Puerto_Rico', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(297, 'PS', 'Asia/Gaza', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(298, 'PS', 'Asia/Hebron', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(299, 'PT', 'Europe/Lisbon', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(300, 'PT', 'Atlantic/Madeira', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(301, 'PT', 'Atlantic/Azores', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(302, 'PW', 'Pacific/Palau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(303, 'PY', 'America/Asuncion', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(304, 'QA', 'Asia/Qatar', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(305, 'RE', 'Indian/Reunion', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(306, 'RO', 'Europe/Bucharest', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(307, 'RS', 'Europe/Belgrade', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(308, 'RU', 'Europe/Kaliningrad', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(309, 'RU', 'Europe/Moscow', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(310, 'RU', 'Europe/Simferopol', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(311, 'RU', 'Europe/Volgograd', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(312, 'RU', 'Europe/Kirov', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(313, 'RU', 'Europe/Astrakhan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(314, 'RU', 'Europe/Saratov', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(315, 'RU', 'Europe/Ulyanovsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(316, 'RU', 'Europe/Samara', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(317, 'RU', 'Asia/Yekaterinburg', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(318, 'RU', 'Asia/Omsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(319, 'RU', 'Asia/Novosibirsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(320, 'RU', 'Asia/Barnaul', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(321, 'RU', 'Asia/Tomsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(322, 'RU', 'Asia/Novokuznetsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(323, 'RU', 'Asia/Krasnoyarsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(324, 'RU', 'Asia/Irkutsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(325, 'RU', 'Asia/Chita', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(326, 'RU', 'Asia/Yakutsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(327, 'RU', 'Asia/Khandyga', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(328, 'RU', 'Asia/Vladivostok', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(329, 'RU', 'Asia/Ust-Nera', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(330, 'RU', 'Asia/Magadan', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(331, 'RU', 'Asia/Sakhalin', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(332, 'RU', 'Asia/Srednekolymsk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(333, 'RU', 'Asia/Kamchatka', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(334, 'RU', 'Asia/Anadyr', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(335, 'RW', 'Africa/Kigali', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(336, 'SA', 'Asia/Riyadh', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(337, 'SB', 'Pacific/Guadalcanal', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(338, 'SC', 'Indian/Mahe', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(339, 'SD', 'Africa/Khartoum', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(340, 'SE', 'Europe/Stockholm', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(341, 'SG', 'Asia/Singapore', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(342, 'SH', 'Atlantic/St_Helena', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(343, 'SI', 'Europe/Ljubljana', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(344, 'SJ', 'Arctic/Longyearbyen', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(345, 'SK', 'Europe/Bratislava', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(346, 'SL', 'Africa/Freetown', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(347, 'SM', 'Europe/San_Marino', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(348, 'SN', 'Africa/Dakar', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(349, 'SO', 'Africa/Mogadishu', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(350, 'SR', 'America/Paramaribo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(351, 'SS', 'Africa/Juba', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(352, 'ST', 'Africa/Sao_Tome', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(353, 'SV', 'America/El_Salvador', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(354, 'SX', 'America/Lower_Princes', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(355, 'SY', 'Asia/Damascus', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(356, 'SZ', 'Africa/Mbabane', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(357, 'TC', 'America/Grand_Turk', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(358, 'TD', 'Africa/Ndjamena', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(359, 'TF', 'Indian/Kerguelen', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(360, 'TG', 'Africa/Lome', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(361, 'TH', 'Asia/Bangkok', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(362, 'TJ', 'Asia/Dushanbe', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(363, 'TK', 'Pacific/Fakaofo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(364, 'TL', 'Asia/Dili', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(365, 'TM', 'Asia/Ashgabat', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(366, 'TN', 'Africa/Tunis', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(367, 'TO', 'Pacific/Tongatapu', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(368, 'TR', 'Europe/Istanbul', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(369, 'TT', 'America/Port_of_Spain', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(370, 'TV', 'Pacific/Funafuti', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(371, 'TW', 'Asia/Taipei', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(372, 'TZ', 'Africa/Dar_es_Salaam', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(373, 'UA', 'Europe/Kiev', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(374, 'UA', 'Europe/Uzhgorod', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(375, 'UA', 'Europe/Zaporozhye', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(376, 'UG', 'Africa/Kampala', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(377, 'UM', 'Pacific/Midway', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(378, 'UM', 'Pacific/Wake', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(379, 'US', 'America/New_York', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(380, 'US', 'America/Detroit', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(381, 'US', 'America/Kentucky/Louisville', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(382, 'US', 'America/Kentucky/Monticello', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(383, 'US', 'America/Indiana/Indianapolis', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(384, 'US', 'America/Indiana/Vincennes', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(385, 'US', 'America/Indiana/Winamac', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(386, 'US', 'America/Indiana/Marengo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(387, 'US', 'America/Indiana/Petersburg', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(388, 'US', 'America/Indiana/Vevay', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(389, 'US', 'America/Chicago', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(390, 'US', 'America/Indiana/Tell_City', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(391, 'US', 'America/Indiana/Knox', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(392, 'US', 'America/Menominee', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(393, 'US', 'America/North_Dakota/Center', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(394, 'US', 'America/North_Dakota/New_Salem', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(395, 'US', 'America/North_Dakota/Beulah', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(396, 'US', 'America/Denver', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(397, 'US', 'America/Boise', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(398, 'US', 'America/Phoenix', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(399, 'US', 'America/Los_Angeles', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(400, 'US', 'America/Anchorage', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(401, 'US', 'America/Juneau', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(402, 'US', 'America/Sitka', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(403, 'US', 'America/Metlakatla', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(404, 'US', 'America/Yakutat', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(405, 'US', 'America/Nome', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(406, 'US', 'America/Adak', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(407, 'US', 'Pacific/Honolulu', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(408, 'UY', 'America/Montevideo', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(409, 'UZ', 'Asia/Samarkand', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(410, 'UZ', 'Asia/Tashkent', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(411, 'VA', 'Europe/Vatican', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(412, 'VC', 'America/St_Vincent', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(413, 'VE', 'America/Caracas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(414, 'VG', 'America/Tortola', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(415, 'VI', 'America/St_Thomas', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(416, 'VN', 'Asia/Ho_Chi_Minh', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(417, 'VU', 'Pacific/Efate', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(418, 'WF', 'Pacific/Wallis', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(419, 'WS', 'Pacific/Apia', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(420, 'YE', 'Asia/Aden', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(421, 'YT', 'Indian/Mayotte', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(422, 'ZA', 'Africa/Johannesburg', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(423, 'ZM', 'Africa/Lusaka', '2022-02-17 14:19:17', '2022-02-17 14:19:17'),
(424, 'ZW', 'Africa/Harare', '2022-02-17 14:19:17', '2022-02-17 14:19:17');

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

--
-- Table structure for table `sm_to_dos`
--

CREATE TABLE `sm_to_dos` (
  `id` int(10) UNSIGNED NOT NULL,
  `todo_title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `complete_status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT 'P' COMMENT 'C for complete, N for not Complete, P Pending',
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_upload_contents`
--

CREATE TABLE `sm_upload_contents` (
  `id` int(10) UNSIGNED NOT NULL,
  `content_title` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content_type` int(11) DEFAULT NULL,
  `available_for_role` int(11) DEFAULT NULL,
  `available_for_class` int(11) DEFAULT NULL,
  `available_for_section` int(11) DEFAULT NULL,
  `upload_date` date DEFAULT NULL,
  `description` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_file` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_upload_homework_contents`
--

CREATE TABLE `sm_upload_homework_contents` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `student_id` int(10) UNSIGNED DEFAULT '1',
  `homework_id` int(10) UNSIGNED DEFAULT '1',
  `description` text COLLATE utf8mb4_unicode_ci,
  `file` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_user_logs`
--

CREATE TABLE `sm_user_logs` (
  `id` int(10) UNSIGNED NOT NULL,
  `ip_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_user_logs`
--

INSERT INTO `sm_user_logs` (`id`, `ip_address`, `user_agent`, `created_at`, `updated_at`, `user_id`, `role_id`, `school_id`, `academic_id`) VALUES
(1, '127.0.0.1', 'Chrome, Windows', '2022-02-17 14:21:38', '2022-02-17 14:21:38', 1, 1, 1, 1),
(2, '127.0.0.1', 'Chrome, Windows', '2022-02-21 10:14:14', '2022-02-21 10:14:14', 1, 1, 1, 1);

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

--
-- Table structure for table `sm_vehicles`
--

CREATE TABLE `sm_vehicles` (
  `id` int(10) UNSIGNED NOT NULL,
  `vehicle_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `vehicle_model` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `made_year` int(11) DEFAULT NULL,
  `note` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `driver_id` int(10) UNSIGNED DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_visitors`
--

CREATE TABLE `sm_visitors` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `visitor_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `no_of_person` int(11) DEFAULT NULL,
  `purpose` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `in_time` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `out_time` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `created_by` int(10) UNSIGNED DEFAULT '1',
  `updated_by` int(10) UNSIGNED DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sm_weekends`
--

CREATE TABLE `sm_weekends` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` int(11) DEFAULT NULL,
  `is_weekend` int(11) DEFAULT NULL,
  `active_status` int(11) NOT NULL DEFAULT '1',
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_at` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `academic_id` int(10) UNSIGNED DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sm_weekends`
--

INSERT INTO `sm_weekends` (`id`, `name`, `order`, `is_weekend`, `active_status`, `school_id`, `created_at`, `updated_at`, `academic_id`) VALUES
(1, 'Saturday', 6, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(2, 'Sunday', 7, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(3, 'Monday', 1, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(4, 'Tuesday', 2, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(5, 'Wednesday', 3, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(6, 'Thursday', 4, 0, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1),
(7, 'Friday', 5, 1, 1, 1, '2022-02-17 20:19:05', '2022-02-18 02:27:34', 1);

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

--
-- Table structure for table `student_academic_histories`
--

CREATE TABLE `student_academic_histories` (
  `id` int(10) UNSIGNED NOT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `active_status` tinyint(1) NOT NULL DEFAULT '1',
  `occurance_date` date NOT NULL,
  `student_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `student_attendance_bulks`
--

CREATE TABLE `student_attendance_bulks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `attendance_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attendance_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `student_id` int(11) DEFAULT NULL,
  `class_id` int(11) DEFAULT NULL,
  `section_id` int(11) DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `student_bulk_temporaries`
--

CREATE TABLE `student_bulk_temporaries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `admission_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `roll_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_of_birth` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `religion` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `caste` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mobile` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `admission_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `blood_group` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `height` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `weight` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `father_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mother_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_relation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_occupation` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guardian_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `current_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `permanent_address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_account_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_identification_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `local_identification_no` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `previous_school_details` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `note` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `telescope_entries`
--

CREATE TABLE `telescope_entries` (
  `sequence` bigint(20) UNSIGNED NOT NULL,
  `uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `family_hash` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `should_display_on_index` tinyint(1) NOT NULL DEFAULT '1',
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `telescope_entries_tags`
--

CREATE TABLE `telescope_entries_tags` (
  `entry_uuid` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tag` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `telescope_monitoring`
--

CREATE TABLE `telescope_monitoring` (
  `tag` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `transcations`
--

CREATE TABLE `transcations` (
  `id` int(11) NOT NULL,
  `title` text COLLATE utf8mb4_unicode_ci,
  `type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'debit',
  `payment_method` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `morphable_id` bigint(20) UNSIGNED DEFAULT NULL,
  `morphable_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` bigint(20) NOT NULL DEFAULT '0',
  `transaction_date` date DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(11) NOT NULL DEFAULT '1',
  `academic_id` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_menus`
--

CREATE TABLE `user_menus` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `active_status` tinyint(4) NOT NULL DEFAULT '1',
  `role_id` int(10) UNSIGNED DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `school_id` int(10) UNSIGNED DEFAULT '1',
  `academic_id` int(10) UNSIGNED DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `wallet_transactions`
--

CREATE TABLE `wallet_transactions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `amount` double(8,2) DEFAULT NULL,
  `payment_method` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` int(10) UNSIGNED DEFAULT NULL,
  `bank_id` int(11) DEFAULT NULL,
  `note` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'diposit, refund, expense, fees_refund',
  `file` text COLLATE utf8mb4_unicode_ci,
  `reject_note` text COLLATE utf8mb4_unicode_ci,
  `expense` double(8,2) DEFAULT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending' COMMENT 'pending, approve, reject',
  `created_by` int(11) DEFAULT NULL,
  `academic_id` int(11) NOT NULL DEFAULT '1',
  `school_id` int(11) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `continents`
--
ALTER TABLE `continents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `continents_school_id_foreign` (`school_id`);

--
-- Indexes for table `continets`
--
ALTER TABLE `continets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `continets_school_id_foreign` (`school_id`);

--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `countries_school_id_foreign` (`school_id`),
  ADD KEY `countries_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `custom_result_settings`
--
ALTER TABLE `custom_result_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `custom_result_settings_school_id_foreign` (`school_id`),
  ADD KEY `custom_result_settings_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

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

--
-- Indexes for table `fm_fees_invoices`
--
ALTER TABLE `fm_fees_invoices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fm_fees_invoices_student_id_foreign` (`student_id`);

--
-- Indexes for table `fm_fees_invoice_chields`
--
ALTER TABLE `fm_fees_invoice_chields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fm_fees_invoice_chields_fees_invoice_id_foreign` (`fees_invoice_id`);

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

--
-- Indexes for table `fm_fees_transactions`
--
ALTER TABLE `fm_fees_transactions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fm_fees_transactions_fees_invoice_id_foreign` (`fees_invoice_id`);

--
-- Indexes for table `fm_fees_transaction_chields`
--
ALTER TABLE `fm_fees_transaction_chields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fm_fees_transaction_chields_fees_transaction_id_foreign` (`fees_transaction_id`);

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

--
-- Indexes for table `fm_fees_weavers`
--
ALTER TABLE `fm_fees_weavers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fm_fees_weavers_fees_invoice_id_foreign` (`fees_invoice_id`);

--
-- Indexes for table `infix_module_infos`
--
ALTER TABLE `infix_module_infos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `infix_module_infos_created_by_foreign` (`created_by`),
  ADD KEY `infix_module_infos_updated_by_foreign` (`updated_by`),
  ADD KEY `infix_module_infos_school_id_foreign` (`school_id`);

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

--
-- Indexes for table `infix_module_student_parent_infos`
--
ALTER TABLE `infix_module_student_parent_infos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `infix_module_student_parent_infos_created_by_foreign` (`created_by`),
  ADD KEY `infix_module_student_parent_infos_updated_by_foreign` (`updated_by`),
  ADD KEY `infix_module_student_parent_infos_school_id_foreign` (`school_id`);

--
-- Indexes for table `infix_permission_assigns`
--
ALTER TABLE `infix_permission_assigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `infix_permission_assigns_role_id_foreign` (`role_id`),
  ADD KEY `infix_permission_assigns_school_id_foreign` (`school_id`);

--
-- Indexes for table `infix_roles`
--
ALTER TABLE `infix_roles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `infix_roles_school_id_foreign` (`school_id`);

--
-- Indexes for table `invoice_settings`
--
ALTER TABLE `invoice_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `invoice_settings_created_by_foreign` (`created_by`),
  ADD KEY `invoice_settings_updated_by_foreign` (`updated_by`),
  ADD KEY `invoice_settings_school_id_foreign` (`school_id`),
  ADD KEY `invoice_settings_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_index` (`queue`);

--
-- Indexes for table `languages`
--
ALTER TABLE `languages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `languages_school_id_foreign` (`school_id`);

--
-- Indexes for table `lesson_planners`
--
ALTER TABLE `lesson_planners`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lesson_planners_room_id_foreign` (`room_id`),
  ADD KEY `lesson_planners_teacher_id_foreign` (`teacher_id`),
  ADD KEY `lesson_planners_class_period_id_foreign` (`class_period_id`),
  ADD KEY `lesson_planners_subject_id_foreign` (`subject_id`),
  ADD KEY `lesson_planners_class_id_foreign` (`class_id`),
  ADD KEY `lesson_planners_section_id_foreign` (`section_id`),
  ADD KEY `lesson_planners_school_id_foreign` (`school_id`),
  ADD KEY `lesson_planners_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `library_subjects`
--
ALTER TABLE `library_subjects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `library_subjects_school_id_foreign` (`school_id`),
  ADD KEY `library_subjects_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `menu_manages`
--
ALTER TABLE `menu_manages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `menu_manages_role_id_foreign` (`role_id`),
  ADD KEY `menu_manages_user_id_foreign` (`user_id`),
  ADD KEY `menu_manages_school_id_foreign` (`school_id`),
  ADD KEY `menu_manages_academic_id_foreign` (`academic_id`);

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

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`);

--
-- Indexes for table `oauth_access_tokens`
--
ALTER TABLE `oauth_access_tokens`
  ADD KEY `oauth_access_tokens_user_id_index` (`user_id`);

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

--
-- Indexes for table `oauth_personal_access_clients`
--
ALTER TABLE `oauth_personal_access_clients`
  ADD PRIMARY KEY (`id`),
  ADD KEY `oauth_personal_access_clients_client_id_index` (`client_id`);

--
-- Indexes for table `oauth_refresh_tokens`
--
ALTER TABLE `oauth_refresh_tokens`
  ADD PRIMARY KEY (`id`),
  ADD KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`);

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

--
-- Indexes for table `password_resets`
--
ALTER TABLE `password_resets`
  ADD KEY `password_resets_email_index` (`email`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `roles_school_id_foreign` (`school_id`);

--
-- Indexes for table `school_modules`
--
ALTER TABLE `school_modules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `school_modules_school_id_foreign` (`school_id`),
  ADD KEY `school_modules_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sidebars`
--
ALTER TABLE `sidebars`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sidebars_role_id_foreign` (`role_id`),
  ADD KEY `sidebars_user_id_foreign` (`user_id`),
  ADD KEY `sidebars_school_id_foreign` (`school_id`);

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

--
-- Indexes for table `sms_templates`
--
ALTER TABLE `sms_templates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sms_templates_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_about_pages`
--
ALTER TABLE `sm_about_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_about_pages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_academic_years`
--
ALTER TABLE `sm_academic_years`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_academic_years_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_add_expenses`
--
ALTER TABLE `sm_add_expenses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_add_expenses_school_id_foreign` (`school_id`),
  ADD KEY `sm_add_expenses_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_add_incomes`
--
ALTER TABLE `sm_add_incomes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_add_incomes_account_id_foreign` (`account_id`),
  ADD KEY `sm_add_incomes_payment_method_id_foreign` (`payment_method_id`),
  ADD KEY `sm_add_incomes_school_id_foreign` (`school_id`),
  ADD KEY `sm_add_incomes_academic_id_foreign` (`academic_id`);

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

--
-- Indexes for table `sm_admission_queries`
--
ALTER TABLE `sm_admission_queries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_admission_queries_class_foreign` (`class`),
  ADD KEY `sm_admission_queries_school_id_foreign` (`school_id`),
  ADD KEY `sm_admission_queries_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_admission_query_followups`
--
ALTER TABLE `sm_admission_query_followups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_admission_query_followups_admission_query_id_foreign` (`admission_query_id`),
  ADD KEY `sm_admission_query_followups_school_id_foreign` (`school_id`),
  ADD KEY `sm_admission_query_followups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_amount_transfers`
--
ALTER TABLE `sm_amount_transfers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_amount_transfers_school_id_foreign` (`school_id`),
  ADD KEY `sm_amount_transfers_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_assign_class_teachers`
--
ALTER TABLE `sm_assign_class_teachers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_assign_class_teachers_class_id_foreign` (`class_id`),
  ADD KEY `sm_assign_class_teachers_section_id_foreign` (`section_id`),
  ADD KEY `sm_assign_class_teachers_school_id_foreign` (`school_id`),
  ADD KEY `sm_assign_class_teachers_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_assign_subjects`
--
ALTER TABLE `sm_assign_subjects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_assign_subjects_teacher_id_foreign` (`teacher_id`),
  ADD KEY `sm_assign_subjects_class_id_foreign` (`class_id`),
  ADD KEY `sm_assign_subjects_section_id_foreign` (`section_id`),
  ADD KEY `sm_assign_subjects_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_assign_subjects_school_id_foreign` (`school_id`),
  ADD KEY `sm_assign_subjects_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_assign_vehicles`
--
ALTER TABLE `sm_assign_vehicles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_assign_vehicles_vehicle_id_foreign` (`vehicle_id`),
  ADD KEY `sm_assign_vehicles_route_id_foreign` (`route_id`),
  ADD KEY `sm_assign_vehicles_school_id_foreign` (`school_id`),
  ADD KEY `sm_assign_vehicles_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_background_settings`
--
ALTER TABLE `sm_background_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_background_settings_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_backups`
--
ALTER TABLE `sm_backups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_backups_school_id_foreign` (`school_id`),
  ADD KEY `sm_backups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_bank_accounts`
--
ALTER TABLE `sm_bank_accounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_bank_accounts_school_id_foreign` (`school_id`),
  ADD KEY `sm_bank_accounts_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_bank_payment_slips`
--
ALTER TABLE `sm_bank_payment_slips`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_bank_payment_slips_fees_discount_id_foreign` (`fees_discount_id`),
  ADD KEY `sm_bank_payment_slips_fees_type_id_foreign` (`fees_type_id`),
  ADD KEY `sm_bank_payment_slips_student_id_foreign` (`student_id`),
  ADD KEY `sm_bank_payment_slips_class_id_foreign` (`class_id`),
  ADD KEY `sm_bank_payment_slips_assign_id_foreign` (`assign_id`),
  ADD KEY `sm_bank_payment_slips_section_id_foreign` (`section_id`),
  ADD KEY `sm_bank_payment_slips_school_id_foreign` (`school_id`),
  ADD KEY `sm_bank_payment_slips_academic_id_foreign` (`academic_id`);

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

--
-- Indexes for table `sm_base_groups`
--
ALTER TABLE `sm_base_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_base_groups_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_base_setups`
--
ALTER TABLE `sm_base_setups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_base_setups_base_group_id_foreign` (`base_group_id`),
  ADD KEY `sm_base_setups_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_books`
--
ALTER TABLE `sm_books`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_books_book_category_id_foreign` (`book_category_id`),
  ADD KEY `sm_books_school_id_foreign` (`school_id`),
  ADD KEY `sm_books_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_book_categories`
--
ALTER TABLE `sm_book_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_book_categories_school_id_foreign` (`school_id`),
  ADD KEY `sm_book_categories_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_book_issues`
--
ALTER TABLE `sm_book_issues`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_book_issues_book_id_foreign` (`book_id`),
  ADD KEY `sm_book_issues_member_id_foreign` (`member_id`),
  ADD KEY `sm_book_issues_school_id_foreign` (`school_id`),
  ADD KEY `sm_book_issues_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_chart_of_accounts`
--
ALTER TABLE `sm_chart_of_accounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_chart_of_accounts_school_id_foreign` (`school_id`),
  ADD KEY `sm_chart_of_accounts_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_classes`
--
ALTER TABLE `sm_classes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_classes_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_optional_subject`
--
ALTER TABLE `sm_class_optional_subject`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_optional_subject_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_optional_subject_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_rooms`
--
ALTER TABLE `sm_class_rooms`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_rooms_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_rooms_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_routines`
--
ALTER TABLE `sm_class_routines`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_routines_class_id_foreign` (`class_id`),
  ADD KEY `sm_class_routines_section_id_foreign` (`section_id`),
  ADD KEY `sm_class_routines_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_class_routines_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_routines_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_routine_updates`
--
ALTER TABLE `sm_class_routine_updates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_routine_updates_room_id_foreign` (`room_id`),
  ADD KEY `sm_class_routine_updates_teacher_id_foreign` (`teacher_id`),
  ADD KEY `sm_class_routine_updates_class_period_id_foreign` (`class_period_id`),
  ADD KEY `sm_class_routine_updates_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_class_routine_updates_class_id_foreign` (`class_id`),
  ADD KEY `sm_class_routine_updates_section_id_foreign` (`section_id`),
  ADD KEY `sm_class_routine_updates_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_routine_updates_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_sections`
--
ALTER TABLE `sm_class_sections`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_sections_class_id_foreign` (`class_id`),
  ADD KEY `sm_class_sections_section_id_foreign` (`section_id`),
  ADD KEY `sm_class_sections_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_sections_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_teachers`
--
ALTER TABLE `sm_class_teachers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_teachers_teacher_id_foreign` (`teacher_id`),
  ADD KEY `sm_class_teachers_assign_class_teacher_id_foreign` (`assign_class_teacher_id`),
  ADD KEY `sm_class_teachers_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_teachers_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_class_times`
--
ALTER TABLE `sm_class_times`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_class_times_school_id_foreign` (`school_id`),
  ADD KEY `sm_class_times_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_complaints`
--
ALTER TABLE `sm_complaints`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_complaints_school_id_foreign` (`school_id`),
  ADD KEY `sm_complaints_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_contact_messages`
--
ALTER TABLE `sm_contact_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_contact_messages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_contact_pages`
--
ALTER TABLE `sm_contact_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_contact_pages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_content_types`
--
ALTER TABLE `sm_content_types`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_content_types_school_id_foreign` (`school_id`),
  ADD KEY `sm_content_types_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_countries`
--
ALTER TABLE `sm_countries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_countries_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_courses`
--
ALTER TABLE `sm_courses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_courses_school_id_foreign` (`school_id`);

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

--
-- Indexes for table `sm_course_pages`
--
ALTER TABLE `sm_course_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_course_pages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_currencies`
--
ALTER TABLE `sm_currencies`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_currencies_school_id_foreign` (`school_id`);

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

--
-- Indexes for table `sm_custom_links`
--
ALTER TABLE `sm_custom_links`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_custom_links_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_custom_temporary_results`
--
ALTER TABLE `sm_custom_temporary_results`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_custom_temporary_results_school_id_foreign` (`school_id`),
  ADD KEY `sm_custom_temporary_results_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_dashboard_settings`
--
ALTER TABLE `sm_dashboard_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_dashboard_settings_role_id_foreign` (`role_id`),
  ADD KEY `sm_dashboard_settings_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_date_formats`
--
ALTER TABLE `sm_date_formats`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_date_formats_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_designations`
--
ALTER TABLE `sm_designations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_designations_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_dormitory_lists`
--
ALTER TABLE `sm_dormitory_lists`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_dormitory_lists_school_id_foreign` (`school_id`),
  ADD KEY `sm_dormitory_lists_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_email_sms_logs`
--
ALTER TABLE `sm_email_sms_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_email_sms_logs_school_id_foreign` (`school_id`),
  ADD KEY `sm_email_sms_logs_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_events`
--
ALTER TABLE `sm_events`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_events_school_id_foreign` (`school_id`),
  ADD KEY `sm_events_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exams`
--
ALTER TABLE `sm_exams`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exams_exam_type_id_foreign` (`exam_type_id`),
  ADD KEY `sm_exams_class_id_foreign` (`class_id`),
  ADD KEY `sm_exams_section_id_foreign` (`section_id`),
  ADD KEY `sm_exams_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exams_school_id_foreign` (`school_id`),
  ADD KEY `sm_exams_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_attendances`
--
ALTER TABLE `sm_exam_attendances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_attendances_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exam_attendances_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_exam_attendances_class_id_foreign` (`class_id`),
  ADD KEY `sm_exam_attendances_section_id_foreign` (`section_id`),
  ADD KEY `sm_exam_attendances_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_attendances_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_attendance_children`
--
ALTER TABLE `sm_exam_attendance_children`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_attendance_children_exam_attendance_id_foreign` (`exam_attendance_id`),
  ADD KEY `sm_exam_attendance_children_student_id_foreign` (`student_id`),
  ADD KEY `sm_exam_attendance_children_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_attendance_children_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_marks_registers`
--
ALTER TABLE `sm_exam_marks_registers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_marks_registers_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_exam_marks_registers_student_id_foreign` (`student_id`),
  ADD KEY `sm_exam_marks_registers_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exam_marks_registers_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_marks_registers_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_schedules`
--
ALTER TABLE `sm_exam_schedules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_schedules_exam_period_id_foreign` (`exam_period_id`),
  ADD KEY `sm_exam_schedules_room_id_foreign` (`room_id`),
  ADD KEY `sm_exam_schedules_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exam_schedules_exam_term_id_foreign` (`exam_term_id`),
  ADD KEY `sm_exam_schedules_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_exam_schedules_class_id_foreign` (`class_id`),
  ADD KEY `sm_exam_schedules_section_id_foreign` (`section_id`),
  ADD KEY `sm_exam_schedules_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_schedules_academic_id_foreign` (`academic_id`),
  ADD KEY `sm_exam_schedules_teacher_id_foreign` (`teacher_id`);

--
-- Indexes for table `sm_exam_schedule_subjects`
--
ALTER TABLE `sm_exam_schedule_subjects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_schedule_subjects_exam_schedule_id_foreign` (`exam_schedule_id`),
  ADD KEY `sm_exam_schedule_subjects_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exam_schedule_subjects_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_schedule_subjects_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_settings`
--
ALTER TABLE `sm_exam_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_settings_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_settings_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_setups`
--
ALTER TABLE `sm_exam_setups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_setups_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_exam_setups_class_id_foreign` (`class_id`),
  ADD KEY `sm_exam_setups_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_exam_setups_section_id_foreign` (`section_id`),
  ADD KEY `sm_exam_setups_exam_term_id_foreign` (`exam_term_id`),
  ADD KEY `sm_exam_setups_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_setups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_exam_types`
--
ALTER TABLE `sm_exam_types`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_exam_types_school_id_foreign` (`school_id`),
  ADD KEY `sm_exam_types_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_expense_heads`
--
ALTER TABLE `sm_expense_heads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_expense_heads_school_id_foreign` (`school_id`),
  ADD KEY `sm_expense_heads_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_assigns`
--
ALTER TABLE `sm_fees_assigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_assigns_fees_master_id_foreign` (`fees_master_id`),
  ADD KEY `sm_fees_assigns_fees_discount_id_foreign` (`fees_discount_id`),
  ADD KEY `sm_fees_assigns_student_id_foreign` (`student_id`),
  ADD KEY `sm_fees_assigns_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_assigns_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_assign_discounts`
--
ALTER TABLE `sm_fees_assign_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_assign_discounts_student_id_foreign` (`student_id`),
  ADD KEY `sm_fees_assign_discounts_fees_discount_id_foreign` (`fees_discount_id`),
  ADD KEY `sm_fees_assign_discounts_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_assign_discounts_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_carry_forwards`
--
ALTER TABLE `sm_fees_carry_forwards`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_carry_forwards_student_id_foreign` (`student_id`),
  ADD KEY `sm_fees_carry_forwards_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_carry_forwards_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_discounts`
--
ALTER TABLE `sm_fees_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_discounts_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_discounts_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_groups`
--
ALTER TABLE `sm_fees_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_groups_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_groups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_masters`
--
ALTER TABLE `sm_fees_masters`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_masters_fees_group_id_foreign` (`fees_group_id`),
  ADD KEY `sm_fees_masters_fees_type_id_foreign` (`fees_type_id`),
  ADD KEY `sm_fees_masters_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_masters_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_payments`
--
ALTER TABLE `sm_fees_payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_payments_assign_id_foreign` (`assign_id`),
  ADD KEY `sm_fees_payments_bank_id_foreign` (`bank_id`),
  ADD KEY `sm_fees_payments_fees_discount_id_foreign` (`fees_discount_id`),
  ADD KEY `sm_fees_payments_fees_type_id_foreign` (`fees_type_id`),
  ADD KEY `sm_fees_payments_student_id_foreign` (`student_id`),
  ADD KEY `sm_fees_payments_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_payments_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_fees_types`
--
ALTER TABLE `sm_fees_types`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_fees_types_fees_group_id_foreign` (`fees_group_id`),
  ADD KEY `sm_fees_types_school_id_foreign` (`school_id`),
  ADD KEY `sm_fees_types_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_frontend_persmissions`
--
ALTER TABLE `sm_frontend_persmissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_frontend_persmissions_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_header_menu_managers`
--
ALTER TABLE `sm_header_menu_managers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_header_menu_managers_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_holidays`
--
ALTER TABLE `sm_holidays`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_holidays_school_id_foreign` (`school_id`),
  ADD KEY `sm_holidays_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_homeworks`
--
ALTER TABLE `sm_homeworks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_homeworks_evaluated_by_foreign` (`evaluated_by`),
  ADD KEY `sm_homeworks_class_id_foreign` (`class_id`),
  ADD KEY `sm_homeworks_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_homeworks_school_id_foreign` (`school_id`),
  ADD KEY `sm_homeworks_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_homework_students`
--
ALTER TABLE `sm_homework_students`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_homework_students_student_id_foreign` (`student_id`),
  ADD KEY `sm_homework_students_homework_id_foreign` (`homework_id`),
  ADD KEY `sm_homework_students_school_id_foreign` (`school_id`),
  ADD KEY `sm_homework_students_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_home_page_settings`
--
ALTER TABLE `sm_home_page_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_home_page_settings_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_hourly_rates`
--
ALTER TABLE `sm_hourly_rates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_hourly_rates_school_id_foreign` (`school_id`),
  ADD KEY `sm_hourly_rates_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_hr_payroll_earn_deducs`
--
ALTER TABLE `sm_hr_payroll_earn_deducs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_hr_payroll_earn_deducs_payroll_generate_id_foreign` (`payroll_generate_id`),
  ADD KEY `sm_hr_payroll_earn_deducs_school_id_foreign` (`school_id`),
  ADD KEY `sm_hr_payroll_earn_deducs_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_hr_payroll_generates`
--
ALTER TABLE `sm_hr_payroll_generates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_hr_payroll_generates_staff_id_foreign` (`staff_id`),
  ADD KEY `sm_hr_payroll_generates_school_id_foreign` (`school_id`),
  ADD KEY `sm_hr_payroll_generates_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_hr_salary_templates`
--
ALTER TABLE `sm_hr_salary_templates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_hr_salary_templates_school_id_foreign` (`school_id`),
  ADD KEY `sm_hr_salary_templates_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_human_departments`
--
ALTER TABLE `sm_human_departments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_human_departments_created_by_foreign` (`created_by`),
  ADD KEY `sm_human_departments_updated_by_foreign` (`updated_by`),
  ADD KEY `sm_human_departments_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_income_heads`
--
ALTER TABLE `sm_income_heads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_income_heads_school_id_foreign` (`school_id`),
  ADD KEY `sm_income_heads_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_instructions`
--
ALTER TABLE `sm_instructions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_instructions_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_inventory_payments`
--
ALTER TABLE `sm_inventory_payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_inventory_payments_school_id_foreign` (`school_id`),
  ADD KEY `sm_inventory_payments_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_items`
--
ALTER TABLE `sm_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_items_item_category_id_foreign` (`item_category_id`),
  ADD KEY `sm_items_school_id_foreign` (`school_id`),
  ADD KEY `sm_items_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_categories`
--
ALTER TABLE `sm_item_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_categories_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_categories_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_issues`
--
ALTER TABLE `sm_item_issues`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_issues_role_id_foreign` (`role_id`),
  ADD KEY `sm_item_issues_item_category_id_foreign` (`item_category_id`),
  ADD KEY `sm_item_issues_item_id_foreign` (`item_id`),
  ADD KEY `sm_item_issues_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_issues_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_receives`
--
ALTER TABLE `sm_item_receives`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_receives_supplier_id_foreign` (`supplier_id`),
  ADD KEY `sm_item_receives_store_id_foreign` (`store_id`),
  ADD KEY `sm_item_receives_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_receives_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_receive_children`
--
ALTER TABLE `sm_item_receive_children`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_receive_children_item_id_foreign` (`item_id`),
  ADD KEY `sm_item_receive_children_item_receive_id_foreign` (`item_receive_id`),
  ADD KEY `sm_item_receive_children_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_receive_children_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_sells`
--
ALTER TABLE `sm_item_sells`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_sells_role_id_foreign` (`role_id`),
  ADD KEY `sm_item_sells_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_sells_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_sell_children`
--
ALTER TABLE `sm_item_sell_children`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_sell_children_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_sell_children_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_item_stores`
--
ALTER TABLE `sm_item_stores`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_item_stores_school_id_foreign` (`school_id`),
  ADD KEY `sm_item_stores_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_languages`
--
ALTER TABLE `sm_languages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_languages_lang_id_foreign` (`lang_id`),
  ADD KEY `sm_languages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_language_phrases`
--
ALTER TABLE `sm_language_phrases`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_language_phrases_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_leave_deduction_infos`
--
ALTER TABLE `sm_leave_deduction_infos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_leave_deduction_infos_school_id_foreign` (`school_id`),
  ADD KEY `sm_leave_deduction_infos_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_leave_defines`
--
ALTER TABLE `sm_leave_defines`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_leave_defines_role_id_foreign` (`role_id`),
  ADD KEY `sm_leave_defines_user_id_foreign` (`user_id`),
  ADD KEY `sm_leave_defines_type_id_foreign` (`type_id`),
  ADD KEY `sm_leave_defines_school_id_foreign` (`school_id`),
  ADD KEY `sm_leave_defines_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_leave_requests`
--
ALTER TABLE `sm_leave_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_leave_requests_leave_define_id_foreign` (`leave_define_id`),
  ADD KEY `sm_leave_requests_staff_id_foreign` (`staff_id`),
  ADD KEY `sm_leave_requests_role_id_foreign` (`role_id`),
  ADD KEY `sm_leave_requests_type_id_foreign` (`type_id`),
  ADD KEY `sm_leave_requests_school_id_foreign` (`school_id`),
  ADD KEY `sm_leave_requests_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_leave_types`
--
ALTER TABLE `sm_leave_types`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_leave_types_school_id_foreign` (`school_id`),
  ADD KEY `sm_leave_types_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_lessons`
--
ALTER TABLE `sm_lessons`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_lessons_class_id_foreign` (`class_id`),
  ADD KEY `sm_lessons_section_id_foreign` (`section_id`),
  ADD KEY `sm_lessons_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_lessons_school_id_foreign` (`school_id`),
  ADD KEY `sm_lessons_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_lesson_details`
--
ALTER TABLE `sm_lesson_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_lesson_details_class_id_foreign` (`class_id`),
  ADD KEY `sm_lesson_details_section_id_foreign` (`section_id`),
  ADD KEY `sm_lesson_details_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_lesson_details_school_id_foreign` (`school_id`),
  ADD KEY `sm_lesson_details_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_lesson_topics`
--
ALTER TABLE `sm_lesson_topics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_lesson_topics_class_id_foreign` (`class_id`),
  ADD KEY `sm_lesson_topics_section_id_foreign` (`section_id`),
  ADD KEY `sm_lesson_topics_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_lesson_topics_school_id_foreign` (`school_id`),
  ADD KEY `sm_lesson_topics_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_lesson_topic_details`
--
ALTER TABLE `sm_lesson_topic_details`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_lesson_topic_details_topic_id_foreign` (`topic_id`),
  ADD KEY `sm_lesson_topic_details_school_id_foreign` (`school_id`),
  ADD KEY `sm_lesson_topic_details_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_library_members`
--
ALTER TABLE `sm_library_members`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_library_members_member_type_foreign` (`member_type`),
  ADD KEY `sm_library_members_student_staff_id_foreign` (`student_staff_id`),
  ADD KEY `sm_library_members_school_id_foreign` (`school_id`),
  ADD KEY `sm_library_members_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_marks_grades`
--
ALTER TABLE `sm_marks_grades`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_marks_grades_school_id_foreign` (`school_id`),
  ADD KEY `sm_marks_grades_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_marks_registers`
--
ALTER TABLE `sm_marks_registers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_marks_registers_student_id_foreign` (`student_id`),
  ADD KEY `sm_marks_registers_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_marks_registers_class_id_foreign` (`class_id`),
  ADD KEY `sm_marks_registers_section_id_foreign` (`section_id`),
  ADD KEY `sm_marks_registers_school_id_foreign` (`school_id`),
  ADD KEY `sm_marks_registers_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_marks_register_children`
--
ALTER TABLE `sm_marks_register_children`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_marks_register_children_marks_register_id_foreign` (`marks_register_id`),
  ADD KEY `sm_marks_register_children_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_marks_register_children_school_id_foreign` (`school_id`),
  ADD KEY `sm_marks_register_children_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_marks_send_sms`
--
ALTER TABLE `sm_marks_send_sms`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_marks_send_sms_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_marks_send_sms_student_id_foreign` (`student_id`),
  ADD KEY `sm_marks_send_sms_school_id_foreign` (`school_id`),
  ADD KEY `sm_marks_send_sms_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_mark_stores`
--
ALTER TABLE `sm_mark_stores`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_mark_stores_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_mark_stores_exam_term_id_foreign` (`exam_term_id`),
  ADD KEY `sm_mark_stores_exam_setup_id_foreign` (`exam_setup_id`),
  ADD KEY `sm_mark_stores_student_id_foreign` (`student_id`),
  ADD KEY `sm_mark_stores_class_id_foreign` (`class_id`),
  ADD KEY `sm_mark_stores_section_id_foreign` (`section_id`),
  ADD KEY `sm_mark_stores_school_id_foreign` (`school_id`),
  ADD KEY `sm_mark_stores_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_modules`
--
ALTER TABLE `sm_modules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_modules_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_module_links`
--
ALTER TABLE `sm_module_links`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_module_links_module_id_foreign` (`module_id`),
  ADD KEY `sm_module_links_created_by_foreign` (`created_by`),
  ADD KEY `sm_module_links_updated_by_foreign` (`updated_by`),
  ADD KEY `sm_module_links_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_module_permissions`
--
ALTER TABLE `sm_module_permissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_module_permissions_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_module_permission_assigns`
--
ALTER TABLE `sm_module_permission_assigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_module_permission_assigns_module_id_foreign` (`module_id`),
  ADD KEY `sm_module_permission_assigns_role_id_foreign` (`role_id`),
  ADD KEY `sm_module_permission_assigns_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_news`
--
ALTER TABLE `sm_news`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_news_category_id_foreign` (`category_id`);

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

--
-- Indexes for table `sm_news_pages`
--
ALTER TABLE `sm_news_pages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_news_pages_created_by_foreign` (`created_by`),
  ADD KEY `sm_news_pages_updated_by_foreign` (`updated_by`),
  ADD KEY `sm_news_pages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_notice_boards`
--
ALTER TABLE `sm_notice_boards`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_notice_boards_school_id_foreign` (`school_id`),
  ADD KEY `sm_notice_boards_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_notifications`
--
ALTER TABLE `sm_notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_notifications_school_id_foreign` (`school_id`),
  ADD KEY `sm_notifications_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_online_exams`
--
ALTER TABLE `sm_online_exams`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_online_exams_class_id_foreign` (`class_id`),
  ADD KEY `sm_online_exams_section_id_foreign` (`section_id`),
  ADD KEY `sm_online_exams_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_online_exams_school_id_foreign` (`school_id`),
  ADD KEY `sm_online_exams_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_online_exam_marks`
--
ALTER TABLE `sm_online_exam_marks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_online_exam_marks_student_id_foreign` (`student_id`),
  ADD KEY `sm_online_exam_marks_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_online_exam_marks_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_online_exam_marks_school_id_foreign` (`school_id`),
  ADD KEY `sm_online_exam_marks_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_online_exam_questions`
--
ALTER TABLE `sm_online_exam_questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_online_exam_questions_online_exam_id_foreign` (`online_exam_id`),
  ADD KEY `sm_online_exam_questions_school_id_foreign` (`school_id`),
  ADD KEY `sm_online_exam_questions_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_online_exam_question_assigns`
--
ALTER TABLE `sm_online_exam_question_assigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_online_exam_question_assigns_online_exam_id_foreign` (`online_exam_id`),
  ADD KEY `sm_online_exam_question_assigns_question_bank_id_foreign` (`question_bank_id`),
  ADD KEY `sm_online_exam_question_assigns_school_id_foreign` (`school_id`),
  ADD KEY `sm_online_exam_question_assigns_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_online_exam_question_mu_options`
--
ALTER TABLE `sm_online_exam_question_mu_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `on_ex_qu_id` (`online_exam_question_id`),
  ADD KEY `sm_online_exam_question_mu_options_school_id_foreign` (`school_id`),
  ADD KEY `sm_online_exam_question_mu_options_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_optional_subject_assigns`
--
ALTER TABLE `sm_optional_subject_assigns`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_optional_subject_assigns_student_id_foreign` (`student_id`),
  ADD KEY `sm_optional_subject_assigns_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_optional_subject_assigns_school_id_foreign` (`school_id`),
  ADD KEY `sm_optional_subject_assigns_session_id_foreign` (`session_id`),
  ADD KEY `sm_optional_subject_assigns_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_pages`
--
ALTER TABLE `sm_pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `sm_pages_sub_title_unique` (`sub_title`),
  ADD KEY `sm_pages_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_parents`
--
ALTER TABLE `sm_parents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_parents_user_id_foreign` (`user_id`),
  ADD KEY `sm_parents_school_id_foreign` (`school_id`),
  ADD KEY `sm_parents_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_payment_methhods`
--
ALTER TABLE `sm_payment_methhods`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_payment_methhods_gateway_id_foreign` (`gateway_id`),
  ADD KEY `sm_payment_methhods_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_phone_call_logs`
--
ALTER TABLE `sm_phone_call_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_phone_call_logs_school_id_foreign` (`school_id`),
  ADD KEY `sm_phone_call_logs_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_postal_dispatches`
--
ALTER TABLE `sm_postal_dispatches`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_postal_dispatches_school_id_foreign` (`school_id`),
  ADD KEY `sm_postal_dispatches_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_postal_receives`
--
ALTER TABLE `sm_postal_receives`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_postal_receives_school_id_foreign` (`school_id`),
  ADD KEY `sm_postal_receives_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_product_purchases`
--
ALTER TABLE `sm_product_purchases`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_product_purchases_user_id_foreign` (`user_id`),
  ADD KEY `sm_product_purchases_staff_id_foreign` (`staff_id`),
  ADD KEY `sm_product_purchases_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_question_banks`
--
ALTER TABLE `sm_question_banks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_question_banks_q_group_id_foreign` (`q_group_id`),
  ADD KEY `sm_question_banks_class_id_foreign` (`class_id`),
  ADD KEY `sm_question_banks_section_id_foreign` (`section_id`),
  ADD KEY `sm_question_banks_school_id_foreign` (`school_id`),
  ADD KEY `sm_question_banks_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_question_bank_mu_options`
--
ALTER TABLE `sm_question_bank_mu_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_question_bank_mu_options_question_bank_id_foreign` (`question_bank_id`),
  ADD KEY `sm_question_bank_mu_options_school_id_foreign` (`school_id`),
  ADD KEY `sm_question_bank_mu_options_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_question_groups`
--
ALTER TABLE `sm_question_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_question_groups_school_id_foreign` (`school_id`),
  ADD KEY `sm_question_groups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_question_levels`
--
ALTER TABLE `sm_question_levels`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_question_levels_school_id_foreign` (`school_id`),
  ADD KEY `sm_question_levels_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_result_stores`
--
ALTER TABLE `sm_result_stores`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_result_stores_exam_type_id_foreign` (`exam_type_id`),
  ADD KEY `sm_result_stores_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_result_stores_exam_setup_id_foreign` (`exam_setup_id`),
  ADD KEY `sm_result_stores_student_id_foreign` (`student_id`),
  ADD KEY `sm_result_stores_class_id_foreign` (`class_id`),
  ADD KEY `sm_result_stores_section_id_foreign` (`section_id`),
  ADD KEY `sm_result_stores_school_id_foreign` (`school_id`),
  ADD KEY `sm_result_stores_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_role_permissions`
--
ALTER TABLE `sm_role_permissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_role_permissions_module_link_id_foreign` (`module_link_id`),
  ADD KEY `sm_role_permissions_role_id_foreign` (`role_id`),
  ADD KEY `sm_role_permissions_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_room_lists`
--
ALTER TABLE `sm_room_lists`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_room_lists_dormitory_id_foreign` (`dormitory_id`),
  ADD KEY `sm_room_lists_room_type_id_foreign` (`room_type_id`),
  ADD KEY `sm_room_lists_school_id_foreign` (`school_id`),
  ADD KEY `sm_room_lists_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_room_types`
--
ALTER TABLE `sm_room_types`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_room_types_school_id_foreign` (`school_id`),
  ADD KEY `sm_room_types_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_routes`
--
ALTER TABLE `sm_routes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_routes_school_id_foreign` (`school_id`),
  ADD KEY `sm_routes_academic_id_foreign` (`academic_id`);

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

--
-- Indexes for table `sm_seat_plans`
--
ALTER TABLE `sm_seat_plans`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_seat_plans_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_seat_plans_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_seat_plans_class_id_foreign` (`class_id`),
  ADD KEY `sm_seat_plans_section_id_foreign` (`section_id`),
  ADD KEY `sm_seat_plans_school_id_foreign` (`school_id`),
  ADD KEY `sm_seat_plans_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_seat_plan_children`
--
ALTER TABLE `sm_seat_plan_children`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_seat_plan_children_seat_plan_id_foreign` (`seat_plan_id`),
  ADD KEY `sm_seat_plan_children_school_id_foreign` (`school_id`),
  ADD KEY `sm_seat_plan_children_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_sections`
--
ALTER TABLE `sm_sections`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_sections_school_id_foreign` (`school_id`),
  ADD KEY `sm_sections_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_send_messages`
--
ALTER TABLE `sm_send_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_send_messages_school_id_foreign` (`school_id`),
  ADD KEY `sm_send_messages_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_sessions`
--
ALTER TABLE `sm_sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_sessions_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_setup_admins`
--
ALTER TABLE `sm_setup_admins`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_setup_admins_school_id_foreign` (`school_id`),
  ADD KEY `sm_setup_admins_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_social_media_icons`
--
ALTER TABLE `sm_social_media_icons`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_social_media_icons_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_staffs`
--
ALTER TABLE `sm_staffs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_staffs_designation_id_foreign` (`designation_id`),
  ADD KEY `sm_staffs_department_id_foreign` (`department_id`),
  ADD KEY `sm_staffs_user_id_foreign` (`user_id`),
  ADD KEY `sm_staffs_role_id_foreign` (`role_id`),
  ADD KEY `sm_staffs_gender_id_foreign` (`gender_id`),
  ADD KEY `sm_staffs_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_staff_attendance_imports`
--
ALTER TABLE `sm_staff_attendance_imports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_staff_attendance_imports_staff_id_foreign` (`staff_id`),
  ADD KEY `sm_staff_attendance_imports_school_id_foreign` (`school_id`),
  ADD KEY `sm_staff_attendance_imports_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_staff_attendences`
--
ALTER TABLE `sm_staff_attendences`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_staff_attendences_staff_id_foreign` (`staff_id`),
  ADD KEY `sm_staff_attendences_school_id_foreign` (`school_id`),
  ADD KEY `sm_staff_attendences_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_students`
--
ALTER TABLE `sm_students`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_students_bloodgroup_id_foreign` (`bloodgroup_id`),
  ADD KEY `sm_students_religion_id_foreign` (`religion_id`),
  ADD KEY `sm_students_route_list_id_foreign` (`route_list_id`),
  ADD KEY `sm_students_dormitory_id_foreign` (`dormitory_id`),
  ADD KEY `sm_students_vechile_id_foreign` (`vechile_id`),
  ADD KEY `sm_students_room_id_foreign` (`room_id`),
  ADD KEY `sm_students_student_category_id_foreign` (`student_category_id`),
  ADD KEY `sm_students_student_group_id_foreign` (`student_group_id`),
  ADD KEY `sm_students_class_id_foreign` (`class_id`),
  ADD KEY `sm_students_section_id_foreign` (`section_id`),
  ADD KEY `sm_students_session_id_foreign` (`session_id`),
  ADD KEY `sm_students_parent_id_foreign` (`parent_id`),
  ADD KEY `sm_students_user_id_foreign` (`user_id`),
  ADD KEY `sm_students_role_id_foreign` (`role_id`),
  ADD KEY `sm_students_gender_id_foreign` (`gender_id`),
  ADD KEY `sm_students_school_id_foreign` (`school_id`),
  ADD KEY `sm_students_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_attendances`
--
ALTER TABLE `sm_student_attendances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_attendances_student_id_foreign` (`student_id`),
  ADD KEY `sm_student_attendances_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_attendances_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_attendance_imports`
--
ALTER TABLE `sm_student_attendance_imports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_attendance_imports_student_id_foreign` (`student_id`),
  ADD KEY `sm_student_attendance_imports_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_attendance_imports_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_categories`
--
ALTER TABLE `sm_student_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_categories_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_categories_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_certificates`
--
ALTER TABLE `sm_student_certificates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_certificates_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_certificates_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_documents`
--
ALTER TABLE `sm_student_documents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_documents_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_documents_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_excel_formats`
--
ALTER TABLE `sm_student_excel_formats`
  ADD KEY `sm_student_excel_formats_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_excel_formats_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_groups`
--
ALTER TABLE `sm_student_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_groups_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_groups_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_homeworks`
--
ALTER TABLE `sm_student_homeworks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_homeworks_evaluated_by_foreign` (`evaluated_by`),
  ADD KEY `sm_student_homeworks_student_id_foreign` (`student_id`),
  ADD KEY `sm_student_homeworks_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_student_homeworks_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_homeworks_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_id_cards`
--
ALTER TABLE `sm_student_id_cards`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_id_cards_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_id_cards_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_promotions`
--
ALTER TABLE `sm_student_promotions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_promotions_previous_class_id_foreign` (`previous_class_id`),
  ADD KEY `sm_student_promotions_current_class_id_foreign` (`current_class_id`),
  ADD KEY `sm_student_promotions_previous_section_id_foreign` (`previous_section_id`),
  ADD KEY `sm_student_promotions_current_section_id_foreign` (`current_section_id`),
  ADD KEY `sm_student_promotions_previous_session_id_foreign` (`previous_session_id`),
  ADD KEY `sm_student_promotions_current_session_id_foreign` (`current_session_id`),
  ADD KEY `sm_student_promotions_student_id_foreign` (`student_id`),
  ADD KEY `sm_student_promotions_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_promotions_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_take_online_exams`
--
ALTER TABLE `sm_student_take_online_exams`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_take_online_exams_student_id_foreign` (`student_id`),
  ADD KEY `sm_student_take_online_exams_online_exam_id_foreign` (`online_exam_id`),
  ADD KEY `sm_student_take_online_exams_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_take_online_exams_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_take_online_exam_questions`
--
ALTER TABLE `sm_student_take_online_exam_questions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `t_on_ex_id` (`take_online_exam_id`),
  ADD KEY `sm_student_take_online_exam_questions_question_bank_id_foreign` (`question_bank_id`),
  ADD KEY `sm_student_take_online_exam_questions_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_take_online_exam_questions_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_take_onln_ex_ques_options`
--
ALTER TABLE `sm_student_take_onln_ex_ques_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `t_on_ex_q_id` (`take_online_exam_question_id`),
  ADD KEY `sm_student_take_onln_ex_ques_options_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_take_onln_ex_ques_options_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_student_timelines`
--
ALTER TABLE `sm_student_timelines`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_student_timelines_school_id_foreign` (`school_id`),
  ADD KEY `sm_student_timelines_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_styles`
--
ALTER TABLE `sm_styles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_styles_school_id_foreign` (`school_id`);

--
-- Indexes for table `sm_subjects`
--
ALTER TABLE `sm_subjects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_subjects_school_id_foreign` (`school_id`),
  ADD KEY `sm_subjects_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_subject_attendances`
--
ALTER TABLE `sm_subject_attendances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_subject_attendances_subject_id_foreign` (`subject_id`),
  ADD KEY `sm_subject_attendances_student_id_foreign` (`student_id`),
  ADD KEY `sm_subject_attendances_school_id_foreign` (`school_id`),
  ADD KEY `sm_subject_attendances_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_suppliers`
--
ALTER TABLE `sm_suppliers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_suppliers_school_id_foreign` (`school_id`),
  ADD KEY `sm_suppliers_academic_id_foreign` (`academic_id`);

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

--
-- Indexes for table `sm_teacher_upload_contents`
--
ALTER TABLE `sm_teacher_upload_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_teacher_upload_contents_class_foreign` (`class`),
  ADD KEY `sm_teacher_upload_contents_school_id_foreign` (`school_id`),
  ADD KEY `sm_teacher_upload_contents_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_temporary_meritlists`
--
ALTER TABLE `sm_temporary_meritlists`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_temporary_meritlists_exam_id_foreign` (`exam_id`),
  ADD KEY `sm_temporary_meritlists_class_id_foreign` (`class_id`),
  ADD KEY `sm_temporary_meritlists_section_id_foreign` (`section_id`),
  ADD KEY `sm_temporary_meritlists_school_id_foreign` (`school_id`),
  ADD KEY `sm_temporary_meritlists_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_testimonials`
--
ALTER TABLE `sm_testimonials`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_testimonials_school_id_foreign` (`school_id`);

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

--
-- Indexes for table `sm_to_dos`
--
ALTER TABLE `sm_to_dos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_to_dos_school_id_foreign` (`school_id`),
  ADD KEY `sm_to_dos_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_upload_contents`
--
ALTER TABLE `sm_upload_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_upload_contents_school_id_foreign` (`school_id`),
  ADD KEY `sm_upload_contents_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_upload_homework_contents`
--
ALTER TABLE `sm_upload_homework_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_upload_homework_contents_student_id_foreign` (`student_id`),
  ADD KEY `sm_upload_homework_contents_homework_id_foreign` (`homework_id`),
  ADD KEY `sm_upload_homework_contents_school_id_foreign` (`school_id`),
  ADD KEY `sm_upload_homework_contents_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_user_logs`
--
ALTER TABLE `sm_user_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_user_logs_user_id_foreign` (`user_id`),
  ADD KEY `sm_user_logs_role_id_foreign` (`role_id`),
  ADD KEY `sm_user_logs_school_id_foreign` (`school_id`),
  ADD KEY `sm_user_logs_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_vehicles`
--
ALTER TABLE `sm_vehicles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_vehicles_school_id_foreign` (`school_id`),
  ADD KEY `sm_vehicles_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_visitors`
--
ALTER TABLE `sm_visitors`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_visitors_school_id_foreign` (`school_id`),
  ADD KEY `sm_visitors_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `sm_weekends`
--
ALTER TABLE `sm_weekends`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sm_weekends_school_id_foreign` (`school_id`),
  ADD KEY `sm_weekends_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `student_academic_histories`
--
ALTER TABLE `student_academic_histories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_academic_histories_student_id_foreign` (`student_id`),
  ADD KEY `student_academic_histories_school_id_foreign` (`school_id`),
  ADD KEY `student_academic_histories_academic_id_foreign` (`academic_id`);

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

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

--
-- Indexes for table `telescope_entries`
--
ALTER TABLE `telescope_entries`
  ADD PRIMARY KEY (`sequence`),
  ADD UNIQUE KEY `telescope_entries_uuid_unique` (`uuid`),
  ADD KEY `telescope_entries_batch_id_index` (`batch_id`),
  ADD KEY `telescope_entries_family_hash_index` (`family_hash`),
  ADD KEY `telescope_entries_created_at_index` (`created_at`),
  ADD KEY `telescope_entries_type_should_display_on_index_index` (`type`,`should_display_on_index`);

--
-- Indexes for table `telescope_entries_tags`
--
ALTER TABLE `telescope_entries_tags`
  ADD KEY `telescope_entries_tags_entry_uuid_tag_index` (`entry_uuid`,`tag`),
  ADD KEY `telescope_entries_tags_tag_index` (`tag`);

--
-- Indexes for table `transcations`
--
ALTER TABLE `transcations`
  ADD KEY `transcations_user_id_foreign` (`user_id`);

--
-- Indexes for table `user_menus`
--
ALTER TABLE `user_menus`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_menus_role_id_foreign` (`role_id`),
  ADD KEY `user_menus_user_id_foreign` (`user_id`),
  ADD KEY `user_menus_school_id_foreign` (`school_id`),
  ADD KEY `user_menus_academic_id_foreign` (`academic_id`);

--
-- Indexes for table `wallet_transactions`
--
ALTER TABLE `wallet_transactions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `wallet_transactions_user_id_foreign` (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `continets`
--
ALTER TABLE `continets`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `lesson_planners`
--
ALTER TABLE `lesson_planners`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `library_subjects`
--
ALTER TABLE `library_subjects`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `oauth_auth_codes`
--
ALTER TABLE `oauth_auth_codes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `oauth_refresh_tokens`
--
ALTER TABLE `oauth_refresh_tokens`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `sm_add_expenses`
--
ALTER TABLE `sm_add_expenses`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_add_incomes`
--
ALTER TABLE `sm_add_incomes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_admission_queries`
--
ALTER TABLE `sm_admission_queries`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_admission_query_followups`
--
ALTER TABLE `sm_admission_query_followups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_amount_transfers`
--
ALTER TABLE `sm_amount_transfers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_assign_class_teachers`
--
ALTER TABLE `sm_assign_class_teachers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_assign_subjects`
--
ALTER TABLE `sm_assign_subjects`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_assign_vehicles`
--
ALTER TABLE `sm_assign_vehicles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_backups`
--
ALTER TABLE `sm_backups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_bank_accounts`
--
ALTER TABLE `sm_bank_accounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `sm_books`
--
ALTER TABLE `sm_books`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_book_categories`
--
ALTER TABLE `sm_book_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_book_issues`
--
ALTER TABLE `sm_book_issues`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_classes`
--
ALTER TABLE `sm_classes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_optional_subject`
--
ALTER TABLE `sm_class_optional_subject`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_rooms`
--
ALTER TABLE `sm_class_rooms`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_routines`
--
ALTER TABLE `sm_class_routines`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_routine_updates`
--
ALTER TABLE `sm_class_routine_updates`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_sections`
--
ALTER TABLE `sm_class_sections`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_teachers`
--
ALTER TABLE `sm_class_teachers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_class_times`
--
ALTER TABLE `sm_class_times`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_complaints`
--
ALTER TABLE `sm_complaints`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_contact_messages`
--
ALTER TABLE `sm_contact_messages`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_content_types`
--
ALTER TABLE `sm_content_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_countries`
--
ALTER TABLE `sm_countries`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_course_categories`
--
ALTER TABLE `sm_course_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `sm_custom_temporary_results`
--
ALTER TABLE `sm_custom_temporary_results`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_dashboard_settings`
--
ALTER TABLE `sm_dashboard_settings`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_dormitory_lists`
--
ALTER TABLE `sm_dormitory_lists`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_email_sms_logs`
--
ALTER TABLE `sm_email_sms_logs`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_exams`
--
ALTER TABLE `sm_exams`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_attendances`
--
ALTER TABLE `sm_exam_attendances`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_attendance_children`
--
ALTER TABLE `sm_exam_attendance_children`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_marks_registers`
--
ALTER TABLE `sm_exam_marks_registers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_schedules`
--
ALTER TABLE `sm_exam_schedules`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_schedule_subjects`
--
ALTER TABLE `sm_exam_schedule_subjects`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_exam_setups`
--
ALTER TABLE `sm_exam_setups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_exam_types`
--
ALTER TABLE `sm_exam_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_expense_heads`
--
ALTER TABLE `sm_expense_heads`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_assigns`
--
ALTER TABLE `sm_fees_assigns`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_assign_discounts`
--
ALTER TABLE `sm_fees_assign_discounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_carry_forwards`
--
ALTER TABLE `sm_fees_carry_forwards`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_discounts`
--
ALTER TABLE `sm_fees_discounts`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_groups`
--
ALTER TABLE `sm_fees_groups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_masters`
--
ALTER TABLE `sm_fees_masters`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_payments`
--
ALTER TABLE `sm_fees_payments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_fees_types`
--
ALTER TABLE `sm_fees_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_holidays`
--
ALTER TABLE `sm_holidays`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_homeworks`
--
ALTER TABLE `sm_homeworks`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_homework_students`
--
ALTER TABLE `sm_homework_students`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_hourly_rates`
--
ALTER TABLE `sm_hourly_rates`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_hr_payroll_earn_deducs`
--
ALTER TABLE `sm_hr_payroll_earn_deducs`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_hr_payroll_generates`
--
ALTER TABLE `sm_hr_payroll_generates`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_hr_salary_templates`
--
ALTER TABLE `sm_hr_salary_templates`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_income_heads`
--
ALTER TABLE `sm_income_heads`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_instructions`
--
ALTER TABLE `sm_instructions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_inventory_payments`
--
ALTER TABLE `sm_inventory_payments`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_items`
--
ALTER TABLE `sm_items`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_categories`
--
ALTER TABLE `sm_item_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_issues`
--
ALTER TABLE `sm_item_issues`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_receives`
--
ALTER TABLE `sm_item_receives`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_receive_children`
--
ALTER TABLE `sm_item_receive_children`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_sells`
--
ALTER TABLE `sm_item_sells`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_sell_children`
--
ALTER TABLE `sm_item_sell_children`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_item_stores`
--
ALTER TABLE `sm_item_stores`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `sm_leave_defines`
--
ALTER TABLE `sm_leave_defines`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_leave_requests`
--
ALTER TABLE `sm_leave_requests`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_leave_types`
--
ALTER TABLE `sm_leave_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_lesson_topics`
--
ALTER TABLE `sm_lesson_topics`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_lesson_topic_details`
--
ALTER TABLE `sm_lesson_topic_details`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_library_members`
--
ALTER TABLE `sm_library_members`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_marks_registers`
--
ALTER TABLE `sm_marks_registers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_marks_register_children`
--
ALTER TABLE `sm_marks_register_children`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_marks_send_sms`
--
ALTER TABLE `sm_marks_send_sms`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_mark_stores`
--
ALTER TABLE `sm_mark_stores`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `sm_notice_boards`
--
ALTER TABLE `sm_notice_boards`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_notifications`
--
ALTER TABLE `sm_notifications`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_online_exams`
--
ALTER TABLE `sm_online_exams`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_online_exam_marks`
--
ALTER TABLE `sm_online_exam_marks`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_online_exam_questions`
--
ALTER TABLE `sm_online_exam_questions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_online_exam_question_assigns`
--
ALTER TABLE `sm_online_exam_question_assigns`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_online_exam_question_mu_options`
--
ALTER TABLE `sm_online_exam_question_mu_options`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_optional_subject_assigns`
--
ALTER TABLE `sm_optional_subject_assigns`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_parents`
--
ALTER TABLE `sm_parents`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_phone_call_logs`
--
ALTER TABLE `sm_phone_call_logs`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_postal_dispatches`
--
ALTER TABLE `sm_postal_dispatches`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_postal_receives`
--
ALTER TABLE `sm_postal_receives`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_product_purchases`
--
ALTER TABLE `sm_product_purchases`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_question_banks`
--
ALTER TABLE `sm_question_banks`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_question_bank_mu_options`
--
ALTER TABLE `sm_question_bank_mu_options`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_question_groups`
--
ALTER TABLE `sm_question_groups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_question_levels`
--
ALTER TABLE `sm_question_levels`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_result_stores`
--
ALTER TABLE `sm_result_stores`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_room_lists`
--
ALTER TABLE `sm_room_lists`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_room_types`
--
ALTER TABLE `sm_room_types`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_routes`
--
ALTER TABLE `sm_routes`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_seat_plans`
--
ALTER TABLE `sm_seat_plans`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_seat_plan_children`
--
ALTER TABLE `sm_seat_plan_children`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_sections`
--
ALTER TABLE `sm_sections`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_send_messages`
--
ALTER TABLE `sm_send_messages`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_setup_admins`
--
ALTER TABLE `sm_setup_admins`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_staff_attendance_imports`
--
ALTER TABLE `sm_staff_attendance_imports`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_staff_attendences`
--
ALTER TABLE `sm_staff_attendences`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_students`
--
ALTER TABLE `sm_students`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_attendances`
--
ALTER TABLE `sm_student_attendances`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_attendance_imports`
--
ALTER TABLE `sm_student_attendance_imports`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_categories`
--
ALTER TABLE `sm_student_categories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_student_documents`
--
ALTER TABLE `sm_student_documents`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_groups`
--
ALTER TABLE `sm_student_groups`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_homeworks`
--
ALTER TABLE `sm_student_homeworks`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_id_cards`
--
ALTER TABLE `sm_student_id_cards`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_promotions`
--
ALTER TABLE `sm_student_promotions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_take_online_exams`
--
ALTER TABLE `sm_student_take_online_exams`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_take_online_exam_questions`
--
ALTER TABLE `sm_student_take_online_exam_questions`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_take_onln_ex_ques_options`
--
ALTER TABLE `sm_student_take_onln_ex_ques_options`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_student_timelines`
--
ALTER TABLE `sm_student_timelines`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_subjects`
--
ALTER TABLE `sm_subjects`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_subject_attendances`
--
ALTER TABLE `sm_subject_attendances`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_suppliers`
--
ALTER TABLE `sm_suppliers`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `sm_teacher_upload_contents`
--
ALTER TABLE `sm_teacher_upload_contents`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_temporary_meritlists`
--
ALTER TABLE `sm_temporary_meritlists`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_to_dos`
--
ALTER TABLE `sm_to_dos`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_upload_contents`
--
ALTER TABLE `sm_upload_contents`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sm_vehicles`
--
ALTER TABLE `sm_vehicles`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sm_visitors`
--
ALTER TABLE `sm_visitors`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `student_academic_histories`
--
ALTER TABLE `student_academic_histories`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `continents`
--
ALTER TABLE `continents`
  ADD CONSTRAINT `continents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `continets`
--
ALTER TABLE `continets`
  ADD CONSTRAINT `continets_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `countries`
--
ALTER TABLE `countries`
  ADD CONSTRAINT `countries_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `countries_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `custom_result_settings`
--
ALTER TABLE `custom_result_settings`
  ADD CONSTRAINT `custom_result_settings_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `custom_result_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fm_fees_invoices`
--
ALTER TABLE `fm_fees_invoices`
  ADD CONSTRAINT `fm_fees_invoices_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fm_fees_invoice_chields`
--
ALTER TABLE `fm_fees_invoice_chields`
  ADD CONSTRAINT `fm_fees_invoice_chields_fees_invoice_id_foreign` FOREIGN KEY (`fees_invoice_id`) REFERENCES `fm_fees_invoices` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fm_fees_transactions`
--
ALTER TABLE `fm_fees_transactions`
  ADD CONSTRAINT `fm_fees_transactions_fees_invoice_id_foreign` FOREIGN KEY (`fees_invoice_id`) REFERENCES `fm_fees_invoices` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fm_fees_transaction_chields`
--
ALTER TABLE `fm_fees_transaction_chields`
  ADD CONSTRAINT `fm_fees_transaction_chields_fees_transaction_id_foreign` FOREIGN KEY (`fees_transaction_id`) REFERENCES `fm_fees_transactions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fm_fees_weavers`
--
ALTER TABLE `fm_fees_weavers`
  ADD CONSTRAINT `fm_fees_weavers_fees_invoice_id_foreign` FOREIGN KEY (`fees_invoice_id`) REFERENCES `fm_fees_invoices` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `infix_module_infos`
--
ALTER TABLE `infix_module_infos`
  ADD CONSTRAINT `infix_module_infos_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `infix_module_infos_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `infix_module_infos_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `infix_module_student_parent_infos`
--
ALTER TABLE `infix_module_student_parent_infos`
  ADD CONSTRAINT `infix_module_student_parent_infos_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `infix_module_student_parent_infos_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `infix_module_student_parent_infos_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `infix_permission_assigns`
--
ALTER TABLE `infix_permission_assigns`
  ADD CONSTRAINT `infix_permission_assigns_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `infix_permission_assigns_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `infix_roles`
--
ALTER TABLE `infix_roles`
  ADD CONSTRAINT `infix_roles_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `invoice_settings`
--
ALTER TABLE `invoice_settings`
  ADD CONSTRAINT `invoice_settings_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `invoice_settings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `invoice_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `invoice_settings_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `languages`
--
ALTER TABLE `languages`
  ADD CONSTRAINT `languages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lesson_planners`
--
ALTER TABLE `lesson_planners`
  ADD CONSTRAINT `lesson_planners_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_class_period_id_foreign` FOREIGN KEY (`class_period_id`) REFERENCES `sm_class_times` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_room_id_foreign` FOREIGN KEY (`room_id`) REFERENCES `sm_class_rooms` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lesson_planners_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `library_subjects`
--
ALTER TABLE `library_subjects`
  ADD CONSTRAINT `library_subjects_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `library_subjects_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `menu_manages`
--
ALTER TABLE `menu_manages`
  ADD CONSTRAINT `menu_manages_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `menu_manages_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `menu_manages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `menu_manages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `roles`
--
ALTER TABLE `roles`
  ADD CONSTRAINT `roles_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `school_modules`
--
ALTER TABLE `school_modules`
  ADD CONSTRAINT `school_modules_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `school_modules_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sidebars`
--
ALTER TABLE `sidebars`
  ADD CONSTRAINT `sidebars_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sidebars_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sidebars_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sms_templates`
--
ALTER TABLE `sms_templates`
  ADD CONSTRAINT `sms_templates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_about_pages`
--
ALTER TABLE `sm_about_pages`
  ADD CONSTRAINT `sm_about_pages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_academic_years`
--
ALTER TABLE `sm_academic_years`
  ADD CONSTRAINT `sm_academic_years_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_add_expenses`
--
ALTER TABLE `sm_add_expenses`
  ADD CONSTRAINT `sm_add_expenses_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_add_expenses_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_add_incomes`
--
ALTER TABLE `sm_add_incomes`
  ADD CONSTRAINT `sm_add_incomes_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_add_incomes_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `sm_bank_accounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_add_incomes_payment_method_id_foreign` FOREIGN KEY (`payment_method_id`) REFERENCES `sm_payment_methhods` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_add_incomes_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_admission_queries`
--
ALTER TABLE `sm_admission_queries`
  ADD CONSTRAINT `sm_admission_queries_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_admission_queries_class_foreign` FOREIGN KEY (`class`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_admission_queries_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_admission_query_followups`
--
ALTER TABLE `sm_admission_query_followups`
  ADD CONSTRAINT `sm_admission_query_followups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_admission_query_followups_admission_query_id_foreign` FOREIGN KEY (`admission_query_id`) REFERENCES `sm_admission_queries` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_admission_query_followups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_amount_transfers`
--
ALTER TABLE `sm_amount_transfers`
  ADD CONSTRAINT `sm_amount_transfers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_amount_transfers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_assign_class_teachers`
--
ALTER TABLE `sm_assign_class_teachers`
  ADD CONSTRAINT `sm_assign_class_teachers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_class_teachers_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_class_teachers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_class_teachers_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_assign_subjects`
--
ALTER TABLE `sm_assign_subjects`
  ADD CONSTRAINT `sm_assign_subjects_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_subjects_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_subjects_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_subjects_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_subjects_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_subjects_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_assign_vehicles`
--
ALTER TABLE `sm_assign_vehicles`
  ADD CONSTRAINT `sm_assign_vehicles_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_vehicles_route_id_foreign` FOREIGN KEY (`route_id`) REFERENCES `sm_routes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_vehicles_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_assign_vehicles_vehicle_id_foreign` FOREIGN KEY (`vehicle_id`) REFERENCES `sm_vehicles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_background_settings`
--
ALTER TABLE `sm_background_settings`
  ADD CONSTRAINT `sm_background_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_backups`
--
ALTER TABLE `sm_backups`
  ADD CONSTRAINT `sm_backups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_backups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_bank_accounts`
--
ALTER TABLE `sm_bank_accounts`
  ADD CONSTRAINT `sm_bank_accounts_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_bank_accounts_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_bank_payment_slips`
--
ALTER TABLE `sm_bank_payment_slips`
  ADD CONSTRAINT `sm_bank_payment_slips_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_bank_payment_slips_assign_id_foreign` FOREIGN KEY (`assign_id`) REFERENCES `sm_fees_assigns` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_bank_payment_slips_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_bank_payment_slips_fees_discount_id_foreign` FOREIGN KEY (`fees_discount_id`) REFERENCES `sm_fees_discounts` (`id`),
  ADD CONSTRAINT `sm_bank_payment_slips_fees_type_id_foreign` FOREIGN KEY (`fees_type_id`) REFERENCES `sm_fees_types` (`id`),
  ADD CONSTRAINT `sm_bank_payment_slips_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`),
  ADD CONSTRAINT `sm_bank_payment_slips_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_bank_payment_slips_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_base_groups`
--
ALTER TABLE `sm_base_groups`
  ADD CONSTRAINT `sm_base_groups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_base_setups`
--
ALTER TABLE `sm_base_setups`
  ADD CONSTRAINT `sm_base_setups_base_group_id_foreign` FOREIGN KEY (`base_group_id`) REFERENCES `sm_base_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_base_setups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_books`
--
ALTER TABLE `sm_books`
  ADD CONSTRAINT `sm_books_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_books_book_category_id_foreign` FOREIGN KEY (`book_category_id`) REFERENCES `sm_book_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_books_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_book_categories`
--
ALTER TABLE `sm_book_categories`
  ADD CONSTRAINT `sm_book_categories_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_book_categories_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_book_issues`
--
ALTER TABLE `sm_book_issues`
  ADD CONSTRAINT `sm_book_issues_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_book_issues_book_id_foreign` FOREIGN KEY (`book_id`) REFERENCES `sm_books` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_book_issues_member_id_foreign` FOREIGN KEY (`member_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_book_issues_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_chart_of_accounts`
--
ALTER TABLE `sm_chart_of_accounts`
  ADD CONSTRAINT `sm_chart_of_accounts_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_chart_of_accounts_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_classes`
--
ALTER TABLE `sm_classes`
  ADD CONSTRAINT `sm_classes_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_optional_subject`
--
ALTER TABLE `sm_class_optional_subject`
  ADD CONSTRAINT `sm_class_optional_subject_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_optional_subject_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_rooms`
--
ALTER TABLE `sm_class_rooms`
  ADD CONSTRAINT `sm_class_rooms_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_rooms_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_routines`
--
ALTER TABLE `sm_class_routines`
  ADD CONSTRAINT `sm_class_routines_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routines_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routines_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routines_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routines_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_routine_updates`
--
ALTER TABLE `sm_class_routine_updates`
  ADD CONSTRAINT `sm_class_routine_updates_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_class_period_id_foreign` FOREIGN KEY (`class_period_id`) REFERENCES `sm_class_times` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_room_id_foreign` FOREIGN KEY (`room_id`) REFERENCES `sm_class_rooms` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_routine_updates_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_sections`
--
ALTER TABLE `sm_class_sections`
  ADD CONSTRAINT `sm_class_sections_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_sections_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_sections_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_sections_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_teachers`
--
ALTER TABLE `sm_class_teachers`
  ADD CONSTRAINT `sm_class_teachers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_teachers_assign_class_teacher_id_foreign` FOREIGN KEY (`assign_class_teacher_id`) REFERENCES `sm_assign_class_teachers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_teachers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_teachers_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_class_times`
--
ALTER TABLE `sm_class_times`
  ADD CONSTRAINT `sm_class_times_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_class_times_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_complaints`
--
ALTER TABLE `sm_complaints`
  ADD CONSTRAINT `sm_complaints_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_complaints_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_contact_messages`
--
ALTER TABLE `sm_contact_messages`
  ADD CONSTRAINT `sm_contact_messages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_contact_pages`
--
ALTER TABLE `sm_contact_pages`
  ADD CONSTRAINT `sm_contact_pages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_content_types`
--
ALTER TABLE `sm_content_types`
  ADD CONSTRAINT `sm_content_types_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_content_types_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_countries`
--
ALTER TABLE `sm_countries`
  ADD CONSTRAINT `sm_countries_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_courses`
--
ALTER TABLE `sm_courses`
  ADD CONSTRAINT `sm_courses_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_course_pages`
--
ALTER TABLE `sm_course_pages`
  ADD CONSTRAINT `sm_course_pages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_currencies`
--
ALTER TABLE `sm_currencies`
  ADD CONSTRAINT `sm_currencies_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_custom_links`
--
ALTER TABLE `sm_custom_links`
  ADD CONSTRAINT `sm_custom_links_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_custom_temporary_results`
--
ALTER TABLE `sm_custom_temporary_results`
  ADD CONSTRAINT `sm_custom_temporary_results_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_custom_temporary_results_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`);

--
-- Constraints for table `sm_dashboard_settings`
--
ALTER TABLE `sm_dashboard_settings`
  ADD CONSTRAINT `sm_dashboard_settings_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_dashboard_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_date_formats`
--
ALTER TABLE `sm_date_formats`
  ADD CONSTRAINT `sm_date_formats_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_designations`
--
ALTER TABLE `sm_designations`
  ADD CONSTRAINT `sm_designations_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_dormitory_lists`
--
ALTER TABLE `sm_dormitory_lists`
  ADD CONSTRAINT `sm_dormitory_lists_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_dormitory_lists_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_email_sms_logs`
--
ALTER TABLE `sm_email_sms_logs`
  ADD CONSTRAINT `sm_email_sms_logs_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_email_sms_logs_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_events`
--
ALTER TABLE `sm_events`
  ADD CONSTRAINT `sm_events_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_events_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exams`
--
ALTER TABLE `sm_exams`
  ADD CONSTRAINT `sm_exams_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exams_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exams_exam_type_id_foreign` FOREIGN KEY (`exam_type_id`) REFERENCES `sm_exam_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exams_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exams_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exams_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_attendances`
--
ALTER TABLE `sm_exam_attendances`
  ADD CONSTRAINT `sm_exam_attendances_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendances_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendances_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendances_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendances_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendances_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_attendance_children`
--
ALTER TABLE `sm_exam_attendance_children`
  ADD CONSTRAINT `sm_exam_attendance_children_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendance_children_exam_attendance_id_foreign` FOREIGN KEY (`exam_attendance_id`) REFERENCES `sm_exam_attendances` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendance_children_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_attendance_children_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_marks_registers`
--
ALTER TABLE `sm_exam_marks_registers`
  ADD CONSTRAINT `sm_exam_marks_registers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_marks_registers_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_marks_registers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_marks_registers_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_marks_registers_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_schedules`
--
ALTER TABLE `sm_exam_schedules`
  ADD CONSTRAINT `sm_exam_schedules_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_exam_period_id_foreign` FOREIGN KEY (`exam_period_id`) REFERENCES `sm_class_times` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_exam_term_id_foreign` FOREIGN KEY (`exam_term_id`) REFERENCES `sm_exam_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_room_id_foreign` FOREIGN KEY (`room_id`) REFERENCES `sm_room_lists` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedules_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_schedule_subjects`
--
ALTER TABLE `sm_exam_schedule_subjects`
  ADD CONSTRAINT `sm_exam_schedule_subjects_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedule_subjects_exam_schedule_id_foreign` FOREIGN KEY (`exam_schedule_id`) REFERENCES `sm_exam_schedules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedule_subjects_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_schedule_subjects_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_settings`
--
ALTER TABLE `sm_exam_settings`
  ADD CONSTRAINT `sm_exam_settings_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_setups`
--
ALTER TABLE `sm_exam_setups`
  ADD CONSTRAINT `sm_exam_setups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_exam_term_id_foreign` FOREIGN KEY (`exam_term_id`) REFERENCES `sm_exam_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_setups_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_exam_types`
--
ALTER TABLE `sm_exam_types`
  ADD CONSTRAINT `sm_exam_types_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_exam_types_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_expense_heads`
--
ALTER TABLE `sm_expense_heads`
  ADD CONSTRAINT `sm_expense_heads_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_expense_heads_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_assigns`
--
ALTER TABLE `sm_fees_assigns`
  ADD CONSTRAINT `sm_fees_assigns_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assigns_fees_discount_id_foreign` FOREIGN KEY (`fees_discount_id`) REFERENCES `sm_fees_discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assigns_fees_master_id_foreign` FOREIGN KEY (`fees_master_id`) REFERENCES `sm_fees_masters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assigns_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assigns_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_assign_discounts`
--
ALTER TABLE `sm_fees_assign_discounts`
  ADD CONSTRAINT `sm_fees_assign_discounts_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assign_discounts_fees_discount_id_foreign` FOREIGN KEY (`fees_discount_id`) REFERENCES `sm_fees_discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assign_discounts_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_assign_discounts_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_carry_forwards`
--
ALTER TABLE `sm_fees_carry_forwards`
  ADD CONSTRAINT `sm_fees_carry_forwards_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_carry_forwards_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_carry_forwards_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_discounts`
--
ALTER TABLE `sm_fees_discounts`
  ADD CONSTRAINT `sm_fees_discounts_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_discounts_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_groups`
--
ALTER TABLE `sm_fees_groups`
  ADD CONSTRAINT `sm_fees_groups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_groups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_masters`
--
ALTER TABLE `sm_fees_masters`
  ADD CONSTRAINT `sm_fees_masters_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_masters_fees_group_id_foreign` FOREIGN KEY (`fees_group_id`) REFERENCES `sm_fees_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_masters_fees_type_id_foreign` FOREIGN KEY (`fees_type_id`) REFERENCES `sm_fees_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_masters_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_payments`
--
ALTER TABLE `sm_fees_payments`
  ADD CONSTRAINT `sm_fees_payments_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_assign_id_foreign` FOREIGN KEY (`assign_id`) REFERENCES `sm_fees_assigns` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_bank_id_foreign` FOREIGN KEY (`bank_id`) REFERENCES `sm_bank_accounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_fees_discount_id_foreign` FOREIGN KEY (`fees_discount_id`) REFERENCES `sm_fees_discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_fees_type_id_foreign` FOREIGN KEY (`fees_type_id`) REFERENCES `sm_fees_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_payments_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_fees_types`
--
ALTER TABLE `sm_fees_types`
  ADD CONSTRAINT `sm_fees_types_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_types_fees_group_id_foreign` FOREIGN KEY (`fees_group_id`) REFERENCES `sm_fees_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_fees_types_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_frontend_persmissions`
--
ALTER TABLE `sm_frontend_persmissions`
  ADD CONSTRAINT `sm_frontend_persmissions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_header_menu_managers`
--
ALTER TABLE `sm_header_menu_managers`
  ADD CONSTRAINT `sm_header_menu_managers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_holidays`
--
ALTER TABLE `sm_holidays`
  ADD CONSTRAINT `sm_holidays_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_holidays_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_homeworks`
--
ALTER TABLE `sm_homeworks`
  ADD CONSTRAINT `sm_homeworks_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homeworks_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homeworks_evaluated_by_foreign` FOREIGN KEY (`evaluated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homeworks_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homeworks_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_homework_students`
--
ALTER TABLE `sm_homework_students`
  ADD CONSTRAINT `sm_homework_students_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homework_students_homework_id_foreign` FOREIGN KEY (`homework_id`) REFERENCES `sm_homeworks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homework_students_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_homework_students_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_home_page_settings`
--
ALTER TABLE `sm_home_page_settings`
  ADD CONSTRAINT `sm_home_page_settings_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_hourly_rates`
--
ALTER TABLE `sm_hourly_rates`
  ADD CONSTRAINT `sm_hourly_rates_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hourly_rates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_hr_payroll_earn_deducs`
--
ALTER TABLE `sm_hr_payroll_earn_deducs`
  ADD CONSTRAINT `sm_hr_payroll_earn_deducs_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hr_payroll_earn_deducs_payroll_generate_id_foreign` FOREIGN KEY (`payroll_generate_id`) REFERENCES `sm_hr_payroll_generates` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hr_payroll_earn_deducs_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_hr_payroll_generates`
--
ALTER TABLE `sm_hr_payroll_generates`
  ADD CONSTRAINT `sm_hr_payroll_generates_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hr_payroll_generates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hr_payroll_generates_staff_id_foreign` FOREIGN KEY (`staff_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_hr_salary_templates`
--
ALTER TABLE `sm_hr_salary_templates`
  ADD CONSTRAINT `sm_hr_salary_templates_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_hr_salary_templates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_human_departments`
--
ALTER TABLE `sm_human_departments`
  ADD CONSTRAINT `sm_human_departments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_human_departments_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_human_departments_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_income_heads`
--
ALTER TABLE `sm_income_heads`
  ADD CONSTRAINT `sm_income_heads_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_income_heads_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_instructions`
--
ALTER TABLE `sm_instructions`
  ADD CONSTRAINT `sm_instructions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_inventory_payments`
--
ALTER TABLE `sm_inventory_payments`
  ADD CONSTRAINT `sm_inventory_payments_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_inventory_payments_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_items`
--
ALTER TABLE `sm_items`
  ADD CONSTRAINT `sm_items_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_items_item_category_id_foreign` FOREIGN KEY (`item_category_id`) REFERENCES `sm_item_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_items_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_categories`
--
ALTER TABLE `sm_item_categories`
  ADD CONSTRAINT `sm_item_categories_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_categories_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_issues`
--
ALTER TABLE `sm_item_issues`
  ADD CONSTRAINT `sm_item_issues_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_issues_item_category_id_foreign` FOREIGN KEY (`item_category_id`) REFERENCES `sm_item_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_issues_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `sm_items` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_issues_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_issues_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_receives`
--
ALTER TABLE `sm_item_receives`
  ADD CONSTRAINT `sm_item_receives_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receives_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receives_store_id_foreign` FOREIGN KEY (`store_id`) REFERENCES `sm_item_stores` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receives_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `sm_suppliers` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_receive_children`
--
ALTER TABLE `sm_item_receive_children`
  ADD CONSTRAINT `sm_item_receive_children_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receive_children_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `sm_items` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receive_children_item_receive_id_foreign` FOREIGN KEY (`item_receive_id`) REFERENCES `sm_item_receives` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_receive_children_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_sells`
--
ALTER TABLE `sm_item_sells`
  ADD CONSTRAINT `sm_item_sells_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_sells_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_sells_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_sell_children`
--
ALTER TABLE `sm_item_sell_children`
  ADD CONSTRAINT `sm_item_sell_children_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_sell_children_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_item_stores`
--
ALTER TABLE `sm_item_stores`
  ADD CONSTRAINT `sm_item_stores_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_item_stores_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_languages`
--
ALTER TABLE `sm_languages`
  ADD CONSTRAINT `sm_languages_lang_id_foreign` FOREIGN KEY (`lang_id`) REFERENCES `languages` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_languages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_language_phrases`
--
ALTER TABLE `sm_language_phrases`
  ADD CONSTRAINT `sm_language_phrases_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_leave_deduction_infos`
--
ALTER TABLE `sm_leave_deduction_infos`
  ADD CONSTRAINT `sm_leave_deduction_infos_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_deduction_infos_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`);

--
-- Constraints for table `sm_leave_defines`
--
ALTER TABLE `sm_leave_defines`
  ADD CONSTRAINT `sm_leave_defines_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_defines_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_defines_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_defines_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `sm_leave_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_defines_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_leave_requests`
--
ALTER TABLE `sm_leave_requests`
  ADD CONSTRAINT `sm_leave_requests_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_requests_leave_define_id_foreign` FOREIGN KEY (`leave_define_id`) REFERENCES `sm_leave_defines` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_requests_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_requests_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_requests_staff_id_foreign` FOREIGN KEY (`staff_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_requests_type_id_foreign` FOREIGN KEY (`type_id`) REFERENCES `sm_leave_types` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_leave_types`
--
ALTER TABLE `sm_leave_types`
  ADD CONSTRAINT `sm_leave_types_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_leave_types_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_lessons`
--
ALTER TABLE `sm_lessons`
  ADD CONSTRAINT `sm_lessons_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lessons_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lessons_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lessons_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lessons_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_lesson_details`
--
ALTER TABLE `sm_lesson_details`
  ADD CONSTRAINT `sm_lesson_details_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_details_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_details_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_details_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_details_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_lesson_topics`
--
ALTER TABLE `sm_lesson_topics`
  ADD CONSTRAINT `sm_lesson_topics_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topics_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topics_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topics_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topics_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_lesson_topic_details`
--
ALTER TABLE `sm_lesson_topic_details`
  ADD CONSTRAINT `sm_lesson_topic_details_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topic_details_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_lesson_topic_details_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `sm_lesson_topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_library_members`
--
ALTER TABLE `sm_library_members`
  ADD CONSTRAINT `sm_library_members_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_library_members_member_type_foreign` FOREIGN KEY (`member_type`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_library_members_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_library_members_student_staff_id_foreign` FOREIGN KEY (`student_staff_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_marks_grades`
--
ALTER TABLE `sm_marks_grades`
  ADD CONSTRAINT `sm_marks_grades_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_grades_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_marks_registers`
--
ALTER TABLE `sm_marks_registers`
  ADD CONSTRAINT `sm_marks_registers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_registers_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_registers_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_registers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_registers_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_registers_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_marks_register_children`
--
ALTER TABLE `sm_marks_register_children`
  ADD CONSTRAINT `sm_marks_register_children_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_register_children_marks_register_id_foreign` FOREIGN KEY (`marks_register_id`) REFERENCES `sm_marks_registers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_register_children_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_register_children_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_marks_send_sms`
--
ALTER TABLE `sm_marks_send_sms`
  ADD CONSTRAINT `sm_marks_send_sms_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_send_sms_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_send_sms_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_marks_send_sms_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_mark_stores`
--
ALTER TABLE `sm_mark_stores`
  ADD CONSTRAINT `sm_mark_stores_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_exam_setup_id_foreign` FOREIGN KEY (`exam_setup_id`) REFERENCES `sm_exam_setups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_exam_term_id_foreign` FOREIGN KEY (`exam_term_id`) REFERENCES `sm_exam_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_mark_stores_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_modules`
--
ALTER TABLE `sm_modules`
  ADD CONSTRAINT `sm_modules_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_module_links`
--
ALTER TABLE `sm_module_links`
  ADD CONSTRAINT `sm_module_links_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_module_links_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `sm_modules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_module_links_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_module_links_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_module_permissions`
--
ALTER TABLE `sm_module_permissions`
  ADD CONSTRAINT `sm_module_permissions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_module_permission_assigns`
--
ALTER TABLE `sm_module_permission_assigns`
  ADD CONSTRAINT `sm_module_permission_assigns_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `sm_module_permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_module_permission_assigns_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_module_permission_assigns_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_news`
--
ALTER TABLE `sm_news`
  ADD CONSTRAINT `sm_news_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `sm_news_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_news_pages`
--
ALTER TABLE `sm_news_pages`
  ADD CONSTRAINT `sm_news_pages_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_news_pages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_news_pages_updated_by_foreign` FOREIGN KEY (`updated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_notice_boards`
--
ALTER TABLE `sm_notice_boards`
  ADD CONSTRAINT `sm_notice_boards_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_notice_boards_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_notifications`
--
ALTER TABLE `sm_notifications`
  ADD CONSTRAINT `sm_notifications_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_notifications_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_online_exams`
--
ALTER TABLE `sm_online_exams`
  ADD CONSTRAINT `sm_online_exams_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exams_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exams_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exams_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exams_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_online_exam_marks`
--
ALTER TABLE `sm_online_exam_marks`
  ADD CONSTRAINT `sm_online_exam_marks_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_marks_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_marks_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_marks_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_marks_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_online_exam_questions`
--
ALTER TABLE `sm_online_exam_questions`
  ADD CONSTRAINT `sm_online_exam_questions_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_questions_online_exam_id_foreign` FOREIGN KEY (`online_exam_id`) REFERENCES `sm_online_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_questions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_online_exam_question_assigns`
--
ALTER TABLE `sm_online_exam_question_assigns`
  ADD CONSTRAINT `sm_online_exam_question_assigns_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_question_assigns_online_exam_id_foreign` FOREIGN KEY (`online_exam_id`) REFERENCES `sm_online_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_question_assigns_question_bank_id_foreign` FOREIGN KEY (`question_bank_id`) REFERENCES `sm_question_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_question_assigns_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_online_exam_question_mu_options`
--
ALTER TABLE `sm_online_exam_question_mu_options`
  ADD CONSTRAINT `on_ex_qu_id` FOREIGN KEY (`online_exam_question_id`) REFERENCES `sm_online_exam_questions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_question_mu_options_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_online_exam_question_mu_options_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_optional_subject_assigns`
--
ALTER TABLE `sm_optional_subject_assigns`
  ADD CONSTRAINT `sm_optional_subject_assigns_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_optional_subject_assigns_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_optional_subject_assigns_session_id_foreign` FOREIGN KEY (`session_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_optional_subject_assigns_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_optional_subject_assigns_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_pages`
--
ALTER TABLE `sm_pages`
  ADD CONSTRAINT `sm_pages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_parents`
--
ALTER TABLE `sm_parents`
  ADD CONSTRAINT `sm_parents_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_parents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_parents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_payment_methhods`
--
ALTER TABLE `sm_payment_methhods`
  ADD CONSTRAINT `sm_payment_methhods_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `sm_payment_gateway_settings` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_payment_methhods_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_phone_call_logs`
--
ALTER TABLE `sm_phone_call_logs`
  ADD CONSTRAINT `sm_phone_call_logs_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_phone_call_logs_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_postal_dispatches`
--
ALTER TABLE `sm_postal_dispatches`
  ADD CONSTRAINT `sm_postal_dispatches_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_postal_dispatches_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_postal_receives`
--
ALTER TABLE `sm_postal_receives`
  ADD CONSTRAINT `sm_postal_receives_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_postal_receives_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_product_purchases`
--
ALTER TABLE `sm_product_purchases`
  ADD CONSTRAINT `sm_product_purchases_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_product_purchases_staff_id_foreign` FOREIGN KEY (`staff_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_product_purchases_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_question_banks`
--
ALTER TABLE `sm_question_banks`
  ADD CONSTRAINT `sm_question_banks_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_banks_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_banks_q_group_id_foreign` FOREIGN KEY (`q_group_id`) REFERENCES `sm_question_groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_banks_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_banks_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_question_bank_mu_options`
--
ALTER TABLE `sm_question_bank_mu_options`
  ADD CONSTRAINT `sm_question_bank_mu_options_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_bank_mu_options_question_bank_id_foreign` FOREIGN KEY (`question_bank_id`) REFERENCES `sm_question_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_bank_mu_options_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_question_groups`
--
ALTER TABLE `sm_question_groups`
  ADD CONSTRAINT `sm_question_groups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_groups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_question_levels`
--
ALTER TABLE `sm_question_levels`
  ADD CONSTRAINT `sm_question_levels_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_question_levels_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_result_stores`
--
ALTER TABLE `sm_result_stores`
  ADD CONSTRAINT `sm_result_stores_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_exam_setup_id_foreign` FOREIGN KEY (`exam_setup_id`) REFERENCES `sm_exam_setups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_exam_type_id_foreign` FOREIGN KEY (`exam_type_id`) REFERENCES `sm_exam_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_result_stores_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_role_permissions`
--
ALTER TABLE `sm_role_permissions`
  ADD CONSTRAINT `sm_role_permissions_module_link_id_foreign` FOREIGN KEY (`module_link_id`) REFERENCES `sm_module_links` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_role_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `sm_role_permissions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_room_lists`
--
ALTER TABLE `sm_room_lists`
  ADD CONSTRAINT `sm_room_lists_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_room_lists_dormitory_id_foreign` FOREIGN KEY (`dormitory_id`) REFERENCES `sm_dormitory_lists` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_room_lists_room_type_id_foreign` FOREIGN KEY (`room_type_id`) REFERENCES `sm_room_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_room_lists_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_room_types`
--
ALTER TABLE `sm_room_types`
  ADD CONSTRAINT `sm_room_types_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_room_types_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_routes`
--
ALTER TABLE `sm_routes`
  ADD CONSTRAINT `sm_routes_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_routes_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_seat_plans`
--
ALTER TABLE `sm_seat_plans`
  ADD CONSTRAINT `sm_seat_plans_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plans_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plans_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plans_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plans_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plans_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_seat_plan_children`
--
ALTER TABLE `sm_seat_plan_children`
  ADD CONSTRAINT `sm_seat_plan_children_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plan_children_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_seat_plan_children_seat_plan_id_foreign` FOREIGN KEY (`seat_plan_id`) REFERENCES `sm_seat_plans` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_sections`
--
ALTER TABLE `sm_sections`
  ADD CONSTRAINT `sm_sections_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_sections_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_send_messages`
--
ALTER TABLE `sm_send_messages`
  ADD CONSTRAINT `sm_send_messages_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_send_messages_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_sessions`
--
ALTER TABLE `sm_sessions`
  ADD CONSTRAINT `sm_sessions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_setup_admins`
--
ALTER TABLE `sm_setup_admins`
  ADD CONSTRAINT `sm_setup_admins_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_setup_admins_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_social_media_icons`
--
ALTER TABLE `sm_social_media_icons`
  ADD CONSTRAINT `sm_social_media_icons_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_staffs`
--
ALTER TABLE `sm_staffs`
  ADD CONSTRAINT `sm_staffs_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `sm_human_departments` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_staffs_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `sm_designations` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_staffs_gender_id_foreign` FOREIGN KEY (`gender_id`) REFERENCES `sm_base_setups` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_staffs_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_staffs_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_staffs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_staff_attendance_imports`
--
ALTER TABLE `sm_staff_attendance_imports`
  ADD CONSTRAINT `sm_staff_attendance_imports_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_staff_attendance_imports_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_staff_attendance_imports_staff_id_foreign` FOREIGN KEY (`staff_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_staff_attendences`
--
ALTER TABLE `sm_staff_attendences`
  ADD CONSTRAINT `sm_staff_attendences_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_staff_attendences_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_staff_attendences_staff_id_foreign` FOREIGN KEY (`staff_id`) REFERENCES `sm_staffs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_students`
--
ALTER TABLE `sm_students`
  ADD CONSTRAINT `sm_students_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_students_bloodgroup_id_foreign` FOREIGN KEY (`bloodgroup_id`) REFERENCES `sm_base_setups` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_dormitory_id_foreign` FOREIGN KEY (`dormitory_id`) REFERENCES `sm_dormitory_lists` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_gender_id_foreign` FOREIGN KEY (`gender_id`) REFERENCES `sm_base_setups` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `sm_parents` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_students_religion_id_foreign` FOREIGN KEY (`religion_id`) REFERENCES `sm_base_setups` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_students_room_id_foreign` FOREIGN KEY (`room_id`) REFERENCES `sm_room_lists` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_route_list_id_foreign` FOREIGN KEY (`route_list_id`) REFERENCES `sm_routes` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_students_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_session_id_foreign` FOREIGN KEY (`session_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_student_category_id_foreign` FOREIGN KEY (`student_category_id`) REFERENCES `sm_student_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_student_group_id_foreign` FOREIGN KEY (`student_group_id`) REFERENCES `sm_student_groups` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `sm_students_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_students_vechile_id_foreign` FOREIGN KEY (`vechile_id`) REFERENCES `sm_vehicles` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `sm_student_attendances`
--
ALTER TABLE `sm_student_attendances`
  ADD CONSTRAINT `sm_student_attendances_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_attendances_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_attendances_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_attendance_imports`
--
ALTER TABLE `sm_student_attendance_imports`
  ADD CONSTRAINT `sm_student_attendance_imports_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_attendance_imports_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_attendance_imports_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_categories`
--
ALTER TABLE `sm_student_categories`
  ADD CONSTRAINT `sm_student_categories_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_categories_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_certificates`
--
ALTER TABLE `sm_student_certificates`
  ADD CONSTRAINT `sm_student_certificates_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_certificates_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_documents`
--
ALTER TABLE `sm_student_documents`
  ADD CONSTRAINT `sm_student_documents_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_documents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_excel_formats`
--
ALTER TABLE `sm_student_excel_formats`
  ADD CONSTRAINT `sm_student_excel_formats_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_excel_formats_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_groups`
--
ALTER TABLE `sm_student_groups`
  ADD CONSTRAINT `sm_student_groups_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_groups_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_homeworks`
--
ALTER TABLE `sm_student_homeworks`
  ADD CONSTRAINT `sm_student_homeworks_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_homeworks_evaluated_by_foreign` FOREIGN KEY (`evaluated_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_homeworks_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_homeworks_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_homeworks_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_id_cards`
--
ALTER TABLE `sm_student_id_cards`
  ADD CONSTRAINT `sm_student_id_cards_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_id_cards_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_promotions`
--
ALTER TABLE `sm_student_promotions`
  ADD CONSTRAINT `sm_student_promotions_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_current_class_id_foreign` FOREIGN KEY (`current_class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_current_section_id_foreign` FOREIGN KEY (`current_section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_current_session_id_foreign` FOREIGN KEY (`current_session_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_previous_class_id_foreign` FOREIGN KEY (`previous_class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_previous_section_id_foreign` FOREIGN KEY (`previous_section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_previous_session_id_foreign` FOREIGN KEY (`previous_session_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_promotions_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_take_online_exams`
--
ALTER TABLE `sm_student_take_online_exams`
  ADD CONSTRAINT `sm_student_take_online_exams_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_online_exams_online_exam_id_foreign` FOREIGN KEY (`online_exam_id`) REFERENCES `sm_online_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_online_exams_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_online_exams_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_take_online_exam_questions`
--
ALTER TABLE `sm_student_take_online_exam_questions`
  ADD CONSTRAINT `sm_student_take_online_exam_questions_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_online_exam_questions_question_bank_id_foreign` FOREIGN KEY (`question_bank_id`) REFERENCES `sm_question_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_online_exam_questions_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `t_on_ex_id` FOREIGN KEY (`take_online_exam_id`) REFERENCES `sm_student_take_online_exams` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_take_onln_ex_ques_options`
--
ALTER TABLE `sm_student_take_onln_ex_ques_options`
  ADD CONSTRAINT `sm_student_take_onln_ex_ques_options_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_take_onln_ex_ques_options_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `t_on_ex_q_id` FOREIGN KEY (`take_online_exam_question_id`) REFERENCES `sm_student_take_online_exam_questions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_student_timelines`
--
ALTER TABLE `sm_student_timelines`
  ADD CONSTRAINT `sm_student_timelines_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_student_timelines_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_styles`
--
ALTER TABLE `sm_styles`
  ADD CONSTRAINT `sm_styles_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_subjects`
--
ALTER TABLE `sm_subjects`
  ADD CONSTRAINT `sm_subjects_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_subjects_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_subject_attendances`
--
ALTER TABLE `sm_subject_attendances`
  ADD CONSTRAINT `sm_subject_attendances_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_subject_attendances_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_subject_attendances_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_subject_attendances_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `sm_subjects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_suppliers`
--
ALTER TABLE `sm_suppliers`
  ADD CONSTRAINT `sm_suppliers_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_suppliers_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_teacher_upload_contents`
--
ALTER TABLE `sm_teacher_upload_contents`
  ADD CONSTRAINT `sm_teacher_upload_contents_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_teacher_upload_contents_class_foreign` FOREIGN KEY (`class`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_teacher_upload_contents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_temporary_meritlists`
--
ALTER TABLE `sm_temporary_meritlists`
  ADD CONSTRAINT `sm_temporary_meritlists_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_temporary_meritlists_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `sm_classes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_temporary_meritlists_exam_id_foreign` FOREIGN KEY (`exam_id`) REFERENCES `sm_exams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_temporary_meritlists_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_temporary_meritlists_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sm_sections` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_testimonials`
--
ALTER TABLE `sm_testimonials`
  ADD CONSTRAINT `sm_testimonials_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_to_dos`
--
ALTER TABLE `sm_to_dos`
  ADD CONSTRAINT `sm_to_dos_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_to_dos_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_upload_contents`
--
ALTER TABLE `sm_upload_contents`
  ADD CONSTRAINT `sm_upload_contents_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_upload_contents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_upload_homework_contents`
--
ALTER TABLE `sm_upload_homework_contents`
  ADD CONSTRAINT `sm_upload_homework_contents_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_upload_homework_contents_homework_id_foreign` FOREIGN KEY (`homework_id`) REFERENCES `sm_homeworks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_upload_homework_contents_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_upload_homework_contents_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_user_logs`
--
ALTER TABLE `sm_user_logs`
  ADD CONSTRAINT `sm_user_logs_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_user_logs_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_user_logs_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_user_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_vehicles`
--
ALTER TABLE `sm_vehicles`
  ADD CONSTRAINT `sm_vehicles_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_vehicles_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_visitors`
--
ALTER TABLE `sm_visitors`
  ADD CONSTRAINT `sm_visitors_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_visitors_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sm_weekends`
--
ALTER TABLE `sm_weekends`
  ADD CONSTRAINT `sm_weekends_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `sm_weekends_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `student_academic_histories`
--
ALTER TABLE `student_academic_histories`
  ADD CONSTRAINT `student_academic_histories_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `student_academic_histories_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `student_academic_histories_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `sm_students` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `telescope_entries_tags`
--
ALTER TABLE `telescope_entries_tags`
  ADD CONSTRAINT `telescope_entries_tags_entry_uuid_foreign` FOREIGN KEY (`entry_uuid`) REFERENCES `telescope_entries` (`uuid`) ON DELETE CASCADE;

--
-- Constraints for table `transcations`
--
ALTER TABLE `transcations`
  ADD CONSTRAINT `transcations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `user_menus`
--
ALTER TABLE `user_menus`
  ADD CONSTRAINT `user_menus_academic_id_foreign` FOREIGN KEY (`academic_id`) REFERENCES `sm_academic_years` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_menus_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `infix_roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_menus_school_id_foreign` FOREIGN KEY (`school_id`) REFERENCES `sm_schools` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_menus_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `wallet_transactions`
--
ALTER TABLE `wallet_transactions`
  ADD CONSTRAINT `wallet_transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;
COMMIT;

