-- Table structure for table `notifications_status`
--

CREATE TABLE `notifications_status` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `notification_id` int UNSIGNED NOT NULL,
  `seen_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `notifications_status`
--

INSERT INTO `notifications_status` (`id`, `user_id`, `notification_id`, `seen_at`) VALUES
(1, 995, 1431, 1646127235),
(2, 995, 1436, 1646127239),
(3, 995, 1435, 1646127239),
(4, 995, 1438, 1646127241),
(5, 995, 1439, 1646127242),
(6, 995, 1442, 1646127243),
(7, 995, 1441, 1646127245),
(8, 995, 1476, 1646127245),
(9, 995, 1475, 1646127246),
(10, 995, 1477, 1646127248),
(11, 995, 1348, 1646127256),
(12, 995, 1402, 1646127264),
(13, 995, 1404, 1646127265),
(14, 995, 1406, 1646127266),
(15, 995, 1407, 1646127267),
(16, 995, 1409, 1646127269),
(17, 995, 1412, 1646127270),
(18, 995, 1411, 1646127271),
(19, 995, 1427, 1646127272),
(20, 995, 1428, 1646127273),
(21, 995, 1430, 1646127276),
(22, 995, 1513, 1646127280),
(23, 995, 1579, 1646127281),
(24, 995, 1582, 1646127282),
(25, 995, 1580, 1646127282),
(26, 995, 1609, 1646127283),
(27, 995, 1610, 1646127286),
(337, 934, 2011, 1678908519),
(338, 995, 2049, 1678915505),
(341, 1, 2177, 1679090327),
(342, 1, 2209, 1694970515),
(344, 1046, 2214, 1709624803),
(345, 1, 2239, 1745751709);

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

--
-- Table structure for table `notification_templates`
--

CREATE TABLE `notification_templates` (
  `id` int UNSIGNED NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `template` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `notification_templates`
--

INSERT INTO `notification_templates` (`id`, `title`, `template`) VALUES
(2, 'New badge awarded', '<p>You received [u.b.title]&nbsp;badge</p>'),
(3, 'User group change', '<p>Your user group changed to [u.g.title]</p>'),
(4, 'Course created', '<p>You created a new course&nbsp;with title [c.title]</p>'),
(5, 'Course approve', '<p>Your course with title [c.title] approved</p>'),
(6, 'Course rejection', '<p>Your course with title [c.title] rejected</p>'),
(7, 'New comment', '<p>[u.name] left a new comment for [c.title] course</p>'),
(8, 'New support message', '<p>[u.name] sent a new support message for [c.title]&nbsp;course</p>'),
(9, 'Support message replied', '<p>New reply in [c.title] course support message&nbsp;</p>'),
(10, 'New support for admin', '<p>New support ticket received with title [s.t.title]</p>'),
(11, 'Support ticket replied for admin', '<p>New reply in support ticket with title&nbsp;[s.t.title]</p>'),
(12, 'New financial document', '<p>&nbsp;New financial document submitted for [c.title] with type [f.d.type] with amount [amount]</p>'),
(13, 'Payout request', '<p>New payout request submitted with amount [payout.amount]</p>'),
(14, 'Payout processed', 'Your payout request with amount [payout.amount]&nbsp;&nbsp;proceed to [payout.account]'),
(15, 'New sales', '<p>Congratulations! New sale for [c.title]</p>'),
(16, 'New purchase', '<p>Congratulations! New purchase for [c.title]</p>'),
(17, 'Rating (Feedback)', '<p>New [rate.count] star feedback submitted for [c.title] by [student.name]</p>'),
(18, 'Offline payment request', '<p>The offline payment request with the amount [amount] submitted. It is under review and you will get informed by email.</p>'),
(19, 'Offline payment approved', '<p>Offline payment request with amount [amount]&nbsp;approved</p>'),
(20, 'Offline payment rejected', '<p>Offline payment request with amount [amount]&nbsp;rejected</p>'),
(21, 'New subscription plan', '<p>[s.p.name] subscription plan activated by [u.name]</p>'),
(22, 'New meeting', '<p>New meeting booked by [u.name] for [time.date] at [amount]</p>'),
(23, 'New meeting link', '<p>[instructor.name] defined the meeting link and you can join the meeting on [time.date] using the following link: [link]</p>'),
(24, 'Meeting reminder', '<p>You have a meeting on [time.date] please remember to join it on time.</p>'),
(25, 'Meeting finished', '<p>Your meeting finished with the following information</p><p>Instructor: [instructor.name]</p><p>Student: [student.name]</p><p>Meeting time: [time.date]</p>'),
(26, 'New contact message', '<p>New contact message received from [u.name] with title [c.u.title]</p><p><br></p>'),
(27, 'Live class reminder', '<p>Your live class session of the [c.title] will be conducted on [time.date]&nbsp;</p>'),
(28, 'Promotion plan', '<p>[p.p.name] promotion plan activated for [c.title] course</p>'),
(29, 'Promotion plan for admin', '<p>[p.p.name] promotion plan request submitted for [c.title]</p>'),
(30, 'Certificate achieved', '<p>You achieved a certificate for [c.title] course</p>'),
(31, 'Waiting quiz (Instructor)', '<p>[student.name] is waiting for [q.title] quiz result of the [c.title] course. Please review the quiz and submit the grade.</p>'),
(32, 'Waiting quiz result', '<p>Your [q.title] quiz of the [c.title] course rated by the instructor, and your quiz status is [q.result]</p>'),
(33, 'Product new sale', '<p>New sale for [p.title] product</p>'),
(34, 'Product new purchase', '<p>New purchase for [p.title] product</p>'),
(35, 'Product new comment', '<p>[u.name] left a new comment for [p.title] product</p>'),
(36, 'Product tracking code', '<p>[u.name] submitted tracking code for [p.title]</p>'),
(37, 'Product rating (Feedback)', '<p>[u.name] submitted a new [rate.count] stars rating for [p.title] product</p>'),
(38, 'Product received', '<p>[u.name] received [p.title] product.</p>'),
(39, 'Product out of stock', '<p>Your product [p.title] is out of stock</p>'),
(40, 'Assignment submission (Instructor)', '<p>[student.name] submitted an assignment for [c.title] course</p>'),
(41, 'Instructor message in assignment', '<p>[instructor.name] sent a message for [c.title] assignment</p>'),
(42, 'Assignment grade', '<p>Your assignment of [c.title] rated by [instructor.name] . Your grade is [assignment_grade]</p>'),
(43, 'User access to content', '<p>Your access to content is enabled.</p>'),
(44, 'Send post in topic', '<p>[u.name] sent a post in your topic with title [topic_title]&nbsp;</p>'),
(45, 'Blog post published (Instructor)', '<p>Your blog post with title [blog_title] published.</p>'),
(46, 'New comment for blog post (Instructor)', '<p>[u.name] leaft a new comment for your blog with title [blog_title]</p>'),
(47, 'Meeting reminder', '<p>You have a meeting on [time.date] with [instructor.name]</p>'),
(48, 'Subscription expiry reminder', '<p>Your subscription expires on [time.date]&nbsp;</p>'),
(49, 'Course forum new question', '<p>[u.name] registered a question in the [c.title]&nbsp;course forum.</p>'),
(50, 'New answer in course forum', '<p>[u.name] submitted an answer in the [c.title]&nbsp;course forum.</p>'),
(52, 'You received a gift', '<p>[u.name]&nbsp;sent you [gift_title] which is a [gift_type]&nbsp;as a gift with the following message: [gift_message]</p>'),
(53, 'Gift submitted successfully', '<p>Your gift request for [u.name]&nbsp;submitted successfully on [time.date]&nbsp;and the [gift_title] which is a [gift_type]&nbsp;at [amount]&nbsp;will be sent to the recipient on [time.date.2]&nbsp;with the following message: [gift_message]</p>'),
(54, 'Gift sent to recipient', '<p>We sent the gift request that you submitted on [time.date]&nbsp;for [u.name]. We sent [gift_title]&nbsp;which is a [gift_type]&nbsp;to the recipient with the following message on [time.date] . [gift_message]</p>'),
(55, 'Gift request submitted (Admin)', '<p>[u.name.2] submitted a gift request for [gift_title]&nbsp;which is a [gift_type]&nbsp;for [u.name]&nbsp;on [time.date]&nbsp;at [amount]&nbsp;and it will be sent to the recipient on [time.date.2]</p>'),
(56, 'Gift sent to recipient (Admin)', '<p>The system sent a [gift_title]&nbsp;which is a [gift_type]&nbsp;to [u.name]&nbsp;on [time.date.2]&nbsp;successfully. [u.name.2]&nbsp;submitted this request on [time.date]&nbsp;at [amount].</p>'),
(57, 'You have an upcoming installment', '<p>You have an installment for [installment_title] at [amount]&nbsp;on due date [time.date]</p>'),
(58, 'You have an unpaid installment', '<p>You have an installment for [installment_title]&nbsp;at [amount]&nbsp;for today. Please pay it as soon as possible.</p>'),
(59, 'You have an overdue installment', '<p>You have an overdue installment for [installment_title]&nbsp;at [amount]&nbsp;on due date [time.date].</p>'),
(60, 'Installment verification request approved', '<p>Your verification request for [installment_title]&nbsp;approved.</p>'),
(61, 'Installment verification request rejected', '<p>Your verification request for [installment_title]&nbsp;rejected.</p>'),
(62, 'Installment paid successfully', '<p>You paid [amount]&nbsp;for [installment_title]&nbsp;with due date [time.date]&nbsp;successfully.</p>'),
(63, 'Installment paid successfully (Admin)', '<p>[u.name] paid [amount]&nbsp;for [installment_title]&nbsp;with the due date [time.date]&nbsp;successfully.</p>'),
(64, 'Installment upfront amount paid', '<p>You paid [amount] as upfront for&nbsp;[installment_title].</p>'),
(65, 'Installment verification request submitted', '<p>We received your verification request for [installment_title]&nbsp;on [time.date]&nbsp;and the result will be informed to you soon.</p>'),
(66, 'Installment verification request submitted (Admin)', '<p>[u.name] submitted a verification request for [installment_title]&nbsp;on [time.date].</p>'),
(67, 'Installment request submitted', '<p>Your installment for [installment_title]&nbsp;at [amount]&nbsp;submitted successfully.</p>'),
(68, 'Installment request submitted (Admin)', '<p>[u.name] submitted an installment request for [installment_title]&nbsp;at [amount].</p>'),
(69, 'New upcoming course submitted', '<p>Your upcoming course [item_title]&nbsp;submitted successfully.</p>'),
(70, 'New upcoming course submitted (Admin)', '<p>[u.name] submitted an upcoming course with title [item_title].</p>'),
(71, 'Upcoming course approved', '<p>Your upcoming course [item_title]&nbsp;approved.</p>'),
(72, 'Upcoming course rejected', '<p>Your upcoming course [item_title] rejected.</p>'),
(73, 'Your upcoming course published', '<p>Your upcoming course [item_title]&nbsp;published.</p>'),
(74, 'Your upcoming course followed', '<p>[u.name] followed your upcoming course [item_title]</p>'),
(75, 'Upcoming course published and is accessible', '<p>The upcoming course [item_title] published now and you can check it.</p>'),
(76, 'You got cashback!', '<p>You got [amount]&nbsp;as cashback and this amount added to your account.</p>'),
(77, 'User got cashback (Admin)', '<p>[u.name] got [amount] as cashback and this amount charged to their account.</p>'),
(78, 'Bundle submitted successfully', '<p>Your bundle with the title [item_title]&nbsp;submitted successfully.</p>'),
(79, 'Bundle submitted (Admin)', '<p>[u.name] submitted a bundle with the title [item_title].</p>'),
(80, 'Bundle published successfully', '<p>Your bundle with title [item_title]&nbsp;published successfully.</p>'),
(81, 'Bundle rejected', '<p>Your bundle with title [item_title]&nbsp;rejected.</p>'),
(82, 'New review for your bundle', '<p>[u.name] submitted a [rate.count] star rating for your bundle [item_title].</p>'),
(83, 'You got registration bonus', '<p>You got [amount]&nbsp;as registration bonus.</p>'),
(84, 'Registration bonus unlocked', '<p>Your registration bonus [amount]&nbsp;unlocked. Happy with spending...</p>'),
(85, 'Registration bonus unlocked (Admin)', '<p>The registration bonus [amount] unlocked for [u.name].</p>'),
(86, 'SaaS package activated successfully', '<p>[item_title] activated for you until [time.date].</p>'),
(87, 'SaaS package activated (Admin)', '<p>[u.name] activated [item_title]&nbsp;registration plan until [time.date].</p>'),
(88, 'Your contact message submitted', '<p>We received your contact message with the subject [c.u.title]&nbsp;on [time.date].</p>'),
(89, 'New contact message received', '<p>New contact message received from [u.name] with subject [c.u.title] with message [c.u.message]</p>'),
(90, 'You submitted to waitlist', '<p>You submitted to [c.title]&nbsp;waitlist.</p>'),
(91, 'User submitted in waitlist', '<p>[u.name] submitted to [c.title]&nbsp;waitlist.</p>'),
(92, 'New user registered with your affiliate code', '<p>[u.name] registered with your affiliate code on [time.date].</p>'),
(93, 'New quiz added to course', '<p>New quiz with the title [q.title]&nbsp;added to the course [c.title].</p>'),
(94, 'New reward point', '<p>You collected [points]&nbsp;for [item_title]&nbsp;on [time.date]</p>'),
(95, 'New notice', '<p>You got a new notice with title [c.title]&nbsp;on [time.date]</p>'),
(96, 'New course notice', '<p>You got a new course notice for [c.title]&nbsp;with title [item_title]</p>'),
(97, 'Your user role changed', '<p>Your user role changed to [u.role]</p>'),
(98, 'New user group', '<p>You added to [u.g.title] user group.</p>'),
(99, 'Become instructor/organization request approved', '<p>Your become instructor/organization request is approved.</p>'),
(100, 'Become instructor/organization request rejected', '<p>Your instructor/organization request rejected</p>'),
(101, 'New question in course forum', '<p>[u.name] posted a new question in [c.title] forum.</p>'),
(102, 'New answer in course forum', '<p>[u.name] posted a new answer in [c.title] forum.</p>'),
(103, 'Live meeting created', '<p>[instructor.name] started a new live meeting. Please login to your account and join it now...</p>'),
(104, 'New user registered', '<p>[u.name] registered on the platform on [time.date]&nbsp;as [u.role]</p>'),
(105, 'New instructor/organization request', '<p>[u.name] submitted a user role change request on [time.date]</p>'),
(106, 'New course enrollment', '<p>[u.name] enrolled in [c.title]&nbsp;on [time.date]&nbsp;at [amount]</p>'),
(107, 'New forum topic', '<p>[u.name] created a new topic with title [topic_title]&nbsp;in [forum_title]&nbsp;forum.</p>'),
(108, 'New report', '<p>[u.name] reported a content for revising.</p>'),
(109, 'New item created', '<p>[u.name] created a new item with title [item_title]</p>'),
(110, 'New store order', '<p>New store order received from [u.name]&nbsp;at [amount]</p>'),
(111, 'Subscription plan activated', '<p>[u.name] purchased [s.p.name]&nbsp;at [amount]</p>'),
(112, 'Content review request', '<p>[u.name] sent a review request for [item_title]</p>'),
(113, 'New user blog post', '<p>[u.name] submitted a blog article with title [blog_title]</p>'),
(114, 'New item review (Rating)', '<p>[u.name] submitted a new rate for [item_title]</p>'),
(115, 'New organization user', '<p>[organization.name] submitted [u.name]&nbsp;as new [u.role]</p>'),
(116, 'User wallet charge', '<p>[u.name] charged their wallet for [amount]</p>'),
(117, 'New payout request', '<p>[u.name] submitted a new payout request at [amount]</p>'),
(118, 'New offline payment request', '<p>[u.name] submitted a new offline payment request at [amount]</p>'),
(119, 'Content access approval', '<p>Your content access request approved. You can access all courses now...</p>'),
(120, 'Form submission by user', '<p>[u.name] submitted form [form_title]</p>'),
(121, 'Cart reminder', '<div>We\'re excited to invite you to complete your purchase with us! Enjoy exclusive benefits and offers by finalizing your order now.</div>'),
(122, 'Complete your purchase today with discount!', '<div>Here\'s an exclusive [discount_amount] discount coupon to encourage you to finalize your purchase with us. Discount Code : [discount_code]</div>');

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

--
-- Table structure for table `offline_banks`
--

CREATE TABLE `offline_banks` (
  `id` int UNSIGNED NOT NULL,
  `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offline_banks`
--

INSERT INTO `offline_banks` (`id`, `logo`, `created_at`) VALUES
(6, '/store/1/default_images/offline_payments/Qatar National Bank.png', 1678951755),
(7, '/store/1/default_images/offline_payments/jpmorgan.png', 1679089716),
(8, '/store/1/default_images/offline_payments/State Bank of India.png', 1679090036);

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

--
-- Table structure for table `offline_bank_specifications`
--

CREATE TABLE `offline_bank_specifications` (
  `id` int UNSIGNED NOT NULL,
  `offline_bank_id` int UNSIGNED NOT NULL,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offline_bank_specifications`
--

INSERT INTO `offline_bank_specifications` (`id`, `offline_bank_id`, `value`) VALUES
(17, 6, '2578-4910-3682-6288'),
(18, 6, '38152294372'),
(19, 6, 'QA66QUWW934528129454345775226'),
(20, 7, 'Rocket LMS'),
(21, 7, 'NL37ABNA2423554788'),
(22, 7, '5012-4518-1772-8911'),
(23, 8, '6282-4518-1237-7641'),
(24, 8, '56238341127'),
(25, 8, 'IN37ABNA2422193788');

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

--
-- Table structure for table `offline_bank_specification_translations`
--

CREATE TABLE `offline_bank_specification_translations` (
  `id` int UNSIGNED NOT NULL,
  `offline_bank_specification_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offline_bank_specification_translations`
--

INSERT INTO `offline_bank_specification_translations` (`id`, `offline_bank_specification_id`, `locale`, `name`) VALUES
(20, 17, 'en', 'Card ID'),
(21, 18, 'en', 'Account ID'),
(22, 19, 'en', 'IBAN'),
(23, 20, 'en', 'Account Holder'),
(24, 21, 'en', 'IBAN'),
(25, 22, 'en', 'Card Number'),
(26, 23, 'en', 'Card Number'),
(27, 24, 'en', 'Account ID'),
(28, 25, 'en', 'IBAN');

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

--
-- Table structure for table `offline_bank_translations`
--

CREATE TABLE `offline_bank_translations` (
  `id` int UNSIGNED NOT NULL,
  `offline_bank_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offline_bank_translations`
--

INSERT INTO `offline_bank_translations` (`id`, `offline_bank_id`, `locale`, `title`) VALUES
(7, 6, 'en', 'Qatar National Bank'),
(8, 7, 'en', 'JPMorgan'),
(9, 8, 'en', 'State Bank of India');

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

--
-- Table structure for table `offline_payments`
--

CREATE TABLE `offline_payments` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `amount` int NOT NULL,
  `offline_bank_id` int UNSIGNED DEFAULT NULL,
  `reference_number` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('waiting','approved','reject') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `pay_date` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `offline_payments`
--

INSERT INTO `offline_payments` (`id`, `user_id`, `amount`, `offline_bank_id`, `reference_number`, `attachment`, `status`, `pay_date`, `created_at`) VALUES
(15, 996, 500, 6, '493214678', NULL, 'approved', '1625906880', 1625944192),
(16, 995, 1000, 6, '5492247188', NULL, 'approved', '1625888700', 1625950563),
(17, 979, 400, 6, '4637249712', NULL, 'approved', '1626160980', 1625992349),
(18, 1016, 100, 6, '56647132456', NULL, 'reject', '1626065100', 1625992606),
(20, 923, 300, 6, '8314667560', NULL, 'approved', '1626321000', 1625993428),
(21, 930, 250, 6, '5325469580', NULL, 'approved', '1626070800', 1625993489),
(22, 1015, 500, 6, '583359268', NULL, 'approved', '1626183840', 1626132546),
(23, 929, 300, 6, '56476312144', NULL, 'approved', '1626252480', 1626241046),
(24, 996, 200, 6, '261513513513', NULL, 'approved', '1627950600', 1628704322),
(25, 995, 100, 6, '546465654', NULL, 'approved', '1629204540', 1628704347),
(26, 995, 200, 6, '2123135131', NULL, 'approved', '1628610420', 1628704369),
(27, 979, 100, 6, '3416354544', NULL, 'reject', '1628606880', 1628704436),
(28, 930, 100, 6, '5161616', NULL, 'waiting', '1630413000', 1628785223),
(34, 930, 500, NULL, '3215415665', NULL, 'waiting', '1629469800', 1628785293),
(41, 995, 100, 6, '1647726485', '1646413097.png', 'waiting', '1646322780', 1646413097);

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

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `status` enum('pending','paying','paid','fail') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method` enum('credit','payment_channel') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_charge_account` tinyint(1) NOT NULL DEFAULT '0',
  `amount` double(15,2) UNSIGNED NOT NULL,
  `tax` decimal(13,2) UNSIGNED DEFAULT NULL,
  `total_discount` decimal(13,2) UNSIGNED DEFAULT NULL,
  `total_amount` decimal(13,2) UNSIGNED DEFAULT NULL,
  `product_delivery_fee` decimal(13,2) UNSIGNED DEFAULT NULL,
  `reference_id` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payment_data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `orders`
--

INSERT INTO `orders` (`id`, `user_id`, `status`, `payment_method`, `is_charge_account`, `amount`, `tax`, `total_discount`, `total_amount`, `product_delivery_fee`, `reference_id`, `payment_data`, `created_at`) VALUES
(306, 1015, 'pending', NULL, 0, 63.00, 6.30, NULL, 69.30, NULL, NULL, NULL, 1625145687),
(307, 996, 'paid', 'credit', 0, 150.00, 15.00, 0.00, 165.00, NULL, NULL, NULL, 1625944333),
(308, 995, 'paid', 'credit', 0, 100.00, 10.00, 0.00, 110.00, NULL, NULL, NULL, 1625952623),
(309, 995, 'paid', 'credit', 0, 10.00, 1.00, 0.00, 11.00, NULL, NULL, NULL, 1625953190),
(310, 995, 'paid', 'credit', 0, 125.00, 12.50, 0.00, 137.50, NULL, NULL, NULL, 1625996807),
(311, 995, 'paid', 'credit', 0, 50.00, 5.00, 0.00, 55.00, NULL, NULL, NULL, 1625996936),
(312, 995, 'paid', 'credit', 0, 100.00, 5.00, 50.00, 55.00, NULL, NULL, NULL, 1625996974),
(313, 995, 'paid', 'credit', 0, 16.00, 1.20, 4.00, 13.20, NULL, NULL, NULL, 1625997096),
(314, 996, 'paid', 'credit', 0, 25.00, 2.25, 2.50, 24.75, NULL, NULL, NULL, 1626060481),
(315, 996, 'paid', 'credit', 0, 100.00, 4.00, 60.00, 44.00, NULL, NULL, NULL, 1626060547),
(316, 930, 'paid', 'credit', 0, 100.00, 5.00, 50.00, 55.00, NULL, NULL, NULL, 1626060832),
(317, 979, 'paid', 'credit', 0, 60.00, 6.00, 0.00, 66.00, NULL, NULL, NULL, 1626061329),
(318, 979, 'paid', 'credit', 0, 50.00, 5.00, 0.00, 55.00, NULL, NULL, NULL, 1626061366),
(319, 995, 'paid', 'credit', 0, 20.00, 2.00, NULL, 22.00, NULL, NULL, NULL, 1626061431),
(320, 1015, 'pending', NULL, 0, 20.00, 2.00, 0.00, 22.00, NULL, NULL, NULL, 1626132487),
(321, 1015, 'paid', 'credit', 0, 20.00, 1.60, 4.00, 17.60, NULL, NULL, NULL, 1626132840),
(322, 929, 'pending', NULL, 0, 40.00, 3.00, 10.00, 33.00, NULL, NULL, NULL, 1626240993),
(323, 929, 'paid', 'credit', 0, 50.00, 5.00, NULL, 55.00, NULL, NULL, NULL, 1626241146),
(324, 929, 'paid', 'credit', 0, 40.00, 3.00, 10.00, 33.00, NULL, NULL, NULL, 1626241207),
(325, 995, 'paid', 'credit', 0, 100.00, 10.00, 0.00, 110.00, NULL, NULL, NULL, 1626247189),
(326, 1015, 'pending', NULL, 0, 20.00, 1.60, 4.00, 17.60, NULL, NULL, NULL, 1626284818),
(327, 996, 'paid', 'credit', 0, 30.00, 2.70, 3.00, 29.70, NULL, NULL, NULL, 1626508952),
(328, 929, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, NULL, NULL, NULL, 1635412190),
(329, 979, 'pending', NULL, 0, 100.00, 10.00, NULL, 110.00, NULL, NULL, NULL, 1635448382),
(330, 1017, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, NULL, NULL, NULL, 1639379271),
(331, 1017, 'paid', 'credit', 0, 100.00, 10.00, 0.00, 110.00, NULL, NULL, NULL, 1639379347),
(332, 1017, 'paid', 'credit', 0, 40.00, 3.00, 10.00, 33.00, NULL, NULL, NULL, 1639379382),
(333, 995, 'paid', 'credit', 0, 10.00, 1.00, 0.00, 11.00, NULL, NULL, NULL, 1646172083),
(334, 996, 'paid', 'credit', 0, 10.00, 0.90, 1.00, 9.90, NULL, NULL, NULL, 1646172119),
(335, 979, 'paid', 'credit', 0, 10.00, 1.00, 0.00, 11.00, NULL, NULL, NULL, 1646172156),
(336, 929, 'paid', 'credit', 0, 10.00, 1.00, 0.00, 11.00, NULL, NULL, NULL, 1646172292),
(337, 995, 'paid', 'credit', 0, 750.00, 75.00, 0.00, 825.00, NULL, NULL, NULL, 1646379279),
(338, 1017, 'pending', NULL, 0, 300.00, 30.00, 0.00, 330.00, NULL, NULL, NULL, 1646380150),
(339, 930, 'paid', 'credit', 0, 199.00, 19.90, NULL, 218.90, NULL, NULL, NULL, 1646386782),
(340, 859, 'paid', 'credit', 0, 200.00, 20.00, NULL, 220.00, NULL, NULL, NULL, 1646387650),
(341, 930, 'paid', 'credit', 0, 50.00, 5.00, 0.00, 55.00, 0.00, NULL, NULL, 1656083106),
(342, 995, 'paid', 'credit', 0, 5.00, 0.25, 0.00, 5.25, 0.00, NULL, NULL, 1656103838),
(343, 923, 'paid', 'credit', 0, 25.00, 1.25, 0.00, 31.25, 5.00, NULL, NULL, 1656104126),
(344, 996, 'paid', 'credit', 0, 40.00, 3.60, 4.00, 39.60, 0.00, NULL, NULL, 1656130476),
(345, 930, 'paid', 'credit', 0, 290.00, 14.50, 0.00, 314.50, 10.00, NULL, NULL, 1656130702),
(346, 996, 'paid', 'credit', 0, 75.00, 3.75, 0.00, 78.75, 0.00, NULL, NULL, 1656130959),
(347, 979, 'paid', 'credit', 0, 33.00, 3.30, 0.00, 36.30, 0.00, NULL, NULL, 1656139699),
(348, 1017, 'paid', 'credit', 0, 25.00, 1.00, 5.00, 26.00, 5.00, NULL, NULL, 1656148569),
(349, 995, 'pending', NULL, 0, 50.00, 2.25, 5.00, 52.25, 5.00, NULL, NULL, 1656148735),
(350, 995, 'paid', 'credit', 0, 50.00, 2.25, 5.00, 52.25, 5.00, NULL, NULL, 1656148833),
(351, 995, 'paid', 'credit', 0, 20.00, 1.00, 4.00, 17.00, 0.00, NULL, NULL, 1656322652),
(694, 995, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678915479),
(695, 979, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678917758),
(696, 979, 'paid', 'credit', 0, 60.00, 3.60, 24.00, 39.60, 0.00, NULL, NULL, 1678919425),
(697, 930, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678922505),
(698, 995, 'paid', 'credit', 0, 20.00, 2.00, 0.00, 22.00, 0.00, NULL, NULL, 1678922687),
(699, 1017, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678923549),
(700, 979, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678925784),
(701, 995, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678925910),
(702, 995, 'paid', 'credit', 0, 20.00, 2.00, 0.00, 22.00, 0.00, NULL, NULL, 1678926034),
(703, 1045, 'paid', 'credit', 0, 100.00, 10.00, 0.00, 110.00, 0.00, NULL, NULL, 1678959216),
(704, 995, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678960998),
(705, 930, 'paid', 'credit', 0, 60.00, 3.60, 24.00, 39.60, 0.00, NULL, NULL, 1678961213),
(706, 979, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1678961648),
(707, 1045, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1679088424),
(708, 995, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1685783036),
(709, 930, 'paid', 'credit', 0, 30.00, 3.00, 0.00, 33.00, 0.00, NULL, NULL, 1685783147);

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

--
-- Table structure for table `order_items`
--

CREATE TABLE `order_items` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `order_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `subscribe_id` int UNSIGNED DEFAULT NULL,
  `promotion_id` int UNSIGNED DEFAULT NULL,
  `gift_id` int UNSIGNED DEFAULT NULL,
  `registration_package_id` int UNSIGNED DEFAULT NULL,
  `product_id` int UNSIGNED DEFAULT NULL,
  `product_order_id` int UNSIGNED DEFAULT NULL,
  `installment_payment_id` int UNSIGNED DEFAULT NULL,
  `reserve_meeting_id` int UNSIGNED DEFAULT NULL,
  `ticket_id` int UNSIGNED DEFAULT NULL,
  `discount_id` int DEFAULT NULL,
  `become_instructor_id` int UNSIGNED DEFAULT NULL,
  `amount` double(15,2) UNSIGNED DEFAULT NULL,
  `tax` int UNSIGNED DEFAULT NULL,
  `tax_price` double(15,2) UNSIGNED DEFAULT NULL,
  `commission` int UNSIGNED DEFAULT NULL,
  `commission_price` double(15,2) UNSIGNED DEFAULT NULL,
  `discount` double(15,2) UNSIGNED DEFAULT NULL,
  `total_amount` double(15,2) UNSIGNED DEFAULT NULL,
  `product_delivery_fee` double(15,2) UNSIGNED DEFAULT NULL,
  `created_at` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `order_items`
--

INSERT INTO `order_items` (`id`, `user_id`, `order_id`, `webinar_id`, `bundle_id`, `subscribe_id`, `promotion_id`, `gift_id`, `registration_package_id`, `product_id`, `product_order_id`, `installment_payment_id`, `reserve_meeting_id`, `ticket_id`, `discount_id`, `become_instructor_id`, `amount`, `tax`, `tax_price`, `commission`, `commission_price`, `discount`, `total_amount`, `product_delivery_fee`, `created_at`) VALUES
(310, 1015, 306, 1996, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 63.00, 10, 6.30, 0, 0.00, NULL, 69.30, NULL, 1625145687),
(311, 996, 307, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 48, NULL, NULL, NULL, 150.00, 10, 15.00, 20, 30.00, 0.00, 165.00, NULL, 1625944333),
(312, 995, 308, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 49, NULL, NULL, NULL, 100.00, 10, 10.00, 20, 20.00, 0.00, 110.00, NULL, 1625952623),
(313, 995, 309, 2005, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, 10, 1.00, 20, 2.00, 0.00, 11.00, NULL, 1625953190),
(314, 995, 310, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50, NULL, NULL, NULL, 125.00, 10, 12.50, 20, 25.00, 0.00, 137.50, NULL, 1625996807),
(315, 995, 311, 1999, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50.00, 10, 5.00, 10, 5.00, 0.00, 55.00, NULL, 1625996936),
(316, 995, 312, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 28, NULL, NULL, 100.00, 10, 5.00, 20, 10.00, 50.00, 55.00, NULL, 1625996974),
(317, 995, 313, 2001, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20.00, 10, 1.60, 10, 1.60, 4.00, 17.60, NULL, 1625997096),
(318, 996, 314, 2006, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 25.00, 10, 2.25, 20, 4.50, 2.50, 24.75, NULL, 1626060481),
(319, 996, 315, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 28, NULL, NULL, 100.00, 10, 4.00, 20, 8.00, 60.00, 44.00, NULL, 1626060548),
(320, 930, 316, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 28, NULL, NULL, 100.00, 10, 5.00, 20, 10.00, 50.00, 55.00, NULL, 1626060832),
(321, 979, 317, 2004, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60.00, 10, 6.00, 10, 6.00, 0.00, 66.00, NULL, 1626061329),
(322, 979, 318, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20.00, 10, 2.00, 20, 4.00, 0.00, 22.00, NULL, 1626061366),
(323, 979, 318, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, NULL, 1626061366),
(324, 995, 319, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20.00, 10, 2.00, 0, 0.00, NULL, 22.00, NULL, 1626061431),
(325, 1015, 320, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20.00, 10, 2.00, 20, 4.00, 0.00, 22.00, NULL, 1626132487),
(326, 1015, 321, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, 20.00, 10, 1.60, 20, 3.20, 4.00, 17.60, NULL, 1626132840),
(327, 929, 322, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 31, NULL, NULL, 40.00, 10, 3.00, 20, 6.00, 10.00, 33.00, NULL, 1626240993),
(328, 929, 323, 2004, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50.00, 10, 5.00, 0, 0.00, NULL, 55.00, NULL, 1626241146),
(329, 929, 324, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 31, NULL, NULL, 40.00, 10, 3.00, 20, 6.00, 10.00, 33.00, NULL, 1626241207),
(330, 995, 325, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 51, NULL, NULL, NULL, 100.00, 10, 10.00, 20, 20.00, 0.00, 110.00, NULL, 1626247189),
(331, 1015, 326, 2001, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20.00, 10, 1.60, 10, 1.60, 4.00, 17.60, NULL, 1626284818),
(332, 996, 327, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30.00, 10, 2.70, 20, 5.40, 3.00, 29.70, NULL, 1626508952),
(333, 929, 328, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, NULL, 1635412190),
(334, 979, 329, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100.00, 10, 10.00, 0, 0.00, NULL, 110.00, NULL, 1635448382),
(335, 1017, 330, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, NULL, 1639379271),
(336, 1017, 331, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100.00, 10, 10.00, 20, 20.00, 0.00, 110.00, NULL, 1639379347),
(337, 1017, 332, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 31, NULL, NULL, 40.00, 10, 3.00, 20, 6.00, 10.00, 33.00, NULL, 1639379382),
(338, 995, 333, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, 10, 1.00, 20, 2.00, 0.00, 11.00, NULL, 1646172083),
(339, 996, 334, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, 10, 0.90, 20, 1.80, 1.00, 9.90, NULL, 1646172119),
(340, 979, 335, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, 10, 1.00, 20, 2.00, 0.00, 11.00, NULL, 1646172156),
(341, 929, 336, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, 10, 1.00, 20, 2.00, 0.00, 11.00, NULL, 1646172292),
(342, 995, 337, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 750.00, 10, 75.00, 20, 150.00, 0.00, 825.00, NULL, 1646379279),
(343, 1017, 338, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, 300.00, 10, 30.00, 20, 60.00, 0.00, 330.00, NULL, 1646380150),
(344, 930, 339, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, 5, 199.00, 10, 19.90, 0, 0.00, NULL, 218.90, NULL, 1646386782),
(345, 859, 340, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL, 6, 200.00, 10, 20.00, 0, 0.00, NULL, 220.00, NULL, 1646387650),
(346, 930, 341, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 50.00, 10, 5.00, 20, 10.00, 0.00, 55.00, 0.00, 1656083106),
(347, 995, 342, NULL, NULL, NULL, NULL, NULL, NULL, 4, 1, NULL, NULL, NULL, NULL, NULL, 5.00, 5, 0.25, 20, 1.00, 0.00, 5.25, 0.00, 1656103838),
(348, 923, 343, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, NULL, NULL, NULL, NULL, NULL, 25.00, 5, 1.25, 10, 2.50, 0.00, 31.25, 5.00, 1656104126),
(349, 996, 344, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 40.00, 10, 3.60, 20, 7.20, 4.00, 39.60, 0.00, 1656130476),
(350, 930, 345, NULL, NULL, NULL, NULL, NULL, NULL, 2, 3, NULL, NULL, NULL, NULL, NULL, 290.00, 5, 14.50, 10, 29.00, 0.00, 314.50, 10.00, 1656130702),
(351, 996, 346, NULL, NULL, NULL, NULL, NULL, NULL, 5, 4, NULL, NULL, NULL, NULL, NULL, 75.00, 5, 3.75, 20, 15.00, 0.00, 78.75, 0.00, 1656130959),
(352, 979, 347, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8.00, 10, 0.80, 20, 1.60, 0.00, 8.80, 0.00, 1656139699),
(353, 979, 347, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 25.00, 10, 2.50, 20, 5.00, 0.00, 27.50, 0.00, 1656139699),
(354, 1017, 348, NULL, NULL, NULL, NULL, NULL, NULL, 1, 5, NULL, NULL, NULL, NULL, NULL, 25.00, 5, 1.00, 10, 2.00, 5.00, 26.00, 5.00, 1656148569),
(355, 995, 349, NULL, NULL, NULL, NULL, NULL, NULL, 1, 6, NULL, NULL, NULL, NULL, NULL, 50.00, 5, 2.25, 10, 4.50, 5.00, 52.25, 5.00, 1656148735),
(356, 995, 350, NULL, NULL, NULL, NULL, NULL, NULL, 1, 6, NULL, NULL, NULL, NULL, NULL, 50.00, 5, 2.25, 10, 4.50, 5.00, 52.25, 5.00, 1656148833),
(357, 995, 351, NULL, NULL, NULL, NULL, NULL, NULL, 6, 7, NULL, NULL, NULL, 9, NULL, 20.00, 5, 1.00, 20, 4.00, 4.00, 17.00, 0.00, 1656322652),
(692, 995, 694, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678915479),
(693, 979, 695, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678917758),
(695, 930, 697, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678922505),
(696, 995, 698, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, 20.00, 10, 2.00, 20, 4.00, 0.00, 22.00, 0.00, 1678922687),
(697, 1017, 699, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678923549),
(698, 979, 700, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678925784),
(699, 995, 701, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678925910),
(700, 995, 702, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 9, NULL, NULL, NULL, NULL, 20.00, 10, 2.00, 20, 4.00, 0.00, 22.00, 0.00, 1678926034),
(701, 1045, 703, 2022, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 100.00, 10, 10.00, 20, 20.00, 0.00, 110.00, 0.00, 1678959216),
(702, 995, 704, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678960998),
(703, 930, 705, 2004, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 60.00, 10, 3.60, 10, 3.60, 24.00, 39.60, 0.00, 1678961213),
(704, 979, 706, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 11, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1678961648),
(705, 1045, 707, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1679088424),
(706, 995, 708, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1685783036),
(707, 930, 709, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, 30.00, 10, 3.00, 20, 6.00, 0.00, 33.00, 0.00, 1685783147);

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

--
-- Table structure for table `pages`
--

CREATE TABLE `pages` (
  `id` int UNSIGNED NOT NULL,
  `link` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `robot` tinyint(1) NOT NULL DEFAULT '0',
  `status` enum('publish','draft') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pages`
--

INSERT INTO `pages` (`id`, `link`, `name`, `robot`, `status`, `created_at`) VALUES
(3, '/about', 'About', 1, 'publish', 1750165360),
(5, '/terms', 'الشروط والقواعد', 1, 'publish', 1750158985),
(6, '/reward_points_system', 'Reward Points System', 1, 'publish', 1646398467);

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

--
-- Table structure for table `page_translations`
--

CREATE TABLE `page_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `page_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seo_description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `page_translations`
--

INSERT INTO `page_translations` (`id`, `page_id`, `locale`, `title`, `seo_description`, `content`) VALUES
(1, 3, 'en', 'About', 'DNIA aims to be a leading regional and international educational platform that graduates academically and professionally distinguished talents', '<div><div><div><b>Vision:</b></div><div><b>DNIA aims to be a leading regional and international educational platform that graduates academically and professionally distinguished talents, and contributes to building a sustainable knowledge society based on creativity, innovation, and responsibility, and to revolutionise vocational training through innovative, hands-on education that enhances employability and drives economic growth</b></div></div><div><span style=\"font-weight: bolder;\"><br></span></div><div><div><b>Mission:</b></div><div><b>DNIA is committed to delivering high-quality, flexible, and accessible education that blends tradition with modernity and meets the needs of local and global labour markets through advanced academic and training programs, qualified faculty, and effective strategic partnerships</b></div></div><div><span style=\"font-weight: bolder;\"><br></span></div><div><img src=\"/store/1/default_images/about2.png\" style=\"width: 883px;\"><span style=\"font-weight: bolder;\"><br></span></div></div><div style=\"text-align: center; \"><br></div><div><br></div><div><br></div>'),
(2, 5, 'en', 'Terms of Service', 'Our mission is to improve lives through learning. We enable anyone anywhere to create and share educational content (instructors) and to access that educational content to learn.', '<p><b>First: Registration and Enrollment Conditions</b></p><p><b>1. Anyone is entitled to register on the platform, provided they provide correct and complete information.</b></p><p><b>2. Enrollment in programs requires the qualifications or prerequisites specified for each course or program.</b></p><p><b>3. The Academy reserves the right to reject any registration request without justification if the conditions are not met.</b></p><p><b>_____</b></p><p><b>Second: Payment and Refund Policy</b></p><p><b>1. Program fees must be paid in full before the start of the course, or according to the announced payment schedule.</b></p><p><b>2. Fees are not refunded after the start of the program, except in exceptional cases that are presented to the administration.</b></p><p><b>3. If the course is canceled by the Academy, the full amount will be refunded to the trainee.</b></p><p><b>_____</b></p><p><b>Third: Intellectual Property Rights</b></p><p><b>1. All content (videos, presentations, files) is the exclusive property of Dar Al-Nokhba International Academy.</b></p><p><b>2. Copying, redistributing, or sharing any training content outside the platform without official written permission is prohibited.</b></p><p><b>3. Any unauthorized use exposes the trainee to legal liability.</b></p><p><b>_____</b></p><p><b>Fourth: Academic Conduct and Commitment</b></p><p><b>1. All trainees are expected to adhere to professional ethics and respect colleagues and trainers.</b></p><p><b>2. The platform may not be used for commercial, promotional, or political purposes.</b></p><p><b>3. In the event of behavioral or academic violations (such as cheating or abuse), the Academy reserves the right to suspend or cancel the account without compensation.</b></p><p><b>_____</b></p><p><b>Fifth: Certificates and Accreditations</b></p><p><b>1. Certificates are only awarded upon completion of the academic requirements for each program.</b></p><p><b>2. Participants must attend the required percentage of training hours and actively participate in activities and assessments.</b></p><p><b>3. Certificates are issued by the Academy and may be accompanied by international or local accreditation, depending on the program.</b></p><p><b>_____</b></p><p><b>Sixth: Amendments to Terms</b></p><p><b>The Academy reserves the right to amend the terms and conditions at any time. Continued use of the platform after this update constitutes implicit acceptance of the new terms and conditions.</b></p><p><b>_____</b></p><p><b>📌 Note: Your use of the platform signifies your full acceptance of these terms and conditions. For further inquiries, please contact the Academy\'s management via the official communication channels.</b></p>'),
(3, 6, 'en', 'Reward Points System', 'Rocket LMS Reward Points System is a Complete Loyalty Reward Points System and the most comprehensive Points and Rewards Plugin.', '<p><img src=\"/store/1/default_images/Reward Points System.jpg\" style=\"width: 800px;\"><br></p><p><b>Rocket LMS&nbsp;Reward Points System is a Complete Loyalty Reward Points System and the most comprehensive Points and Rewards Plugin. Reward your Customers using Reward Points for Product Purchase, Writing Reviews, Sign up, Referrals, etc. The earned Reward Points can be redeemed for future purchases.&nbsp;</b></p>'),
(4, 5, 'es', 'Términos de servicio', 'Nuestra misión es mejorar vidas a través del aprendizaje. Permitimos que cualquier persona en cualquier lugar pueda crear y compartir contenido educativo (instructores) y acceder a ese contenido educativo para aprender.', '<p>Nota: Estos son solo datos de demostración.</p><p><br></p><p>Nuestra misión es mejorar vidas a través del aprendizaje. Permitimos que cualquier persona en cualquier lugar pueda crear y compartir contenido educativo (instructores) y acceder a ese contenido educativo para aprender (estudiantes). Consideramos nuestro modelo de mercado la mejor manera de ofrecer contenido educativo valioso a nuestros usuarios. Necesitamos reglas para mantener nuestra plataforma y servicios seguros para usted, nosotros y nuestra comunidad de estudiantes e instructores. Estos Términos se aplican a todas sus actividades en el sitio web de Udemy, las aplicaciones móviles de Udemy, nuestras aplicaciones de TV, nuestras API y otros servicios relacionados (\"Servicios\").</p><p><br></p><p>Si publica contenido en nuestra plataforma, también debe aceptar los Términos del instructor. También proporcionamos detalles sobre nuestro procesamiento de los datos personales de nuestros estudiantes e instructores en nuestra Política de privacidad. Si utiliza nuestra plataforma para empresas como parte de la suscripción a Udemy for Business de su organización, debe consultar nuestra Declaración de privacidad de Udemy for Business.</p><p><br></p><p><br></p><p><br></p><p>Necesita una cuenta para la mayoría de las actividades en nuestra plataforma, incluso para comprar y acceder a contenido o para enviar contenido para su publicación. Al configurar y mantener su cuenta, debe proporcionar y continuar proporcionando información precisa y completa, incluida una dirección de correo electrónico válida. Usted es completamente responsable de su cuenta y de todo lo que sucede en ella, incluido cualquier daño o perjuicio (a nosotros o a cualquier otra persona) causado por alguien que usa su cuenta sin su permiso. Esto significa que debe tener cuidado con su contraseña. No puede transferir su cuenta a otra persona ni usar la cuenta de otra persona. Si se comunica con nosotros para solicitar acceso a una cuenta, no le otorgaremos dicho acceso a menos que pueda proporcionarnos la información que necesitamos para demostrar que es el propietario de esa cuenta. En caso de fallecimiento de un usuario, la cuenta de ese usuario se cerrará.</p>'),
(5, 5, 'ar', 'الشروط والقواعد', 'مهمتنا هي تحسين الحياة من خلال التعلم. نحن نمكن أي شخص في أي مكان من إنشاء ومشاركة المحتوى التعليمي (المدربين) والوصول إلى هذا المحتوى التعليمي للتعلم.', '<p style=\"direction: rtl; text-align: right;\">أولًا: شروط التسجيل والالتحاق</p><p style=\"direction: rtl; text-align: right;\">1.<span style=\"white-space:pre\">	</span>يحق لأي شخص التسجيل في المنصة بشرط إدخال بيانات صحيحة وكاملة.</p><p style=\"direction: rtl; text-align: right;\">2.<span style=\"white-space:pre\">	</span>يُشترط للالتحاق بالبرامج وجود المؤهل أو المتطلبات المسبقة المحددة لكل دورة أو برنامج.</p><p style=\"direction: rtl; text-align: right;\">3.<span style=\"white-space:pre\">	</span>تحتفظ الأكاديمية بحق رفض أي طلب تسجيل في حال عدم استيفاء الشروط دون الحاجة لتبرير.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">ثانيًا: سياسة الدفع واسترداد الرسوم</p><p style=\"direction: rtl; text-align: right;\">1.<span style=\"white-space:pre\">	</span>تُسدد رسوم البرامج كاملة قبل بدء الدورة، أو حسب جدول الدفع المُعلن.</p><p style=\"direction: rtl; text-align: right;\">2.<span style=\"white-space:pre\">	</span>لا تُسترد الرسوم بعد بدء البرنامج، إلا في حالات استثنائية تُعرض على الإدارة.</p><p style=\"direction: rtl; text-align: right;\">3.<span style=\"white-space:pre\">	</span>في حال إلغاء الدورة من قِبل الأكاديمية، يُعاد المبلغ كاملًا للمتدرب.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">ثالثًا: حقوق الملكية الفكرية</p><p style=\"direction: rtl; text-align: right;\">1.<span style=\"white-space:pre\">	</span>جميع المحتويات (الفيديوهات، العروض، الملفات) هي ملك حصري لأكاديمية دار النخبة الدولية.</p><p style=\"direction: rtl; text-align: right;\">2.<span style=\"white-space:pre\">	</span>يُمنع نسخ أو إعادة توزيع أو مشاركة أي محتوى تدريبي خارج المنصة دون إذن خطي رسمي.</p><p style=\"direction: rtl; text-align: right;\">3.<span style=\"white-space:pre\">	</span>أي استخدام غير مصرح به يُعرّض المتدرب للمساءلة القانونية.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">رابعًا: السلوك والالتزام الأكاديمي</p><p style=\"direction: rtl; text-align: right;\">1.<span style=\"white-space:pre\">	</span>يُتوقع من جميع المتدربين الالتزام بالأخلاق المهنية واحترام الزملاء والمدربين.</p><p style=\"direction: rtl; text-align: right;\">2.<span style=\"white-space:pre\">	</span>يُمنع استخدام المنصة لأغراض تجارية أو دعائية أو سياسية.</p><p style=\"direction: rtl; text-align: right;\">3.<span style=\"white-space:pre\">	</span>في حال ارتكاب مخالفات سلوكية أو أكاديمية (مثل الغش أو الإساءات)، تحتفظ الأكاديمية بحق تعليق أو إلغاء الحساب دون تعويض.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">خامسًا: الشهادات والاعتمادات</p><p style=\"direction: rtl; text-align: right;\">1.<span style=\"white-space:pre\">	</span>تُمنح الشهادات فقط بعد اجتياز المتطلبات الأكاديمية لكل برنامج.</p><p style=\"direction: rtl; text-align: right;\">2.<span style=\"white-space:pre\">	</span>يجب حضور النسبة المطلوبة من الساعات التدريبية، والمشاركة الفعلية في الأنشطة والتقييمات.</p><p style=\"direction: rtl; text-align: right;\">3.<span style=\"white-space:pre\">	</span>الشهادات صادرة من الأكاديمية وقد تكون مرفقة باعتماد دولي أو محلي حسب البرنامج.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">سادسًا: التعديلات على الشروط</p><p style=\"direction: rtl; text-align: right;\">تحتفظ الأكاديمية بحق تعديل الشروط والقواعد في أي وقت، ويُعتبر استمرار استخدام المنصة بعد التحديث موافقة ضمنية على الشروط الجديدة.</p><p style=\"direction: rtl; text-align: right;\">________________________________________</p><p style=\"direction: rtl; text-align: right;\">📌 ملاحظة: استخدامك للمنصة يعني موافقتك الكاملة على هذه الشروط والقواعد. لمزيد من الاستفسارات، يُرجى التواصل مع إدارة الأكاديمية عبر وسائل الاتصال الرسمية.</p><div style=\"text-align: right;\"><br></div>'),
(6, 3, 'ar', 'عن الأكاديمية', 'دف أكاديمية دار النخبة الدولية أن تكون منصة تعليمية رائدة على المستوى الإقليمي والدولي', '<p>الرؤية :</p><p>تهدف أكاديمية دار النخبة الدولية أن تكون منصة تعليمية رائدة على المستوى الإقليمي والدولي، تعمل على تأهيل كوادر متميزة أكاديميًا ومهنيًا، وتُسهم في بناء مجتمع معرفي مستدام قائم على الإبداع والابتكار والمسؤولية ، وأن نُحدث تحولًا جذريًا في مفهوم التدريب المهني من خلال تقديم تعليم عملي مبتكر، يُعزز فرص التوظيف ويُساهم في تنمية الاقتصاد.</p><p><span style=\"white-space: pre; white-space: normal;\">	</span></p><p>الرسالة :</p><p>تلتزم دار النخبة الدولية بتوفير تعليم عالي الجودة، مرن ومتاح، يدمج بين الأصالة والمعاصرة، ويلبي متطلبات سوق العمل المحلي والعالمي، من خلال برامج أكاديمية وتدريبية متقدمة، وكوادر تعليمية مؤهلة، وشراكات استراتيجية فاعلة.</p><div style=\"text-align: center; \"><img src=\"/store/1/default_images/about2.png\" style=\"width: 883px;\"><br></div>');

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

--
-- Table structure for table `payku_transactions`
--

CREATE TABLE `payku_transactions` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `amount` int UNSIGNED DEFAULT NULL,
  `notified_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `full_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payouts`
--

CREATE TABLE `payouts` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `user_selected_bank_id` int UNSIGNED NOT NULL,
  `amount` decimal(13,2) NOT NULL,
  `status` enum('waiting','done','reject') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` int UNSIGNED NOT NULL,
  `role_id` int UNSIGNED DEFAULT NULL,
  `section_id` int UNSIGNED DEFAULT NULL,
  `allow` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `role_id`, `section_id`, `allow`) VALUES
(17455, 3, 100001, 1),
(17456, 3, 100002, 1),
(17457, 3, 100003, 1),
(17458, 3, 100004, 1),
(17459, 3, 100005, 1),
(17460, 3, 100010, 1),
(17461, 3, 100011, 1),
(17462, 3, 100012, 1),
(17463, 3, 100013, 1),
(17464, 3, 100014, 1),
(17465, 3, 100020, 1),
(17466, 3, 100021, 1),
(17467, 3, 100022, 1),
(17468, 3, 100023, 1),
(17469, 3, 100024, 1),
(17470, 3, 100025, 1),
(17471, 3, 100026, 1),
(17472, 3, 100027, 1),
(17473, 3, 100028, 1),
(17474, 3, 100029, 1),
(17475, 3, 100030, 1),
(17476, 3, 100031, 1),
(17477, 3, 100032, 1),
(17478, 3, 100033, 1),
(17479, 3, 100034, 1),
(17480, 3, 100035, 1),
(17481, 3, 100040, 1),
(17482, 3, 100041, 1),
(17483, 3, 100042, 1),
(17484, 3, 100043, 1),
(17485, 3, 100044, 1),
(17486, 3, 100045, 1),
(17487, 3, 100050, 1),
(17488, 3, 100051, 1),
(17489, 3, 100052, 1),
(17490, 3, 100053, 1),
(17491, 3, 100054, 1),
(17492, 3, 100055, 1),
(17493, 3, 100060, 1),
(17494, 3, 100061, 1),
(17495, 3, 100062, 1),
(17496, 3, 100063, 1),
(17497, 3, 100070, 1),
(17498, 3, 100071, 1),
(17499, 3, 100072, 1),
(17500, 3, 100073, 1),
(17501, 3, 100080, 1),
(17502, 3, 100081, 1),
(17503, 3, 100082, 1),
(17504, 3, 100083, 1),
(17505, 3, 100084, 1),
(17506, 3, 100085, 1),
(17507, 3, 100086, 1),
(17508, 3, 100090, 1),
(17509, 3, 100091, 1),
(17510, 3, 100092, 1),
(17511, 3, 100093, 1),
(17512, 3, 100100, 1),
(17513, 3, 100101, 1),
(17514, 3, 100102, 1),
(17515, 3, 100103, 1),
(17516, 3, 100104, 1),
(17517, 3, 100105, 1),
(17518, 3, 100106, 1),
(17519, 3, 100107, 1),
(17520, 3, 100120, 1),
(17521, 3, 100121, 1),
(17522, 3, 100122, 1),
(17523, 3, 100123, 1),
(17524, 3, 100124, 1),
(17525, 3, 100125, 1),
(17526, 3, 100126, 1),
(17527, 3, 100127, 1),
(17528, 3, 100140, 1),
(17529, 3, 100141, 1),
(17530, 3, 100142, 1),
(17531, 3, 100143, 1),
(17532, 3, 100160, 1),
(17533, 3, 100161, 1),
(17534, 3, 100162, 1),
(17535, 3, 100163, 1),
(17536, 3, 100164, 1),
(17537, 3, 100165, 1),
(17538, 3, 100166, 1),
(17539, 3, 100167, 1),
(17540, 3, 100180, 1),
(17541, 3, 100181, 1),
(17542, 3, 100182, 1),
(17543, 3, 100183, 1),
(17544, 3, 100184, 1),
(17545, 3, 100200, 1),
(17546, 3, 100201, 1),
(17547, 3, 100202, 1),
(17548, 3, 100203, 1),
(17549, 3, 100204, 1),
(17550, 3, 100220, 1),
(17551, 3, 100221, 1),
(17552, 3, 100222, 1),
(17553, 3, 100223, 1),
(17554, 3, 100224, 1),
(17555, 3, 100225, 1),
(17556, 3, 100240, 1),
(17557, 3, 100241, 1),
(17558, 3, 100260, 1),
(17559, 3, 100261, 1),
(17560, 3, 100280, 1),
(17561, 3, 100281, 1),
(17562, 3, 100300, 1),
(17563, 3, 100301, 1),
(17564, 3, 100302, 1),
(17565, 3, 100303, 1),
(17566, 1, 100001, 1),
(17567, 1, 100002, 1),
(17568, 1, 100003, 1),
(17569, 1, 100004, 1),
(17570, 1, 100005, 1),
(17571, 1, 100010, 1),
(17572, 1, 100011, 1),
(17573, 1, 100012, 1),
(17574, 1, 100013, 1),
(17575, 1, 100014, 1),
(17576, 1, 100020, 1),
(17577, 1, 100021, 1),
(17578, 1, 100022, 1),
(17579, 1, 100023, 1),
(17580, 1, 100024, 1),
(17581, 1, 100025, 1),
(17582, 1, 100026, 1),
(17583, 1, 100027, 1),
(17584, 1, 100028, 1),
(17585, 1, 100029, 1),
(17586, 1, 100030, 1),
(17587, 1, 100031, 1),
(17588, 1, 100032, 1),
(17589, 1, 100033, 1),
(17590, 1, 100034, 1),
(17591, 1, 100035, 1),
(17592, 1, 100040, 1),
(17593, 1, 100041, 1),
(17594, 1, 100042, 1),
(17595, 1, 100043, 1),
(17596, 1, 100044, 1),
(17597, 1, 100045, 1),
(17598, 1, 100050, 1),
(17599, 1, 100051, 1),
(17600, 1, 100052, 1),
(17601, 1, 100053, 1),
(17602, 1, 100054, 1),
(17603, 1, 100055, 1),
(17604, 1, 100060, 1),
(17605, 1, 100061, 1),
(17606, 1, 100062, 1),
(17607, 1, 100063, 1),
(17608, 1, 100070, 1),
(17609, 1, 100071, 1),
(17610, 1, 100072, 1),
(17611, 1, 100073, 1),
(17612, 1, 100080, 1),
(17613, 1, 100081, 1),
(17614, 1, 100082, 1),
(17615, 1, 100083, 1),
(17616, 1, 100084, 1),
(17617, 1, 100085, 1),
(17618, 1, 100086, 1),
(17619, 1, 100090, 1),
(17620, 1, 100091, 1),
(17621, 1, 100092, 1),
(17622, 1, 100093, 1),
(17623, 1, 100100, 1),
(17624, 1, 100101, 1),
(17625, 1, 100102, 1),
(17626, 1, 100103, 1),
(17627, 1, 100104, 1),
(17628, 1, 100105, 1),
(17629, 1, 100106, 1),
(17630, 1, 100107, 1),
(17631, 1, 100120, 1),
(17632, 1, 100121, 1),
(17633, 1, 100122, 1),
(17634, 1, 100123, 1),
(17635, 1, 100124, 1),
(17636, 1, 100125, 1),
(17637, 1, 100126, 1),
(17638, 1, 100127, 1),
(17639, 1, 100140, 1),
(17640, 1, 100141, 1),
(17641, 1, 100142, 1),
(17642, 1, 100143, 1),
(17643, 1, 100160, 1),
(17644, 1, 100161, 1),
(17645, 1, 100162, 1),
(17646, 1, 100163, 1),
(17647, 1, 100164, 1),
(17648, 1, 100165, 1),
(17649, 1, 100166, 1),
(17650, 1, 100167, 1),
(17651, 1, 100180, 1),
(17652, 1, 100181, 1),
(17653, 1, 100182, 1),
(17654, 1, 100183, 1),
(17655, 1, 100184, 1),
(17656, 1, 100200, 1),
(17657, 1, 100201, 1),
(17658, 1, 100202, 1),
(17659, 1, 100203, 1),
(17660, 1, 100204, 1),
(17661, 1, 100220, 1),
(17662, 1, 100221, 1),
(17663, 1, 100222, 1),
(17664, 1, 100223, 1),
(17665, 1, 100224, 1),
(17666, 1, 100225, 1),
(17667, 1, 100240, 1),
(17668, 1, 100241, 1),
(17669, 1, 100260, 1),
(17670, 1, 100261, 1),
(17671, 1, 100280, 1),
(17672, 1, 100281, 1),
(17673, 1, 100300, 1),
(17674, 1, 100301, 1),
(17675, 1, 100302, 1),
(17676, 1, 100303, 1),
(17677, 6, 1, 1),
(17678, 6, 2, 1),
(17679, 6, 3, 1),
(17680, 6, 4, 1),
(17681, 6, 5, 1),
(17682, 6, 6, 1),
(17683, 6, 7, 1),
(17684, 6, 8, 1),
(17685, 6, 9, 1),
(17686, 6, 10, 1),
(17687, 6, 11, 1),
(17688, 6, 12, 1),
(17689, 6, 13, 1),
(17690, 6, 14, 1),
(17691, 6, 15, 1),
(17692, 6, 16, 1),
(17693, 6, 17, 1),
(17694, 6, 700, 1),
(17695, 6, 701, 1),
(17696, 6, 702, 1),
(17697, 6, 703, 1),
(17698, 6, 704, 1),
(17699, 6, 705, 1),
(17700, 6, 706, 1),
(17701, 6, 707, 1),
(17702, 6, 708, 1),
(17703, 4, 100001, 1),
(17704, 4, 100002, 1),
(17705, 4, 100003, 1),
(17706, 4, 100004, 1),
(17707, 4, 100005, 1),
(17708, 4, 100010, 1),
(17709, 4, 100011, 1),
(17710, 4, 100012, 1),
(17711, 4, 100013, 1),
(17712, 4, 100014, 1),
(17713, 4, 100020, 1),
(17714, 4, 100021, 1),
(17715, 4, 100022, 1),
(17716, 4, 100023, 1),
(17717, 4, 100024, 1),
(17718, 4, 100025, 1),
(17719, 4, 100026, 1),
(17720, 4, 100027, 1),
(17721, 4, 100028, 1),
(17722, 4, 100029, 1),
(17723, 4, 100030, 1),
(17724, 4, 100031, 1),
(17725, 4, 100032, 1),
(17726, 4, 100033, 1),
(17727, 4, 100034, 1),
(17728, 4, 100035, 1),
(17729, 4, 100040, 1),
(17730, 4, 100041, 1),
(17731, 4, 100042, 1),
(17732, 4, 100043, 1),
(17733, 4, 100044, 1),
(17734, 4, 100045, 1),
(17735, 4, 100050, 1),
(17736, 4, 100051, 1),
(17737, 4, 100052, 1),
(17738, 4, 100053, 1),
(17739, 4, 100054, 1),
(17740, 4, 100055, 1),
(17741, 4, 100060, 1),
(17742, 4, 100061, 1),
(17743, 4, 100062, 1),
(17744, 4, 100063, 1),
(17745, 4, 100070, 1),
(17746, 4, 100071, 1),
(17747, 4, 100072, 1),
(17748, 4, 100073, 1),
(17749, 4, 100080, 1),
(17750, 4, 100081, 1),
(17751, 4, 100082, 1),
(17752, 4, 100083, 1),
(17753, 4, 100084, 1),
(17754, 4, 100085, 1),
(17755, 4, 100086, 1),
(17756, 4, 100090, 1),
(17757, 4, 100091, 1),
(17758, 4, 100092, 1),
(17759, 4, 100093, 1),
(17760, 4, 100100, 1),
(17761, 4, 100101, 1),
(17762, 4, 100102, 1),
(17763, 4, 100103, 1),
(17764, 4, 100104, 1),
(17765, 4, 100105, 1),
(17766, 4, 100106, 1),
(17767, 4, 100107, 1),
(17768, 4, 100120, 1),
(17769, 4, 100121, 1),
(17770, 4, 100122, 1),
(17771, 4, 100123, 1),
(17772, 4, 100124, 1),
(17773, 4, 100125, 1),
(17774, 4, 100126, 1),
(17775, 4, 100127, 1),
(17776, 4, 100140, 1),
(17777, 4, 100141, 1),
(17778, 4, 100142, 1),
(17779, 4, 100143, 1),
(17780, 4, 100160, 1),
(17781, 4, 100161, 1),
(17782, 4, 100162, 1),
(17783, 4, 100163, 1),
(17784, 4, 100164, 1),
(17785, 4, 100165, 1),
(17786, 4, 100166, 1),
(17787, 4, 100167, 1),
(17788, 4, 100180, 1),
(17789, 4, 100181, 1),
(17790, 4, 100182, 1),
(17791, 4, 100183, 1),
(17792, 4, 100184, 1),
(17793, 4, 100200, 1),
(17794, 4, 100201, 1),
(17795, 4, 100202, 1),
(17796, 4, 100203, 1),
(17797, 4, 100204, 1),
(17798, 4, 100220, 1),
(17799, 4, 100221, 1),
(17800, 4, 100222, 1),
(17801, 4, 100223, 1),
(17802, 4, 100224, 1),
(17803, 4, 100225, 1),
(17804, 4, 100240, 1),
(17805, 4, 100241, 1),
(17806, 4, 100260, 1),
(17807, 4, 100261, 1),
(17808, 4, 100280, 1),
(17809, 4, 100281, 1),
(17810, 4, 100300, 1),
(17811, 4, 100301, 1),
(17812, 4, 100302, 1),
(17813, 4, 100303, 1),
(18273, 2, 1, 1),
(18274, 2, 2, 1),
(18275, 2, 3, 1),
(18276, 2, 4, 1),
(18277, 2, 5, 1),
(18278, 2, 6, 1),
(18279, 2, 7, 1),
(18280, 2, 8, 1),
(18281, 2, 9, 1),
(18282, 2, 10, 1),
(18283, 2, 11, 1),
(18284, 2, 12, 1),
(18285, 2, 13, 1),
(18286, 2, 14, 1),
(18287, 2, 15, 1),
(18288, 2, 16, 1),
(18289, 2, 17, 1),
(18290, 2, 25, 1),
(18291, 2, 26, 1),
(18292, 2, 50, 1),
(18293, 2, 51, 1),
(18294, 2, 52, 1),
(18295, 2, 53, 1),
(18296, 2, 54, 1),
(18297, 2, 100, 1),
(18298, 2, 101, 1),
(18299, 2, 102, 1),
(18300, 2, 103, 1),
(18301, 2, 104, 1),
(18302, 2, 105, 1),
(18303, 2, 106, 1),
(18304, 2, 107, 1),
(18305, 2, 108, 1),
(18306, 2, 109, 1),
(18307, 2, 110, 1),
(18308, 2, 111, 1),
(18309, 2, 112, 1),
(18310, 2, 113, 1),
(18311, 2, 114, 1),
(18312, 2, 115, 1),
(18313, 2, 116, 1),
(18314, 2, 117, 1),
(18315, 2, 118, 1),
(18316, 2, 150, 1),
(18317, 2, 151, 1),
(18318, 2, 152, 1),
(18319, 2, 153, 1),
(18320, 2, 154, 1),
(18321, 2, 155, 1),
(18322, 2, 156, 1),
(18323, 2, 157, 1),
(18324, 2, 158, 1),
(18325, 2, 159, 1),
(18326, 2, 160, 1),
(18327, 2, 161, 1),
(18328, 2, 162, 1),
(18329, 2, 163, 1),
(18330, 2, 164, 1),
(18331, 2, 165, 1),
(18332, 2, 166, 1),
(18333, 2, 167, 1),
(18334, 2, 200, 1),
(18335, 2, 201, 1),
(18336, 2, 202, 1),
(18337, 2, 203, 1),
(18338, 2, 204, 1),
(18339, 2, 205, 1),
(18340, 2, 206, 1),
(18341, 2, 207, 1),
(18342, 2, 208, 1),
(18343, 2, 250, 1),
(18344, 2, 251, 1),
(18345, 2, 252, 1),
(18346, 2, 253, 1),
(18347, 2, 254, 1),
(18348, 2, 300, 1),
(18349, 2, 301, 1),
(18350, 2, 302, 1),
(18351, 2, 303, 1),
(18352, 2, 304, 1),
(18353, 2, 350, 1),
(18354, 2, 351, 1),
(18355, 2, 352, 1),
(18356, 2, 353, 1),
(18357, 2, 354, 1),
(18358, 2, 355, 1),
(18359, 2, 356, 1),
(18360, 2, 357, 1),
(18361, 2, 400, 1),
(18362, 2, 401, 1),
(18363, 2, 402, 1),
(18364, 2, 403, 1),
(18365, 2, 404, 1),
(18366, 2, 405, 1),
(18367, 2, 450, 1),
(18368, 2, 451, 1),
(18369, 2, 452, 1),
(18370, 2, 453, 1),
(18371, 2, 454, 1),
(18372, 2, 455, 1),
(18373, 2, 456, 1),
(18374, 2, 457, 1),
(18375, 2, 458, 1),
(18376, 2, 459, 1),
(18377, 2, 460, 1),
(18378, 2, 461, 1),
(18379, 2, 500, 1),
(18380, 2, 501, 1),
(18381, 2, 502, 1),
(18382, 2, 503, 1),
(18383, 2, 504, 1),
(18384, 2, 505, 1),
(18385, 2, 550, 1),
(18386, 2, 551, 1),
(18387, 2, 552, 1),
(18388, 2, 553, 1),
(18389, 2, 554, 1),
(18390, 2, 555, 1),
(18391, 2, 600, 1),
(18392, 2, 601, 1),
(18393, 2, 602, 1),
(18394, 2, 603, 1),
(18395, 2, 650, 1),
(18396, 2, 651, 1),
(18397, 2, 652, 1),
(18398, 2, 653, 1),
(18399, 2, 654, 1),
(18400, 2, 655, 1),
(18401, 2, 656, 1),
(18402, 2, 657, 1),
(18403, 2, 658, 1),
(18404, 2, 700, 1),
(18405, 2, 701, 1),
(18406, 2, 702, 1),
(18407, 2, 703, 1),
(18408, 2, 704, 1),
(18409, 2, 705, 1),
(18410, 2, 706, 1),
(18411, 2, 707, 1),
(18412, 2, 708, 1),
(18413, 2, 750, 1),
(18414, 2, 751, 1),
(18415, 2, 752, 1),
(18416, 2, 753, 1),
(18417, 2, 754, 1),
(18418, 2, 800, 1),
(18419, 2, 801, 1),
(18420, 2, 802, 1),
(18421, 2, 803, 1),
(18422, 2, 850, 1),
(18423, 2, 851, 1),
(18424, 2, 852, 1),
(18425, 2, 853, 1),
(18426, 2, 854, 1),
(18427, 2, 900, 1),
(18428, 2, 901, 1),
(18429, 2, 902, 1),
(18430, 2, 903, 1),
(18431, 2, 904, 1),
(18432, 2, 950, 1),
(18433, 2, 951, 1),
(18434, 2, 952, 1),
(18435, 2, 953, 1),
(18436, 2, 954, 1),
(18437, 2, 955, 1),
(18438, 2, 956, 1),
(18439, 2, 957, 1),
(18440, 2, 958, 1),
(18441, 2, 959, 1),
(18442, 2, 1000, 1),
(18443, 2, 1001, 1),
(18444, 2, 1002, 1),
(18445, 2, 1003, 1),
(18446, 2, 1004, 1),
(18447, 2, 1050, 1),
(18448, 2, 1051, 1),
(18449, 2, 1052, 1),
(18450, 2, 1053, 1),
(18451, 2, 1054, 1),
(18452, 2, 1055, 1),
(18453, 2, 1056, 1),
(18454, 2, 1057, 1),
(18455, 2, 1058, 1),
(18456, 2, 1059, 1),
(18457, 2, 1060, 1),
(18458, 2, 1075, 1),
(18459, 2, 1076, 1),
(18460, 2, 1077, 1),
(18461, 2, 1078, 1),
(18462, 2, 1079, 1),
(18463, 2, 1080, 1),
(18464, 2, 1081, 1),
(18465, 2, 1082, 1),
(18466, 2, 1083, 1),
(18467, 2, 1100, 1),
(18468, 2, 1101, 1),
(18469, 2, 1102, 1),
(18470, 2, 1103, 1),
(18471, 2, 1104, 1),
(18472, 2, 1150, 1),
(18473, 2, 1151, 1),
(18474, 2, 1152, 1),
(18475, 2, 1153, 1),
(18476, 2, 1154, 1),
(18477, 2, 1200, 1),
(18478, 2, 1201, 1),
(18479, 2, 1202, 1),
(18480, 2, 1203, 1),
(18481, 2, 1204, 1),
(18482, 2, 1230, 1),
(18483, 2, 1231, 1),
(18484, 2, 1232, 1),
(18485, 2, 1233, 1),
(18486, 2, 1234, 1),
(18487, 2, 1235, 1),
(18488, 2, 1250, 1),
(18489, 2, 1251, 1),
(18490, 2, 1252, 1),
(18491, 2, 1253, 1),
(18492, 2, 1300, 1),
(18493, 2, 1301, 1),
(18494, 2, 1302, 1),
(18495, 2, 1303, 1),
(18496, 2, 1304, 1),
(18497, 2, 1305, 1),
(18498, 2, 1350, 1),
(18499, 2, 1351, 1),
(18500, 2, 1352, 1),
(18501, 2, 1353, 1),
(18502, 2, 1354, 1),
(18503, 2, 1355, 1),
(18504, 2, 1400, 1),
(18505, 2, 1401, 1),
(18506, 2, 1402, 1),
(18507, 2, 1403, 1),
(18508, 2, 1404, 1),
(18509, 2, 1405, 1),
(18510, 2, 1406, 1),
(18511, 2, 1407, 1),
(18512, 2, 1408, 1),
(18513, 2, 1409, 1),
(18514, 2, 1450, 1),
(18515, 2, 1451, 1),
(18516, 2, 1452, 1),
(18517, 2, 1453, 1),
(18518, 2, 1454, 1),
(18519, 2, 1455, 1),
(18520, 2, 1456, 1),
(18521, 2, 1457, 1),
(18522, 2, 1500, 1),
(18523, 2, 1501, 1),
(18524, 2, 1502, 1),
(18525, 2, 1503, 1),
(18526, 2, 1504, 1),
(18527, 2, 1550, 1),
(18528, 2, 1551, 1),
(18529, 2, 1552, 1),
(18530, 2, 1553, 1),
(18531, 2, 1554, 1),
(18532, 2, 1600, 1),
(18533, 2, 1601, 1),
(18534, 2, 1602, 1),
(18535, 2, 1603, 1),
(18536, 2, 1604, 1),
(18537, 2, 1605, 1),
(18538, 2, 1650, 1),
(18539, 2, 1651, 1),
(18540, 2, 1652, 1),
(18541, 2, 1675, 1),
(18542, 2, 1676, 1),
(18543, 2, 1677, 1),
(18544, 2, 1678, 1),
(18545, 2, 1725, 1),
(18546, 2, 1726, 1),
(18547, 2, 1727, 1),
(18548, 2, 1728, 1),
(18549, 2, 1729, 1),
(18550, 2, 1730, 1),
(18551, 2, 1731, 1),
(18552, 2, 1732, 1),
(18553, 2, 1750, 1),
(18554, 2, 1751, 1),
(18555, 2, 1752, 1),
(18556, 2, 1753, 1),
(18557, 2, 1754, 1),
(18558, 2, 1775, 1),
(18559, 2, 1776, 1),
(18560, 2, 1777, 1),
(18561, 2, 1778, 1),
(18562, 2, 1779, 1),
(18563, 2, 1780, 1),
(18564, 2, 1781, 1),
(18565, 2, 1800, 1),
(18566, 2, 1801, 1),
(18567, 2, 1802, 1),
(18568, 2, 1803, 1),
(18569, 2, 1804, 1),
(18570, 2, 1805, 1),
(18571, 2, 1806, 1),
(18572, 2, 1807, 1),
(18573, 2, 1808, 1),
(18574, 2, 1809, 1),
(18575, 2, 1810, 1),
(18576, 2, 1811, 1),
(18577, 2, 1812, 1),
(18578, 2, 1813, 1),
(18579, 2, 1814, 1),
(18580, 2, 1815, 1),
(18581, 2, 1816, 1),
(18582, 2, 1817, 1),
(18583, 2, 1818, 1),
(18584, 2, 1819, 1),
(18585, 2, 1820, 1),
(18586, 2, 1821, 1),
(18587, 2, 1822, 1),
(18588, 2, 1823, 1),
(18589, 2, 1824, 1),
(18590, 2, 1825, 1),
(18591, 2, 1826, 1),
(18592, 2, 1827, 1),
(18593, 2, 1828, 1),
(18594, 2, 1829, 1),
(18595, 2, 1830, 1),
(18596, 2, 1831, 1),
(18597, 2, 1832, 1),
(18598, 2, 1833, 1),
(18599, 2, 1834, 1),
(18600, 2, 1835, 1),
(18601, 2, 1836, 1),
(18602, 2, 1837, 1),
(18603, 2, 1838, 1),
(18604, 2, 1850, 1),
(18605, 2, 1851, 1),
(18606, 2, 1852, 1),
(18607, 2, 1853, 1),
(18608, 2, 1875, 1),
(18609, 2, 1876, 1),
(18610, 2, 1877, 1),
(18611, 2, 1900, 1),
(18612, 2, 1901, 1),
(18613, 2, 1902, 1),
(18614, 2, 1903, 1),
(18615, 2, 1904, 1),
(18616, 2, 1905, 1),
(18617, 2, 1925, 1),
(18618, 2, 1926, 1),
(18619, 2, 1927, 1),
(18620, 2, 1928, 1),
(18621, 2, 1929, 1),
(18622, 2, 1930, 1),
(18623, 2, 1931, 1),
(18624, 2, 1932, 1),
(18625, 2, 1933, 1),
(18626, 2, 1934, 1),
(18627, 2, 1950, 1),
(18628, 2, 1951, 1),
(18629, 2, 1952, 1),
(18630, 2, 1953, 1),
(18631, 2, 1954, 1),
(18632, 2, 1975, 1),
(18633, 2, 1976, 1),
(18634, 2, 1977, 1),
(18635, 2, 1978, 1),
(18636, 2, 1979, 1),
(18637, 2, 2000, 1),
(18638, 2, 2001, 1),
(18639, 2, 2015, 1),
(18640, 2, 2016, 1),
(18641, 2, 2017, 1),
(18642, 2, 2018, 1),
(18643, 2, 2019, 1),
(18644, 2, 2020, 1),
(18645, 2, 2021, 1),
(18646, 2, 2030, 1),
(18647, 2, 2031, 1),
(18648, 2, 2032, 1),
(18649, 2, 2050, 1),
(18650, 2, 2051, 1),
(18651, 2, 2052, 1),
(18652, 2, 2053, 1),
(18653, 2, 2054, 1),
(18654, 2, 2055, 1),
(18655, 2, 2070, 1),
(18656, 2, 2071, 1),
(18657, 2, 2072, 1),
(18658, 2, 2073, 1),
(18659, 2, 2074, 1),
(18660, 2, 2075, 1),
(18661, 2, 2076, 1),
(18662, 2, 2077, 1),
(18663, 2, 2078, 1),
(18664, 2, 2079, 1),
(18665, 2, 2080, 1),
(18666, 2, 2081, 1),
(18667, 2, 2090, 1),
(18668, 2, 2091, 1),
(18669, 2, 2092, 1),
(18670, 2, 2093, 1),
(18671, 2, 3000, 1),
(18672, 2, 3001, 1),
(18673, 2, 3010, 1),
(18674, 2, 3011, 1),
(18675, 2, 3012, 1),
(18676, 2, 3013, 1),
(18677, 2, 3020, 1),
(18678, 2, 3021, 1),
(18679, 2, 3022, 1),
(18680, 2, 3023, 1),
(18681, 2, 3024, 1),
(18682, 2, 3025, 1),
(18683, 2, 3030, 1),
(18684, 2, 3031, 1),
(18685, 2, 3032, 1),
(18686, 2, 3033, 1),
(18687, 2, 3034, 1),
(18688, 2, 3035, 1),
(18689, 2, 3040, 1),
(18690, 2, 3041, 1),
(18691, 2, 3042, 1),
(18692, 2, 3043, 1),
(18693, 2, 3044, 1),
(18694, 2, 3045, 1),
(18695, 2, 3046, 1),
(18696, 2, 3050, 1),
(18697, 2, 3051, 1),
(18698, 2, 3052, 1),
(18699, 2, 3053, 1),
(18700, 2, 3054, 1),
(18701, 2, 3055, 1),
(18702, 2, 3056, 1),
(18703, 2, 3060, 1),
(18704, 2, 3061, 1),
(18705, 2, 3062, 1),
(18706, 2, 3063, 1),
(18707, 2, 3064, 1),
(18708, 2, 3070, 1),
(18709, 2, 3071, 1),
(18710, 2, 3072, 1),
(18711, 2, 3080, 1),
(18712, 2, 3081, 1),
(18713, 2, 3082, 1),
(18714, 2, 3083, 1),
(18715, 2, 3084, 1),
(18716, 2, 3090, 1),
(18717, 2, 3091, 1),
(18718, 2, 3092, 1),
(18719, 2, 3093, 1),
(18720, 2, 3100, 1),
(18721, 2, 3101, 1),
(18722, 2, 3102, 1),
(18723, 2, 3103, 1),
(18724, 2, 3104, 1),
(18725, 2, 3110, 1),
(18726, 2, 3111, 1),
(18727, 2, 3120, 1),
(18728, 2, 3121, 1),
(18729, 2, 3122, 1),
(18730, 2, 3123, 1),
(18731, 2, 3130, 1),
(18732, 2, 3131, 1);

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

--
-- Table structure for table `prerequisites`
--

CREATE TABLE `prerequisites` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `prerequisite_id` int UNSIGNED NOT NULL,
  `required` tinyint(1) NOT NULL DEFAULT '0',
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `type` enum('virtual','physical') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `category_id` int UNSIGNED DEFAULT NULL,
  `price` double(15,2) UNSIGNED DEFAULT NULL,
  `point` bigint UNSIGNED DEFAULT NULL,
  `unlimited_inventory` tinyint(1) NOT NULL DEFAULT '0',
  `ordering` tinyint(1) NOT NULL DEFAULT '0',
  `inventory` int UNSIGNED DEFAULT NULL,
  `inventory_warning` int UNSIGNED DEFAULT NULL,
  `inventory_updated_at` bigint UNSIGNED DEFAULT NULL,
  `delivery_fee` double(15,2) UNSIGNED DEFAULT NULL,
  `delivery_estimated_time` int UNSIGNED DEFAULT NULL,
  `message_for_reviewer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `tax` int UNSIGNED DEFAULT NULL,
  `commission_type` enum('percent','fixed_amount') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `commission` int UNSIGNED DEFAULT NULL,
  `status` enum('active','pending','draft','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_at` bigint UNSIGNED NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `products`
--

INSERT INTO `products` (`id`, `creator_id`, `type`, `slug`, `category_id`, `price`, `point`, `unlimited_inventory`, `ordering`, `inventory`, `inventory_warning`, `inventory_updated_at`, `delivery_fee`, `delivery_estimated_time`, `message_for_reviewer`, `tax`, `commission_type`, `commission`, `status`, `updated_at`, `created_at`) VALUES
(1, 1015, 'physical', 'Painting-tools', 1, 25.00, NULL, 0, 1, 28, 5, NULL, 5.00, 4, 'Thank you.', NULL, 'percent', NULL, 'active', 1656136002, 1655622663),
(2, 934, 'physical', 'Advanced-microscope', 1, 290.00, NULL, 0, 1, 11, 3, NULL, 10.00, 7, 'Please review ASAP.\r\nRegards.', NULL, 'percent', NULL, 'active', 1656135835, 1655626642),
(4, 1016, 'virtual', 'Sherlock-Holmes-e-book', 3, 5.00, NULL, 1, 1, NULL, NULL, 1655670958, NULL, NULL, 'Thank you for your review.', NULL, 'percent', NULL, 'active', 1655670958, 1655669205),
(5, 1015, 'virtual', 'Business-Software', 3, 75.00, NULL, 0, 1, 100, 10, NULL, NULL, NULL, 'Thank you.', NULL, 'percent', NULL, 'active', 1656130921, 1655671880),
(6, 1, 'virtual', 'Where-the-Crawdads-Sing-e-book', 3, 20.00, NULL, 1, 1, 0, NULL, NULL, NULL, NULL, NULL, NULL, 'percent', NULL, 'active', 1656322425, 1656321480);

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

--
-- Table structure for table `product_badges`
--

CREATE TABLE `product_badges` (
  `id` int UNSIGNED NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `background` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `start_at` bigint UNSIGNED DEFAULT NULL,
  `end_at` bigint UNSIGNED DEFAULT NULL,
  `enable` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `product_badges`
--

INSERT INTO `product_badges` (`id`, `icon`, `color`, `background`, `start_at`, `end_at`, `enable`, `created_at`) VALUES
(1, NULL, '#ffffff', '#1c1c1c', 1709316000, 1806451200, 1, 1709533982);

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

--
-- Table structure for table `product_badge_contents`
--

CREATE TABLE `product_badge_contents` (
  `id` int UNSIGNED NOT NULL,
  `product_badge_id` int UNSIGNED NOT NULL,
  `targetable_id` int UNSIGNED NOT NULL,
  `targetable_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `product_badge_contents`
--

INSERT INTO `product_badge_contents` (`id`, `product_badge_id`, `targetable_id`, `targetable_type`) VALUES
(2, 1, 1, 'App\\Models\\Bundle'),
(4, 1, 2010, 'App\\Models\\Webinar');

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

--
-- Table structure for table `product_badge_translations`
--

CREATE TABLE `product_badge_translations` (
  `id` int UNSIGNED NOT NULL,
  `product_badge_id` int UNSIGNED NOT NULL,
  `locale` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `product_badge_translations`
--

INSERT INTO `product_badge_translations` (`id`, `product_badge_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Bestseller'),
(2, 1, 'ar', 'جديد'),
(3, 1, 'es', 'Nueva');

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

--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` int UNSIGNED NOT NULL,
  `parent_id` int DEFAULT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `order` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_categories`
--

INSERT INTO `product_categories` (`id`, `parent_id`, `icon`, `order`) VALUES
(1, NULL, '/store/1/default_images/categories_icons/feather.png', NULL),
(2, NULL, '/store/1/default_images/categories_icons/pie-chart.png', NULL),
(3, NULL, '/store/1/default_images/categories_icons/umbrella.png', NULL);

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

--
-- Table structure for table `product_category_translations`
--

CREATE TABLE `product_category_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_category_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_category_translations`
--

INSERT INTO `product_category_translations` (`id`, `product_category_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Design Tools'),
(2, 2, 'en', 'Science Tools'),
(3, 3, 'en', 'e-book');

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

--
-- Table structure for table `product_discounts`
--

CREATE TABLE `product_discounts` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percent` int UNSIGNED NOT NULL,
  `count` int UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` int UNSIGNED NOT NULL,
  `end_date` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_discounts`
--

INSERT INTO `product_discounts` (`id`, `creator_id`, `product_id`, `name`, `percent`, `count`, `status`, `start_date`, `end_date`, `created_at`) VALUES
(1, 1, 1, 'Special Offer', 20, 5, 'active', 1656043200, 1702659600, 1656131175);

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

--
-- Table structure for table `product_faqs`
--

CREATE TABLE `product_faqs` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_faq_translations`
--

CREATE TABLE `product_faq_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_faq_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `answer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_files`
--

CREATE TABLE `product_files` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `volume` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `online_viewer` tinyint(1) NOT NULL DEFAULT '0',
  `order` int UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_files`
--

INSERT INTO `product_files` (`id`, `creator_id`, `product_id`, `path`, `file_type`, `volume`, `online_viewer`, `order`, `status`, `created_at`) VALUES
(2, 1016, 4, '/store/1016/store_product/sherlock_holmes_ebook.pdf', 'pdf', '1', 0, NULL, 'active', 1655670253),
(3, 1015, 5, '/store/1015/business_software.zip', 'archive', '5', 0, NULL, 'active', 1655672771),
(4, 1015, 5, '/store/1015/Documentation.pdf', 'pdf', '2', 0, NULL, 'active', 1655672886),
(5, 1, 6, '/store/1/Where-the-Crawdads-Sing.pdf', 'pdf', '3', 1, NULL, 'active', 1656322274);

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

--
-- Table structure for table `product_file_translations`
--

CREATE TABLE `product_file_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_file_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_file_translations`
--

INSERT INTO `product_file_translations` (`id`, `product_file_id`, `locale`, `title`, `description`) VALUES
(2, 2, 'en', 'Sherlock Holmes eBook', 'Sherlock Holmes is a fictional detective created by British author Sir Arthur Conan Doyle. Referring to himself as a \"consulting detective\" in the stories, Holmes is known for his proficiency with observation, deduction, forensic science and logical reasoning that borders on the fantastic, which he employs when investigating cases for a wide variety of clients, including Scotland Yard.'),
(3, 3, 'en', 'Setup file', 'Business software is any software or set of computer programs used by business users to perform various business functions. These business applications are used to increase productivity, measure productivity, and perform other business functions accurately.'),
(4, 4, 'en', 'Documentation', 'Documentation for business software.'),
(5, 5, 'en', 'Where the Crawdads Sing e-book', 'Where the Crawdads Sing is at once an exquisite ode to the natural world, a heartbreaking coming-of-age story, and a surprising tale of possible murder. Owens reminds us that we are forever shaped by the children we once were, and that we are all subject to the beautiful and violent secrets that nature keeps.');

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

--
-- Table structure for table `product_filters`
--

CREATE TABLE `product_filters` (
  `id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_filters`
--

INSERT INTO `product_filters` (`id`, `category_id`) VALUES
(1, 1),
(2, 3);

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

--
-- Table structure for table `product_filter_options`
--

CREATE TABLE `product_filter_options` (
  `id` int UNSIGNED NOT NULL,
  `filter_id` int UNSIGNED NOT NULL,
  `order` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_filter_options`
--

INSERT INTO `product_filter_options` (`id`, `filter_id`, `order`) VALUES
(1, 1, 1),
(2, 2, 1),
(3, 2, 2),
(4, 2, 3);

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

--
-- Table structure for table `product_filter_option_translations`
--

CREATE TABLE `product_filter_option_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_filter_option_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_filter_option_translations`
--

INSERT INTO `product_filter_option_translations` (`id`, `product_filter_option_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Brushes'),
(2, 2, 'en', 'Novel'),
(3, 3, 'en', 'Laguage learning'),
(4, 4, 'en', 'Scientific');

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

--
-- Table structure for table `product_filter_translations`
--

CREATE TABLE `product_filter_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_filter_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_filter_translations`
--

INSERT INTO `product_filter_translations` (`id`, `product_filter_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Paint Tools'),
(2, 2, 'en', 'Type');

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

--
-- Table structure for table `product_media`
--

CREATE TABLE `product_media` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `type` enum('thumbnail','image','video') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_media`
--

INSERT INTO `product_media` (`id`, `creator_id`, `product_id`, `type`, `path`, `order`, `created_at`) VALUES
(1, 1015, 1, 'thumbnail', '/store/1015/store product/paint_brushes.jpg', NULL, 1656136002),
(4, 1015, 1, 'video', '/store/1015/store product/paint_brushes_video.mp4', NULL, 1656136002),
(7, 934, 2, 'thumbnail', '/store/934/store_product/microscope_4.jpg', NULL, 1656135835),
(20, 934, 2, 'video', '/store/934/store_product/microscope_video.mp4', NULL, 1656135835),
(31, 1016, 4, 'thumbnail', '/store/1016/store_product/sherlock_holmes_ebook.jpg', NULL, 1655670958),
(33, 1016, 4, 'image', '/store/1016/store_product/sherlock_holmes_ebook_1.jpg', NULL, 1655670958),
(34, 1015, 5, 'thumbnail', '/store/1015/store product/business_software_1.jpg', NULL, 1656130921),
(39, 1015, 5, 'image', '/store/1015/store product/business_software_2.jpg', NULL, 1656130921),
(40, 1015, 5, 'image', '/store/1015/store product/business_software.jpg', NULL, 1656130921),
(62, 934, 2, 'image', '/store/934/store_product/microscope_1.jpg', NULL, 1656135835),
(63, 934, 2, 'image', '/store/934/store_product/microscope_2.jpg', NULL, 1656135835),
(64, 934, 2, 'image', '/store/934/store_product/microscope.jpg', NULL, 1656135835),
(74, 1015, 1, 'image', '/store/1015/store product/paint_brushes_1.jpg', NULL, 1656136002),
(75, 1015, 1, 'image', '/store/1015/store product/paint_brushes_2.jpg', NULL, 1656136002),
(76, 1015, 1, 'image', '/store/1015/store product/paint_brushes_3.jpg', NULL, 1656136002),
(77, 1, 6, 'thumbnail', '/store/1/default_images/Where the Crawdads Sing e-book.jpg', NULL, 1656322425),
(78, 1, 6, 'image', '/store/1/default_images/Where the Crawdads Sing e-book_1.jpg', NULL, 1656322425),
(79, 1, 6, 'image', '/store/1/default_images/Where the Crawdads Sing e-book_2.jpg', NULL, 1656322425);

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

--
-- Table structure for table `product_orders`
--

CREATE TABLE `product_orders` (
  `id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `seller_id` int UNSIGNED NOT NULL,
  `buyer_id` int UNSIGNED DEFAULT NULL,
  `sale_id` int UNSIGNED DEFAULT NULL,
  `installment_order_id` int UNSIGNED DEFAULT NULL,
  `gift_id` int UNSIGNED DEFAULT NULL,
  `specifications` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `quantity` int UNSIGNED NOT NULL,
  `discount_id` int UNSIGNED DEFAULT NULL,
  `message_to_seller` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `tracking_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('pending','waiting_delivery','shipped','success','canceled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_orders`
--

INSERT INTO `product_orders` (`id`, `product_id`, `seller_id`, `buyer_id`, `sale_id`, `installment_order_id`, `gift_id`, `specifications`, `quantity`, `discount_id`, `message_to_seller`, `tracking_code`, `status`, `created_at`) VALUES
(1, 4, 1016, 995, 193, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'success', 1656103830),
(2, 1, 1015, 923, 194, NULL, NULL, '{\"Size\":\"Small\"}', 1, NULL, 'Please deliver faster.\r\nRegards.', NULL, 'waiting_delivery', 1656104034),
(3, 2, 934, 930, 196, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'waiting_delivery', 1656130623),
(4, 5, 1015, 996, 197, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'success', 1656130950),
(5, 1, 1015, 1017, 200, NULL, NULL, '{\"Size\":\"Medium\"}', 1, 1, NULL, '43956044000324128', 'success', 1656148501),
(6, 1, 1015, 995, 201, NULL, NULL, '{\"Size\":\"Small\"}', 2, 1, 'Please deliver fast.\r\nRegards.', '596324000328246', 'shipped', 1656148667),
(7, 6, 1, 995, 202, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'success', 1656322618),
(42, 2, 934, 1046, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'pending', 1709199800);

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

--
-- Table structure for table `product_reviews`
--

CREATE TABLE `product_reviews` (
  `id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_quality` int UNSIGNED NOT NULL,
  `purchase_worth` int UNSIGNED NOT NULL,
  `delivery_quality` int UNSIGNED NOT NULL,
  `seller_quality` int UNSIGNED NOT NULL,
  `rates` char(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` int UNSIGNED NOT NULL,
  `status` enum('pending','active') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_reviews`
--

INSERT INTO `product_reviews` (`id`, `product_id`, `creator_id`, `product_quality`, `purchase_worth`, `delivery_quality`, `seller_quality`, `rates`, `description`, `created_at`, `status`) VALUES
(1, 4, 995, 5, 5, 5, 5, '5', 'It was a perfect book.\r\nThank you.', 1656103893, 'active'),
(2, 1, 923, 4, 4, 4, 5, '4.25', 'The brushes were soft.\r\nI like them.\r\nThank you', 1656104234, 'active'),
(3, 2, 930, 5, 5, 5, 5, '5', 'I am pleasantly surprised for the wholesomeness and great quality of this microscope. Images are sharp and clean. I am happy I got it. It is fun and unpretentious, unlike my lab microscopes.', 1656130849, 'active'),
(4, 5, 996, 2, 3, 3, 2, '2.5', 'I don\'t like anything about this product.', 1656131043, 'active'),
(5, 6, 995, 5, 5, 5, 5, '5', 'Wow! I just finished reading Where the Crawdads Sing. And I will say it again, Wow! This books is so filled with emotion. Kya, the main character, is trying to survive by herself from a young age. She has been abandoned by those who should teach her, guide her, protect her. She has to fend for herself. Two men come into her life and teach her about the good and bad in life.\r\nI only keep few book\'s that I know I will read again. This is staying in my library.', 1656322965, 'active');

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

--
-- Table structure for table `product_selected_filter_options`
--

CREATE TABLE `product_selected_filter_options` (
  `id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `filter_option_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_selected_filter_options`
--

INSERT INTO `product_selected_filter_options` (`id`, `product_id`, `filter_option_id`) VALUES
(9, 4, 2),
(13, 2, 1),
(15, 1, 1),
(16, 6, 2);

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

--
-- Table structure for table `product_selected_specifications`
--

CREATE TABLE `product_selected_specifications` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `product_specification_id` int UNSIGNED NOT NULL,
  `type` enum('textarea','multi_value') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `allow_selection` tinyint(1) NOT NULL DEFAULT '0',
  `order` int UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_selected_specifications`
--

INSERT INTO `product_selected_specifications` (`id`, `creator_id`, `product_id`, `product_specification_id`, `type`, `allow_selection`, `order`, `status`, `created_at`) VALUES
(1, 1015, 1, 1, 'multi_value', 1, NULL, 'active', 1655623901),
(2, 1015, 1, 2, 'multi_value', 0, NULL, 'active', 1655623917),
(3, 1015, 1, 3, 'multi_value', 0, NULL, 'active', 1655623943),
(4, 934, 2, 4, 'textarea', 0, NULL, 'active', 1655626896),
(5, 1016, 4, 5, 'multi_value', 0, NULL, 'active', 1655670877),
(6, 1, 6, 5, 'multi_value', 0, NULL, 'active', 1656322503),
(7, 1, 6, 4, 'textarea', 0, NULL, 'active', 1656322546);

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

--
-- Table structure for table `product_selected_specification_multi_values`
--

CREATE TABLE `product_selected_specification_multi_values` (
  `id` int UNSIGNED NOT NULL,
  `selected_specification_id` int UNSIGNED NOT NULL,
  `specification_multi_value_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_selected_specification_multi_values`
--

INSERT INTO `product_selected_specification_multi_values` (`id`, `selected_specification_id`, `specification_multi_value_id`) VALUES
(2, 1, 1),
(3, 1, 2),
(4, 1, 3),
(5, 2, 4),
(6, 3, 6),
(7, 3, 7),
(8, 3, 8),
(9, 5, 11),
(10, 6, 11);

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

--
-- Table structure for table `product_selected_specification_translations`
--

CREATE TABLE `product_selected_specification_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_selected_specification_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_selected_specification_translations`
--

INSERT INTO `product_selected_specification_translations` (`id`, `product_selected_specification_id`, `locale`, `value`) VALUES
(1, 4, 'en', 'Model: M82EZ\r\nTotal magnification: 40X-100X-250X-400X-1000X-2500X\r\nEyepieces: widefield WF10X and WF25X\r\nObjectives: achromatic DIN 4X, 10X, 40X(S), 100X(S, Oil)\r\nViewing head: 45° Inclined 360° swiveling binocular\r\nSliding adjustable interpupillary distance: 2-3/16\" ~ 2-15/16\"(55~75mm)\r\nOcular diopter adjustable on both eyetubes\r\nNosepiece: revolving quadruple\r\nStage: mechanical double layer size: 4-1/2\"x 4-15/16\" (115mm x 125mm)\r\nCondenser and diaphragm: NA1.25 Abbe condenser with iris diaphragm\r\nTransmitted (lower) illuminator: LED light, intensity adjustable\r\nFocus adjustment: Coaxial coarse and fine knobs on both sides\r\nAll metal mechanical components\r\nPower supply: AC/DC adapter, 100V-240V (UL approved)\r\nDimension: 9-1/16\" x 7-1/8\" x 13\" (23cm x 18cm x 33cm)\r\nNet weight: 7lbs 2 oz (3.25 kg)\r\nPackage weight: 4kg'),
(2, 7, 'en', 'Publisher ‏ : ‎ Penguin Publishing Group (March 30, 2021)\r\nLanguage ‏ : ‎ English\r\nPaperback ‏ : ‎ 400 pages\r\nISBN-10 ‏ : ‎ 0735219109\r\nISBN-13 ‏ : ‎ 978-0735219106\r\nItem Weight ‏ : ‎ 11.2 ounces\r\nDimensions ‏ : ‎ 5.5 x 0.79 x 8.22 inches');

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

--
-- Table structure for table `product_specifications`
--

CREATE TABLE `product_specifications` (
  `id` int UNSIGNED NOT NULL,
  `input_type` enum('textarea','multi_value') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_specifications`
--

INSERT INTO `product_specifications` (`id`, `input_type`) VALUES
(1, 'multi_value'),
(2, 'multi_value'),
(3, 'multi_value'),
(4, 'textarea'),
(5, 'multi_value');

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

--
-- Table structure for table `product_specification_categories`
--

CREATE TABLE `product_specification_categories` (
  `id` int UNSIGNED NOT NULL,
  `specification_id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_specification_categories`
--

INSERT INTO `product_specification_categories` (`id`, `specification_id`, `category_id`) VALUES
(1, 1, 1),
(2, 2, 1),
(3, 3, 1),
(5, 5, 3),
(6, 4, 1),
(7, 4, 3);

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

--
-- Table structure for table `product_specification_multi_values`
--

CREATE TABLE `product_specification_multi_values` (
  `id` int UNSIGNED NOT NULL,
  `specification_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_specification_multi_values`
--

INSERT INTO `product_specification_multi_values` (`id`, `specification_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 2),
(5, 2),
(6, 3),
(7, 3),
(8, 3),
(9, 3),
(10, 3),
(11, 5),
(12, 5),
(13, 5),
(14, 5);

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

--
-- Table structure for table `product_specification_multi_value_translations`
--

CREATE TABLE `product_specification_multi_value_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_specification_multi_value_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_specification_multi_value_translations`
--

INSERT INTO `product_specification_multi_value_translations` (`id`, `product_specification_multi_value_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Small'),
(2, 2, 'en', 'Medium'),
(3, 3, 'en', 'Large'),
(4, 4, 'en', 'Basic'),
(5, 5, 'en', 'Advanced'),
(6, 6, 'en', '3-5'),
(7, 7, 'en', '5-8'),
(8, 8, 'en', '8-13'),
(9, 9, 'en', '13-18'),
(10, 10, 'en', '+18'),
(11, 11, 'en', 'Novel'),
(12, 12, 'en', 'Language learning'),
(13, 13, 'en', 'Scientific'),
(14, 14, 'en', 'literature');

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

--
-- Table structure for table `product_specification_translations`
--

CREATE TABLE `product_specification_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_specification_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_specification_translations`
--

INSERT INTO `product_specification_translations` (`id`, `product_specification_id`, `locale`, `title`) VALUES
(1, 1, 'en', 'Size'),
(2, 2, 'en', 'Skill Level'),
(3, 3, 'en', 'Age Range'),
(4, 4, 'en', 'Main Features'),
(5, 5, 'en', 'E-book type');

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

--
-- Table structure for table `product_translations`
--

CREATE TABLE `product_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seo_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `summary` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_translations`
--

INSERT INTO `product_translations` (`id`, `product_id`, `locale`, `title`, `seo_description`, `summary`, `description`) VALUES
(1, 1, 'en', 'Painting tools', 'Here are some of Manfredini\'s favorite must-have paint products for a flawless finish and a handful of appealing painter accessories that you can skip altogether', 'When it comes to painting supplies, if it sounds too good to be true, then it usually is. There\'s really no substitute for quality painting tools, adequate preparation, and careful work. \"One of the easiest things to remember about paint tools is that you get what you pay for,\" says Lou Manfredini, home expert for Ace Hardware. \"The biggest mistake I see homeowners make is that they buy cheap tools that don\'t give them good results, or they buy cheap paint—then they end up with a poor finished product.\"', '<p>Here are some of Manfredini\'s favorite must-have paint products for a flawless finish and a handful of appealing painter accessories that you can skip altogether. Keep in mind that you may not need some of these products if your walls are in good shape and don\'t need a lot of repairs. (Just make sure you purchase some highly-rated paint first because a quality tool won\'t work miracles on low-quality paint).</p><p><br></p><h3 style=\"color: rgba(0, 0, 0, 0.95); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 24px; line-height: 32px; font-family: Sophia, \"Helvetica Neue\", sans-serif; letter-spacing: 0.5px; margin-top: 32px; margin-bottom: 16px;\">Paint Key</h3><div class=\"paragraph\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><p style=\"font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 18px; line-height: 28px; letter-spacing: 0px; margin-bottom: 16px; max-width: 712px; overflow-wrap: anywhere;\">You don\'t need a special tool to open your paint cans; a standard flat-head screwdriver works just fine.</p></div><h3 style=\"color: rgba(0, 0, 0, 0.95); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 24px; line-height: 32px; font-family: Sophia, \"Helvetica Neue\", sans-serif; letter-spacing: 0.5px; margin-top: 32px; margin-bottom: 16px;\">Plastic Tube for Paint Roller</h3><div class=\"paragraph\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><p style=\"font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 18px; line-height: 28px; letter-spacing: 0px; margin-bottom: 16px; max-width: 712px; overflow-wrap: anywhere;\">If you\'re done painting for the day but want to pick it back up tomorrow, cover the roller in plastic wrap, then throw it into a plastic bag with an air-tight seal.</p></div><h3 style=\"color: rgba(0, 0, 0, 0.95); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 24px; line-height: 32px; font-family: Sophia, \"Helvetica Neue\", sans-serif; letter-spacing: 0.5px; margin-top: 32px; margin-bottom: 16px;\">Paint Tray Liners</h3><div class=\"paragraph\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><p style=\"font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 18px; line-height: 28px; letter-spacing: 0px; margin-bottom: 16px; max-width: 712px; overflow-wrap: anywhere;\">These aren\'t necessary if you get a quality hard plastic paint tray. Plus, it\'s less wasteful if you don\'t throw away a plastic liner each time you paint.</p></div><div class=\"div-sm-inContent\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><div id=\"div-gpt-native\" class=\"tablet-ad desktop-ad ads-in-content\" data-tier=\"1\" data-google-query-id=\"CL7-utP6uPgCFWLFuwgdOBYNvQ\"><div id=\"google_ads_iframe_3865/ddm.realsimple.com/ntv1_0__container__\" style=\"border: 0pt none;\"></div></div></div><h3 style=\"color: rgba(0, 0, 0, 0.95); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 24px; line-height: 32px; font-family: Sophia, \"Helvetica Neue\", sans-serif; letter-spacing: 0.5px; margin-top: 32px; margin-bottom: 16px;\">Paint Pads</h3><div class=\"paragraph\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><p style=\"font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 18px; line-height: 28px; letter-spacing: 0px; margin-bottom: 16px; max-width: 712px; overflow-wrap: anywhere;\">Skip these, unless you\'re using them to paint behind hard-to-reach areas like a toilet tank or radiator.</p></div><h3 style=\"color: rgba(0, 0, 0, 0.95); font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 24px; line-height: 32px; font-family: Sophia, \"Helvetica Neue\", sans-serif; letter-spacing: 0.5px; margin-top: 32px; margin-bottom: 16px;\">Fillable Paint Products</h3><div class=\"paragraph\" style=\"color: rgba(0, 0, 0, 0.95); font-family: Lora, serif; font-size: medium;\"><p style=\"font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 18px; line-height: 28px; letter-spacing: 0px; margin-bottom: 16px; max-width: 712px; overflow-wrap: anywhere;\">\"Any gadget that sucks paint up into its handle is a nightmare to use and to clean. In the time it takes to refill it, you could already be painting,\" says Manfredini. The exception here is the touch-up tool that Manfredini recommended specifically.</p></div>'),
(2, 2, 'en', 'Advanced microscope', 'A microscope is a laboratory instrument used to examine objects that are too small to be seen by the naked eye.', 'There are many types of microscopes, and they may be grouped in different ways. One way is to describe the method an instrument uses to interact with a sample and produce images, either by sending a beam of light or electrons through a sample in its optical path, by detecting photon emissions from a sample, or by scanning across and a short distance from the surface of a sample using a probe.', '<p>This OMAX binocular biological compound microscope offers six magnifications between 40X and 2500X.  The lab microscope comes with a 45 inclined 360 swiveling binocular sliding viewing head, two pairs of widefield eyepieces with an adjustable diopter on oculars, four achromatic objectives, stain-resistant double layer mechanical stage with scales, coarse and fine focusing on both sides, NA 1.25 Abbe condenser with iris diaphragm and variable intensity LED transmitted illumination system.  This type of microscope is perfect for home school, teaching, demonstration, clinical examination, laboratories, and advanced applications. It is easy to mount an electronic eyepiece (digital microscope camera) for capturing images and live video on a computer.  It can also be added a darkfield condenser to switch a brightfield microscope to a darkfield microscope.</p><p><br></p>'),
(4, 4, 'en', 'Sherlock Holmes e-book', 'Sherlock Holmes is a fictional detective created by British author Sir Arthur Conan Doyle.', 'Sherlock Holmes is a fictional detective created by British author Sir Arthur Conan Doyle. Referring to himself as a \"consulting detective\" in the stories, Holmes is known for his proficiency with observation, deduction, forensic science and logical reasoning that borders on the fantastic, which he employs when investigating cases for a wide variety of clients, including Scotland Yard.', '<p><font color=\"#202122\" face=\"sans-serif\"><span style=\"font-size: 14px;\">Though not the first fictional detective, Sherlock Holmes is arguably the best known.[1] By the 1990s there were already over 25,000 stage adaptations, films, television productions and publications featuring the detective,[2] and Guinness World Records lists him as the most portrayed literary human character in film and television history.[3] Holmes\'s popularity and fame are such that many have believed him to be not a fictional character but a real individual;[4][5][6] numerous literary and fan societies have been founded on this pretence. Avid readers of the Holmes stories helped create the modern practice of fandom.[7] The character and stories have had a profound and lasting effect on mystery writing and popular culture as a whole, with the original tales as well as thousands written by authors other than Conan Doyle being adapted into stage and radio plays, television, films, video games, and other media for over one hundred years.</span></font><br></p>'),
(5, 5, 'en', 'Business Software', 'Business software is any software or set of computer programs used by business users to perform various business functions.', 'Business software is any software or set of computer programs used by business users to perform various business functions.', '<p>Business software (or a business application) is any software or set of computer programs used by business users to perform various business functions. These business applications are used to increase productivity, measure productivity, and perform other business functions accurately.</p><p>Much business software is developed to meet the needs of a specific business, and therefore is not easily transferable to a different business environment, unless its nature and operation are identical. Due to the unique requirements of each business, off-the-shelf software is unlikely to completely address a company\'s needs. However, where an on-the-shelf solution is necessary, due to time or monetary considerations, some level of customization is likely to be required. Exceptions do exist, depending on the business in question, and thorough research is always required before committing to bespoke or off-the-shelf solutions.</p><p><br></p><p>Some business applications are interactive, i.e., they have a graphical user interface or user interface and users can query/modify/input data and view results instantaneously. They can also run reports instantaneously. Some business applications run in batch mode: they are set up to run based on a predetermined event/time and a business user does not need to initiate them or monitor them.</p><p><br></p><p>Some business applications are built in-house and some are bought from vendors (off-the-shelf software products). These business applications are installed on either desktops or big servers. Prior to the introduction of COBOL (a universal compiler) in 1965, businesses developed their own unique machine language. RCA\'s language consisted of a 12-position instruction. For example, to read a record into memory, the first two digits would be the instruction (action) code. The next four positions of the instruction (an \'A\' address) would be the exact leftmost memory location where you want the readable character to be placed. Four positions (a \'B\' address) of the instruction would note the very rightmost memory location where you want the last character of the record to be located. A two-digit \'B\' address also allows a modification of any instruction. Instruction codes and memory designations excluded the use of 8\'s or 9\'s. The first RCA business application was implemented in 1962 on a 4k RCA 301. The RCA 301, mid-frame 501, and large frame 601 began their marketing in early 1960.</p><p><br></p><p>Many kinds of users are found within the business environment, and can be categorized by using a small, medium, and large matrix:</p><p><br></p><p>The small business market generally consists of home accounting software, and office suites such as LibreOffice, Microsoft Office or Google Workspace (formerly G Suite and Google Apps for Work).</p><p>The medium size, or small and medium-sized enterprise (SME), has a broader range of software applications, ranging from accounting, groupware, customer relationship management, human resource management systems, outsourcing relationship management, loan origination software, shopping cart software, field service software, and other productivity-enhancing applications.</p><p>The last segment covers enterprise level software applications, such as those in the fields of enterprise resource planning, enterprise content management (ECM), business process management (BPM) and product lifecycle management. These applications are extensive in scope and often come with modules that either add native functions or incorporate the functionality of third-party computer programs.</p><p>Technologies that previously only existed in peer-to-peer software applications, like Kazaa and Napster, are starting to appear within business applications.</p>'),
(6, 6, 'en', 'Where the Crawdads Sing e-book', 'The #1 New York Times bestselling worldwide sensation with more than 12 million copies sold', 'SOON TO BE A MAJOR MOTION PICTURE—The #1 New York Times bestselling worldwide sensation with more than 12 million copies sold, hailed by The New York Times Book Review as “a painfully beautiful first novel that is at once a murder mystery, a coming-of-age narrative and a celebration of nature.”\r\n\r\nFor years, rumors of the “Marsh Girl” have haunted Barkley Cove, a quiet town on the North Carolina coast. So in late 1969, when handsome Chase Andrews is found dead, the locals immediately suspect Kya Clark, the so-called Marsh Girl. But Kya is not what they say. Sensitive and intelligent, she has survived for years alone in the marsh that she calls home, finding friends in the gulls and lessons in the sand. Then the time comes when she yearns to be touched and loved. When two young men from town become intrigued by her wild beauty, Kya opens herself to a new life—until the unthinkable happens.\r\n\r\nWhere the Crawdads Sing is at once an exquisite ode to the natural world, a heartbreaking coming-of-age story, and a surprising tale of possible murder. Owens reminds us that we are forever shaped by the children we once were and that we are all subject to the beautiful and violent secrets that nature keeps.', '<div>“A painfully beautiful first novel that is at once a murder mystery, a coming-of-age narrative and a celebration of nature....Owens here surveys the desolate marshlands of the North Carolina coast through the eyes of an abandoned child. And in her isolation that child makes us open our own eyes to the secret wonders—and dangers—of her private world.”—The New York Times Book Review</div><div><br></div><div>“Steeped in the rhythms and shadows of the coastal marshes of North Carolina’s Outer Banks, this fierce and hauntingly beautiful novel centers on...Kya’s heartbreaking story of learning to trust human connections, intertwine[d] with a gripping murder mystery, revealing savage truths. An astonishing debut.”—People</div><div><br></div><div>“This lush mystery is perfect for fans of Barbara Kingsolver.”—Bustle</div><div><br></div><div>“A lush debut novel, Owens delivers her mystery wrapped in gorgeous, lyrical prose. It’s clear she’s from this place—the land of the southern coasts, but also the emotional terrain—you can feel it in the pages.  A magnificent achievement, ambitious, credible and very timely.”—Alexandra Fuller, New York Times bestselling author of Don’t Let’s Go to the Dogs Tonight</div><div><br></div><div>“Heart-wrenching...A fresh exploration of isolation and nature from a female perspective along with a compelling love story.”—Entertainment Weekly</div><div><br></div><div>“This wonderful novel has a bit of everything—mystery, romance, and fascinating characters, all told in a story that takes place in North Carolina.”—Nicholas Sparks, New York Times bestselling author of Every Breath</div><div><br></div><div>“Delia Owen’s gorgeous novel is both a coming-of-age tale and an engrossing whodunit.”—Real Simple</div><div><br></div><div>“Evocative...Kya makes for an unforgettable heroine.”—Publishers Weekly</div><div><br></div><div>“The New Southern novel...A lyrical debut.”—Southern Living</div><div><br></div><div>“A nature-infused romance with a killer twist.”—Refinery29</div><div><br></div><div>“Anyone who liked The Great Alone will want to read Where the Crawdads Sing....This astonishing debut is a beautiful and haunting novel that packs a powerful punch. It’s the first novel in a long time that made me cry.”—Kristin Hannah, author ofThe Great AloneandThe Nightingale</div><div><br></div><div>“Both a coming-of-age story and a mysterious account of a murder investigation told from the perspective of a young girl...Through Kya’s story, Owens explores how isolation affects human behavior, and the deep effect that rejection can have on our lives.”—Vanity Fair</div><div><br></div><div>“Lyrical...Its appeal ris[es] from Kya’s deep connection to the place where makes her home, and to all of its creatures.”—Booklist</div><div><br></div><div>“This beautiful, evocative novel is likely to stay with you for many days afterward....absorbing.”—AARP </div><div><br></div><div>“This haunting tale captivates every bit as much for its crime drama elements as for the humanity at its core.” —Mystery & Suspense Magazine</div><div><br></div><div>“Compelling, original...A mystery, a courtroom drama, a romance and a coming-of-age story, Where the Crawdads Sing is a moving, beautiful tale. Readers will remember Kya for a long, long time.”—ShelfAwareness</div><div><br></div><div>“With prose luminous as a low-country moon, Owens weaves a compelling tale of a forgotten girl in the unforgiving coastal marshes of North Carolina. It is a murder mystery/love story/courtroom drama that readers will love, but the novel delves so much deeper into the bone and sinew of our very nature, asking often unanswerable questions, old and intractable as the marsh itself. A stunning debut!”—Christopher Scotton, author of The Secret Wisdom of the Earth</div><div><br></div><div>“A compelling mystery with prose so luminous it can cut through the murkiest of pluff mud.”—Augusta Chronicle</div><div><br></div><div>“Carries the rhythm of an old time ballad. It is clear Owens knows this land intimately, from the black mud sucking at footsteps to the taste of saltwater and the cry of seagulls.”—David Joy, author of The Line That Held Us</div>');

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

--
-- Table structure for table `promotions`
--

CREATE TABLE `promotions` (
  `id` int UNSIGNED NOT NULL,
  `days` int UNSIGNED NOT NULL,
  `price` double(15,2) UNSIGNED NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_popular` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `promotions`
--

INSERT INTO `promotions` (`id`, `days`, `price`, `icon`, `is_popular`, `created_at`) VALUES
(2, 15, 150.00, '/store/1/default_images/subscribe_packages/gold.png', 1, 1635446032),
(3, 15, 50.00, '/store/1/default_images/subscribe_packages/bronze.png', 0, 1646415095),
(4, 15, 90.00, '/store/1/default_images/subscribe_packages/silver.png', 0, 1635446095);

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

--
-- Table structure for table `promotion_translations`
--

CREATE TABLE `promotion_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `promotion_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `promotion_translations`
--

INSERT INTO `promotion_translations` (`id`, `promotion_id`, `locale`, `title`, `description`) VALUES
(1, 2, 'en', 'Gold', 'One of your classes will be displayed at the top of the category list and homepage slider'),
(2, 3, 'en', 'Bronze', 'One of your classes will be displayed at the top of the category list'),
(3, 4, 'en', 'Silver', 'One of your classes will be displayed at the homepage slider'),
(4, 2, 'es', 'Oro', 'Una de sus clases se mostrará en la parte superior de la lista de categorías y el control deslizante de la página de inicio.'),
(5, 2, 'ar', 'ذهب', 'سيتم عرض أحد فصولك الدراسية في أعلى قائمة الفئات وشريط تمرير الصفحة الرئيسية'),
(6, 4, 'ar', 'فضة', 'سيتم عرض إحدى فصولك الدراسية في شريط تمرير الصفحة الرئيسية'),
(7, 4, 'es', 'Plata', 'Una de sus clases se mostrará en el control deslizante de la página de inicio.'),
(8, 3, 'ar', 'برونزية', 'سيتم عرض أحد فصولك في أعلى قائمة الفئات'),
(9, 3, 'es', 'Bronce', 'Una de sus clases se mostrará en la parte superior de la lista de categorías.');

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

--
-- Table structure for table `purchases`
--

CREATE TABLE `purchases` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `purchase_notifications`
--

CREATE TABLE `purchase_notifications` (
  `id` int UNSIGNED NOT NULL,
  `start_at` bigint DEFAULT NULL,
  `end_at` bigint DEFAULT NULL,
  `popup_duration` int UNSIGNED DEFAULT NULL,
  `popup_delay` int UNSIGNED DEFAULT NULL,
  `maximum_purchase_amount` int UNSIGNED DEFAULT NULL,
  `maximum_community_age` int UNSIGNED DEFAULT NULL,
  `display_type` enum('overall','per_session') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `display_time` int UNSIGNED DEFAULT NULL,
  `display_for_logged_out_users` tinyint(1) NOT NULL DEFAULT '0',
  `enable` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` bigint NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_notifications`
--

INSERT INTO `purchase_notifications` (`id`, `start_at`, `end_at`, `popup_duration`, `popup_delay`, `maximum_purchase_amount`, `maximum_community_age`, `display_type`, `display_time`, `display_for_logged_out_users`, `enable`, `created_at`) VALUES
(1, 1709269200, 1868673600, 12, 15, NULL, NULL, 'per_session', 99999, 1, 0, 1709375811);

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

--
-- Table structure for table `purchase_notification_histories`
--

CREATE TABLE `purchase_notification_histories` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `purchase_notification_id` int UNSIGNED NOT NULL,
  `display_type` enum('overall','per_session') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `count_view` int UNSIGNED NOT NULL DEFAULT '0',
  `session_ended` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Get True After the user login, we update all the per_session records'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_notification_histories`
--

INSERT INTO `purchase_notification_histories` (`id`, `user_id`, `purchase_notification_id`, `display_type`, `count_view`, `session_ended`) VALUES
(1, 996, 1, 'per_session', 34, 0),
(2, 995, 1, 'per_session', 26, 0),
(3, 1015, 1, 'per_session', 4, 0);

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

--
-- Table structure for table `purchase_notification_roles_groups_contents`
--

CREATE TABLE `purchase_notification_roles_groups_contents` (
  `id` int UNSIGNED NOT NULL,
  `purchase_notification_id` int UNSIGNED NOT NULL,
  `role_id` int UNSIGNED DEFAULT NULL,
  `group_id` int UNSIGNED DEFAULT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `product_id` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_notification_roles_groups_contents`
--

INSERT INTO `purchase_notification_roles_groups_contents` (`id`, `purchase_notification_id`, `role_id`, `group_id`, `webinar_id`, `bundle_id`, `product_id`) VALUES
(82, 1, 1, NULL, NULL, NULL, NULL),
(83, 1, 3, NULL, NULL, NULL, NULL),
(84, 1, 4, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `purchase_notification_translations`
--

CREATE TABLE `purchase_notification_translations` (
  `id` int UNSIGNED NOT NULL,
  `purchase_notification_id` int UNSIGNED NOT NULL,
  `locale` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `popup_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `popup_subtitle` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `users` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `times` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `purchase_notification_translations`
--

INSERT INTO `purchase_notification_translations` (`id`, `purchase_notification_id`, `locale`, `title`, `popup_title`, `popup_subtitle`, `users`, `times`) VALUES
(1, 1, 'en', 'Test Purchase Notifications', '[user] has Purchased', '[user] purchase [content] for [price]', 'Jack Anderson, Cameron Schofield,Jade Harrison,Jessica Wray,James Kong', '10 mins ago,25 mins ago,1 hrs ago,5 mins ago,30 mins ago,2 hrs ago,2 mins ago,45 mins ago');

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

--
-- Table structure for table `quizzes`
--

CREATE TABLE `quizzes` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `chapter_id` int UNSIGNED DEFAULT NULL,
  `time` int DEFAULT '0',
  `attempt` int DEFAULT NULL,
  `pass_mark` int NOT NULL,
  `certificate` tinyint(1) NOT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_mark` int UNSIGNED DEFAULT NULL,
  `display_limited_questions` tinyint(1) NOT NULL DEFAULT '0',
  `display_number_of_questions` int UNSIGNED DEFAULT NULL,
  `display_questions_randomly` tinyint(1) NOT NULL DEFAULT '0',
  `expiry_days` int UNSIGNED DEFAULT NULL,
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `quizzes_questions`
--

CREATE TABLE `quizzes_questions` (
  `id` int UNSIGNED NOT NULL,
  `quiz_id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `grade` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('multiple','descriptive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `video` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `quizzes_questions_answers`
--

CREATE TABLE `quizzes_questions_answers` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `question_id` int UNSIGNED NOT NULL,
  `image` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `correct` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `quizzes_questions_answer_translations`
--

CREATE TABLE `quizzes_questions_answer_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `quizzes_questions_answer_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `quizzes_results`
--

CREATE TABLE `quizzes_results` (
  `id` int UNSIGNED NOT NULL,
  `quiz_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `results` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `user_grade` int DEFAULT NULL,
  `status` enum('passed','failed','waiting') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `quiz_question_translations`
--

CREATE TABLE `quiz_question_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `quizzes_question_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `correct` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `quiz_translations`
--

CREATE TABLE `quiz_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `quiz_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `rating`
--

CREATE TABLE `rating` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `rate` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `regions`
--

CREATE TABLE `regions` (
  `id` int UNSIGNED NOT NULL,
  `country_id` int UNSIGNED DEFAULT NULL,
  `province_id` int UNSIGNED DEFAULT NULL,
  `city_id` int UNSIGNED DEFAULT NULL,
  `geo_center` point DEFAULT NULL,
  `type` enum('country','province','city','district') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `regions`
--

INSERT INTO `regions` (`id`, `country_id`, `province_id`, `city_id`, `geo_center`, `type`, `title`, `created_at`) VALUES
(16, NULL, NULL, NULL, 0x000000000101000000502c37a3fd2748400000000000910440, 'country', 'France', 1646175250),
(17, NULL, NULL, NULL, 0x000000000101000000cc4c51ad1a29374000000000509c5340, 'country', 'India', 1646045215),
(18, NULL, NULL, NULL, 0x000000000101000000fc87794512fd434000000000787e58c0, 'country', 'United States', 1646208799),
(19, NULL, NULL, NULL, 0x000000000101000000c399e9d9582130400000000040da3240, 'country', 'Chad', 1646045318),
(20, NULL, NULL, NULL, 0x000000000101000000c914e2b7f634384000000000e0634640, 'country', 'Saudi Arabia', 1646045651),
(21, 16, NULL, NULL, 0x000000000101000000b7417d8d9700484000000000c01709c0, 'province', 'Brittany', 1646175600),
(22, 16, NULL, NULL, 0x000000000101000000c28d5422c26d484000000000e0b20240, 'province', 'Île-de-France', 1646176998),
(23, 16, 22, NULL, 0x00000000010100000043242b8d136e4840f6ffffff3dcd0240, 'city', 'Paris', 1646177038),
(24, 16, 22, 23, 0x000000000101000000f4056521416f4840f7ffff7f315a0240, 'district', 'Chaillot', 1646177131),
(25, 16, 22, 23, 0x000000000101000000fecb2c1406684840f9ffff7f26fc0140, 'district', 'Le val', 1646177195),
(26, 16, 22, 23, 0x000000000101000000da05b69e8a6d484008000000cd2e0340, 'district', 'Charonne', 1646177249),
(27, 17, NULL, NULL, 0x00000000010100000032073e5acab03c4004000000934a5340, 'province', 'Delhi', 1646177430),
(28, 17, NULL, NULL, 0x000000000101000000e7331bb0e31333400200008025395240, 'province', 'Maharashtra', 1646177529),
(29, 17, 27, NULL, 0x0000000001010000004ea45133209e3c4002000050f54c5340, 'city', 'New Delhi', 1646177585),
(30, 17, 28, NULL, 0x0000000001010000000fd66a9d27f13240040000305b355240, 'city', 'Mumbai', 1646177660),
(31, 20, NULL, NULL, 0x0000000001010000005aa3dd6a75923840070000004acf4340, 'province', 'Medina', 1646207588),
(32, 20, 31, NULL, 0x0000000001010000007522ebce077938400500005028ce4340, 'city', 'Medina', 1646207641),
(33, 20, NULL, NULL, 0x000000000101000000f87d72b19dd33840000000007c5d4740, 'province', 'Riyadh', 1646207846),
(34, 20, 33, NULL, 0x0000000001010000003352eaadc2a23840050000207c5b4740, 'city', 'Riyadh', 1646207899),
(35, 17, 27, 29, 0x000000000101000000677eaddc83933c40000000f4e44f5340, 'district', 'Jal vihar', 1646208038),
(36, 17, 27, 29, 0x0000000001010000000c564b253b8f3c40030000f4f54d5340, 'district', 'Anand lok', 1646208100),
(37, 17, 28, 30, 0x000000000101000000744a1102cef732400000003c9b345240, 'district', 'Tardeo', 1646208151),
(38, 17, 28, 30, 0x000000000101000000e1347d6ea4ed32400000009235355240, 'district', 'Kala ghoda', 1646208227),
(39, 17, 28, 30, 0x0000000001010000007f59b3f397003340feffffa36f345240, 'district', 'Nehru nagar', 1646208287),
(40, 20, 31, 32, 0x0000000001010000009f9a107be67a3840fcfffff32bcc4340, 'district', 'Al fath', 1646208357),
(41, 20, 31, 32, 0x0000000001010000004a9335c11e7c384001000084fbd54340, 'district', 'Al mabuth', 1646208449),
(42, 20, 33, 34, 0x000000000101000000ecdbbe5e4ca438400400001821554740, 'district', 'Al rafiah', 1646208501),
(43, 20, 33, 34, 0x00000000010100000047a393f74fa83840fdffff8f195d4740, 'district', 'Al malaz', 1646208541),
(44, 20, 33, 34, 0x000000000101000000b3cc5d99029b384004000090d3574740, 'district', 'Sultanah', 1646208741),
(45, 18, NULL, NULL, 0x0000000001010000008a421c62479242402300000002ef5dc0, 'province', 'California', 1646208923),
(46, 18, NULL, NULL, 0x00000000010100000073bb0212f86a4540000000006add52c0, 'province', 'New York', 1646209125),
(47, 18, 45, NULL, 0x000000000101000000c0eb475b13e44240e2ffffafd29a5ec0, 'city', 'San Francisco', 1646209213),
(48, 18, 45, NULL, 0x000000000101000000996d3806e37c4240f8fffff7ee815ec0, 'city', 'Santa Cruz', 1646209310),
(49, 18, 46, NULL, 0x0000000001010000002ff3954dd15d4440020000504b7f52c0, 'city', 'New York', 1646209459),
(50, 18, 46, NULL, 0x00000000010100000035c4cc6279534540000000b85b7052c0, 'city', 'Albany', 1646209552),
(51, 18, 45, 47, 0x0000000001010000003aeafdd6abe04240faffffd7b49f5ec0, 'district', 'Sunset district', 1646209607),
(52, 18, 45, 47, 0x0000000001010000001d646d8c1bdf4240f1ffff57859a5ec0, 'district', 'Bernal heights', 1646209668),
(53, 18, 45, 48, 0x000000000101000000798fe4b88f7b4240220000d4f3825ec0, 'district', 'Westside', 1646209704),
(54, 18, 45, 48, 0x0000000001010000000ea4fdcb187c4240e4ffffdb84805ec0, 'district', 'Seabright', 1646209756),
(55, 18, 46, 49, 0x000000000101000000502d3717765b444003000064278052c0, 'district', 'Civic center', 1646209822),
(56, 18, 46, 49, 0x000000000101000000895ffa4836624440fffffff7687d52c0, 'district', 'Lenox hill', 1646209902),
(57, 18, 46, 50, 0x0000000001010000002a11fd866f5445400400000c7e7252c0, 'district', 'Pine hills', 1646209945),
(58, 18, 46, 50, 0x000000000101000000132a6a90cb5445400400000a557052c0, 'district', 'Arbor hill', 1646209990),
(59, 19, NULL, NULL, 0x000000000101000000e02f3b6e02472840f2ffffff83122e40, 'province', 'N\'Djaména', 1646210607),
(60, 19, 59, NULL, 0x0000000001010000000b5659aeba3d284018000040c4192e40, 'city', 'N\'Djaména', 1646210643),
(61, 19, NULL, NULL, 0x000000000101000000776860c6695021400e00000094103040, 'province', 'Logone Occidental', 1646210813),
(62, 19, 61, NULL, 0x000000000101000000d1cf427b71222140030000a0e2123040, 'city', 'Moundou', 1646210881),
(63, 19, 59, 60, 0x0000000001010000002e2f2cc30d312840e6ffffdf71262e40, 'district', 'Moursal', 1646210978),
(64, 19, 59, 60, 0x0000000001010000009f93ddbcdc392840f1ffff9feb192e40, 'district', 'Blabline', 1646211027),
(65, 19, 61, 62, 0x0000000001010000000b91007923232140f7ffff9732163040, 'district', 'Bornou', 1646211077),
(66, 19, 61, 62, 0x0000000001010000006b07cb49aa192140f6ffffa7650f3040, 'district', 'Dokapti', 1646211168),
(67, 16, 21, NULL, 0x00000000010100000018e23f51690e4840fffffffff1e3fabf, 'city', 'Rennes', 1646295560),
(68, 16, 21, 67, 0x0000000001010000001d2d3bd0140e4840060000009f54fbbf, 'district', 'Moulin du comte', 1646295696);

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

--
-- Table structure for table `registration_packages`
--

CREATE TABLE `registration_packages` (
  `id` int UNSIGNED NOT NULL,
  `days` int UNSIGNED NOT NULL,
  `price` double(15,2) UNSIGNED NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `role` enum('instructors','organizations') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `instructors_count` int DEFAULT NULL,
  `students_count` int DEFAULT NULL,
  `courses_capacity` int DEFAULT NULL,
  `courses_count` int DEFAULT NULL,
  `meeting_count` int DEFAULT NULL,
  `product_count` int UNSIGNED DEFAULT NULL,
  `ai_content_access` tinyint(1) NOT NULL DEFAULT '0',
  `status` enum('disabled','active') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `registration_packages`
--

INSERT INTO `registration_packages` (`id`, `days`, `price`, `icon`, `role`, `instructors_count`, `students_count`, `courses_capacity`, `courses_count`, `meeting_count`, `product_count`, `ai_content_access`, `status`, `created_at`) VALUES
(1, 30, 99.00, '/store/1/default_images/registertion_packages/bronze_instructor.png', 'instructors', NULL, NULL, 40, 10, 30, NULL, 0, 'active', 1646040584),
(2, 90, 199.00, '/store/1/default_images/registertion_packages/silver_instructor.png', 'instructors', NULL, NULL, 60, 20, 50, NULL, 0, 'active', 1646041075),
(3, 180, 400.00, '/store/1/default_images/registertion_packages/gold_instructor.png', 'instructors', NULL, NULL, 100, 40, 75, NULL, 0, 'active', 1646041329),
(4, 30, 200.00, '/store/1/default_images/registertion_packages/bronze_organization.png', 'organizations', 5, 50, 40, 10, 30, NULL, 0, 'active', 1646041807),
(5, 90, 400.00, '/store/1/default_images/registertion_packages/silver_organization.png', 'organizations', 10, 100, 70, 20, 50, NULL, 0, 'active', 1646041992),
(6, 180, 600.00, '/store/1/default_images/registertion_packages/gold_organization.png', 'organizations', 30, 300, 150, 50, 100, NULL, 0, 'active', 1646042364);

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

--
-- Table structure for table `registration_packages_translations`
--

CREATE TABLE `registration_packages_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `registration_package_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `registration_packages_translations`
--

INSERT INTO `registration_packages_translations` (`id`, `registration_package_id`, `locale`, `title`, `description`) VALUES
(1, 1, 'en', 'Basic', 'Suggested for starter instructors.'),
(2, 2, 'en', 'Pro', 'Suggested for professional instructors.'),
(3, 3, 'en', 'Premium', 'Suggested for expert instructors.'),
(4, 4, 'en', 'Basic', 'Suggested for small organizations'),
(5, 5, 'en', 'Pro', 'Suggested for medium organizations'),
(6, 6, 'en', 'Premium', 'Suggested for big organizations');

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

--
-- Table structure for table `related_courses`
--

CREATE TABLE `related_courses` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED DEFAULT NULL,
  `targetable_id` int UNSIGNED NOT NULL,
  `targetable_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `course_id` int UNSIGNED NOT NULL,
  `order` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `rewards`
--

CREATE TABLE `rewards` (
  `id` int UNSIGNED NOT NULL,
  `type` enum('account_charge','create_classes','buy','pass_the_quiz','certificate','comment','register','review_courses','instructor_meeting_reserve','student_meeting_reserve','newsletters','badge','referral','learning_progress_100','charge_wallet','buy_store_product','pass_assignment','send_post_in_topic','make_topic','create_blog_by_instructor','comment_for_instructor_blog') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `score` int UNSIGNED DEFAULT NULL,
  `condition` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('active','disabled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rewards`
--

INSERT INTO `rewards` (`id`, `type`, `score`, `condition`, `status`, `created_at`) VALUES
(3, 'charge_wallet', 50, '150', 'active', 1641205067),
(4, 'account_charge', 50, '100', 'active', 1641369989),
(5, 'badge', NULL, NULL, 'active', 1641300755),
(6, 'create_classes', 50, NULL, 'active', 1641369921),
(7, 'buy', 50, '10', 'active', 1641369938),
(8, 'pass_the_quiz', 50, NULL, 'active', 1641369947),
(9, 'certificate', 30, NULL, 'active', 1641369955),
(10, 'comment', 5, NULL, 'active', 1641369968),
(11, 'register', 5, NULL, 'active', 1641370008),
(12, 'review_courses', 15, NULL, 'active', 1641370016),
(13, 'instructor_meeting_reserve', 30, NULL, 'active', 1641370026),
(14, 'student_meeting_reserve', 30, NULL, 'active', 1641370036),
(15, 'newsletters', 10, NULL, 'active', 1641370050),
(16, 'referral', 5, NULL, 'active', 1641370059),
(18, 'learning_progress_100', 20, NULL, 'active', 1641372957),
(19, 'buy_store_product', 50, '26', 'active', 1648277874),
(20, 'pass_assignment', 50, NULL, 'active', 1649247227),
(21, 'make_topic', 1, NULL, 'active', 1650548269),
(22, 'send_post_in_topic', 1, NULL, 'active', 1650548278),
(23, 'create_blog_by_instructor', 5, NULL, 'active', 1650788324),
(24, 'comment_for_instructor_blog', 3, NULL, 'active', 1650788336);

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

--
-- Table structure for table `rewards_accounting`
--

CREATE TABLE `rewards_accounting` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `item_id` int UNSIGNED DEFAULT NULL,
  `type` enum('account_charge','create_classes','buy','pass_the_quiz','certificate','comment','register','review_courses','instructor_meeting_reserve','student_meeting_reserve','newsletters','badge','referral','learning_progress_100','charge_wallet','withdraw','buy_store_product','pass_assignment','send_post_in_topic','make_topic','create_blog_by_instructor','comment_for_instructor_blog') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `score` int UNSIGNED NOT NULL,
  `status` enum('addiction','deduction') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rewards_accounting`
--

INSERT INTO `rewards_accounting` (`id`, `user_id`, `item_id`, `type`, `score`, `status`, `created_at`) VALUES
(1, 867, 2006, 'create_classes', 50, 'addiction', 1645726175),
(2, 929, 1999, 'create_classes', 50, 'addiction', 1645726209),
(3, 1015, 2008, 'create_classes', 50, 'addiction', 1646127156),
(4, 995, 2005, 'learning_progress_100', 20, 'addiction', 1646127296),
(5, 1015, 2009, 'create_classes', 50, 'addiction', 1646172007),
(6, 995, NULL, 'buy', 55, 'addiction', 1646172086),
(7, 996, NULL, 'buy', 50, 'addiction', 1646172123),
(8, 979, NULL, 'buy', 55, 'addiction', 1646172159),
(9, 929, NULL, 'buy', 55, 'addiction', 1646172296),
(10, 867, 2000, 'create_classes', 50, 'addiction', 1646172395),
(11, 979, 23, 'badge', 15, 'addiction', 1646245104),
(12, 1015, 23, 'badge', 15, 'addiction', 1646254479),
(13, 1015, 26, 'badge', 30, 'addiction', 1646254480),
(14, 1015, 29, 'badge', 50, 'addiction', 1646254480),
(15, 1015, 32, 'badge', 50, 'addiction', 1646254481),
(16, 1015, 35, 'badge', 20, 'addiction', 1646254481),
(17, 979, 33, 'review_courses', 15, 'addiction', 1646254639),
(18, 864, 23, 'badge', 15, 'addiction', 1646256513),
(19, 864, 24, 'badge', 10, 'addiction', 1646256514),
(20, 870, 23, 'badge', 15, 'addiction', 1646257010),
(21, 870, 24, 'badge', 10, 'addiction', 1646257010),
(22, 870, 29, 'badge', 50, 'addiction', 1646257011),
(23, 870, 31, 'badge', 20, 'addiction', 1646257011),
(24, 870, 35, 'badge', 20, 'addiction', 1646257011),
(25, 867, 23, 'badge', 15, 'addiction', 1646260042),
(26, 867, 26, 'badge', 30, 'addiction', 1646260043),
(27, 867, 29, 'badge', 50, 'addiction', 1646260043),
(28, 867, 31, 'badge', 20, 'addiction', 1646260043),
(29, 867, 35, 'badge', 20, 'addiction', 1646260044),
(30, 1016, 23, 'badge', 15, 'addiction', 1646263056),
(31, 1016, 24, 'badge', 10, 'addiction', 1646263057),
(32, 1016, 29, 'badge', 50, 'addiction', 1646263057),
(33, 1016, 31, 'badge', 20, 'addiction', 1646263057),
(34, 1016, 35, 'badge', 20, 'addiction', 1646263058),
(35, 934, 23, 'badge', 15, 'addiction', 1646263177),
(36, 934, 25, 'badge', 20, 'addiction', 1646263177),
(37, 934, 29, 'badge', 50, 'addiction', 1646263177),
(38, 934, 35, 'badge', 20, 'addiction', 1646263178),
(39, 929, 23, 'badge', 15, 'addiction', 1646263303),
(40, 929, 25, 'badge', 20, 'addiction', 1646263304),
(41, 929, 29, 'badge', 50, 'addiction', 1646263304),
(42, 929, 31, 'badge', 20, 'addiction', 1646263304),
(43, 3, 23, 'badge', 15, 'addiction', 1646263503),
(44, 3, 25, 'badge', 20, 'addiction', 1646263504),
(45, 3, 31, 'badge', 20, 'addiction', 1646263504),
(46, 4, 23, 'badge', 15, 'addiction', 1646263571),
(47, 4, 24, 'badge', 10, 'addiction', 1646263571),
(48, 4, 29, 'badge', 50, 'addiction', 1646263572),
(49, 4, 35, 'badge', 20, 'addiction', 1646263572),
(50, 859, 23, 'badge', 15, 'addiction', 1646263573),
(51, 863, 23, 'badge', 15, 'addiction', 1646263573),
(52, 863, 24, 'badge', 10, 'addiction', 1646263573),
(53, 863, 29, 'badge', 50, 'addiction', 1646263574),
(54, 863, 31, 'badge', 20, 'addiction', 1646263574),
(55, 863, 35, 'badge', 20, 'addiction', 1646263574),
(56, 868, 23, 'badge', 15, 'addiction', 1646287364),
(57, 996, 23, 'badge', 15, 'addiction', 1646290203),
(58, 995, 23, 'badge', 15, 'addiction', 1646302693),
(59, 923, 23, 'badge', 15, 'addiction', 1646326059),
(60, 923, 25, 'badge', 20, 'addiction', 1646326060),
(61, 923, 29, 'badge', 50, 'addiction', 1646326060),
(62, 923, 31, 'badge', 20, 'addiction', 1646326060),
(63, 923, 35, 'badge', 20, 'addiction', 1646326061),
(64, 995, 34, 'review_courses', 15, 'addiction', 1646352844),
(65, 995, NULL, 'buy', 4125, 'addiction', 1646379288),
(66, 995, NULL, 'student_meeting_reserve', 30, 'addiction', 1646379290),
(67, 1017, 22, 'badge', 10, 'addiction', 1646379365),
(68, 930, 23, 'badge', 15, 'addiction', 1646386699),
(69, 930, NULL, 'buy', 1095, 'addiction', 1646386787),
(70, 859, NULL, 'buy', 1100, 'addiction', 1646387655),
(71, 1017, 1017, 'newsletters', 10, 'addiction', 1646389129),
(72, 4, 2005, 'create_classes', 50, 'addiction', 1646396841),
(73, 929, 2004, 'create_classes', 50, 'addiction', 1646396863),
(74, 1015, 35, 'review_courses', 15, 'addiction', 1646413457),
(75, 1015, 66, 'comment', 5, 'addiction', 1646413662),
(76, 996, 996, 'newsletters', 10, 'addiction', 1646414262),
(77, 1, 23, 'badge', 15, 'addiction', 1655618081),
(78, 1017, 23, 'badge', 15, 'addiction', 1655697087),
(79, 1015, 1, 'make_topic', 1, 'addiction', 1655716308),
(80, 1015, 2, 'make_topic', 1, 'addiction', 1655716703),
(81, 929, 1, 'send_post_in_topic', 1, 'addiction', 1655718839),
(82, 979, 2, 'send_post_in_topic', 1, 'addiction', 1655786658),
(83, 930, 3, 'send_post_in_topic', 1, 'addiction', 1655786705),
(84, 1017, 3, 'make_topic', 1, 'addiction', 1655787049),
(85, 923, 4, 'send_post_in_topic', 1, 'addiction', 1655787619),
(86, 1017, 5, 'send_post_in_topic', 1, 'addiction', 1655787999),
(87, 870, 4, 'make_topic', 1, 'addiction', 1655788542),
(88, 3, 6, 'send_post_in_topic', 1, 'addiction', 1655788607),
(89, 996, 5, 'make_topic', 1, 'addiction', 1655789512),
(90, 930, 7, 'send_post_in_topic', 1, 'addiction', 1655789536),
(91, 859, 8, 'send_post_in_topic', 1, 'addiction', 1655789585),
(92, 923, 6, 'make_topic', 1, 'addiction', 1655790004),
(93, 3, 9, 'send_post_in_topic', 1, 'addiction', 1655790272),
(94, 3, 7, 'make_topic', 1, 'addiction', 1655790607),
(95, 934, 10, 'send_post_in_topic', 1, 'addiction', 1655790650),
(96, 930, 8, 'make_topic', 1, 'addiction', 1655790834),
(97, 929, 11, 'send_post_in_topic', 1, 'addiction', 1655790902),
(98, 870, 12, 'send_post_in_topic', 1, 'addiction', 1655790940),
(99, 995, 9, 'make_topic', 1, 'addiction', 1655791192),
(100, 996, 13, 'send_post_in_topic', 1, 'addiction', 1655791222),
(101, 1015, 14, 'send_post_in_topic', 1, 'addiction', 1655791289),
(102, 3, 15, 'send_post_in_topic', 1, 'addiction', 1655791331),
(103, 929, 26, 'badge', 30, 'addiction', 1655799442),
(104, 929, 2010, 'create_classes', 50, 'addiction', 1655804611),
(105, 996, 36, 'review_courses', 15, 'addiction', 1655877051),
(106, 930, 1, 'pass_assignment', 50, 'addiction', 1655877895),
(107, 995, 1, 'pass_assignment', 50, 'addiction', 1655878435),
(108, 1015, 22, 'badge', 10, 'addiction', 1655907547),
(109, 1019, 21, 'badge', 5, 'addiction', 1655970555),
(110, 930, NULL, 'buy', 275, 'addiction', 1656083262),
(111, 930, 37, 'review_courses', 15, 'addiction', 1656083388),
(112, 1016, 22, 'badge', 10, 'addiction', 1656083787),
(113, 995, 10, 'make_topic', 1, 'addiction', 1656101498),
(114, 995, 16, 'send_post_in_topic', 1, 'addiction', 1656101542),
(115, 1016, 17, 'send_post_in_topic', 1, 'addiction', 1656101670),
(116, 870, 18, 'send_post_in_topic', 1, 'addiction', 1656101717),
(117, 929, 19, 'send_post_in_topic', 1, 'addiction', 1656101751),
(118, 995, 4, 'buy_store_product', 10, 'addiction', 1656103844),
(119, 995, NULL, 'buy', 26, 'addiction', 1656103844),
(120, 995, 38, 'review_courses', 15, 'addiction', 1656103909),
(121, 923, 1, 'buy_store_product', 60, 'addiction', 1656104131),
(122, 923, NULL, 'buy', 156, 'addiction', 1656104131),
(123, 996, NULL, 'buy', 198, 'addiction', 1656130481),
(124, 864, 31, 'badge', 20, 'addiction', 1656130495),
(125, 996, 39, 'review_courses', 15, 'addiction', 1656130578),
(126, 930, 2, 'buy_store_product', 605, 'addiction', 1656130707),
(127, 930, NULL, 'buy', 1573, 'addiction', 1656130707),
(128, 996, 5, 'buy_store_product', 151, 'addiction', 1656130963),
(129, 996, NULL, 'buy', 394, 'addiction', 1656130963),
(130, 979, NULL, 'buy', 44, 'addiction', 1656139703),
(131, 979, NULL, 'buy', 138, 'addiction', 1656139705),
(132, 979, 41, 'review_courses', 15, 'addiction', 1656139797),
(133, 979, 40, 'review_courses', 15, 'addiction', 1656139799),
(134, 1015, 36, 'badge', 5, 'addiction', 1656148218),
(135, 1015, 38, 'badge', 10, 'addiction', 1656148220),
(136, 1017, 38, 'badge', 10, 'addiction', 1656148474),
(137, 1017, 1, 'buy_store_product', 50, 'addiction', 1656148574),
(138, 1017, NULL, 'buy', 130, 'addiction', 1656148574),
(139, 995, 38, 'badge', 10, 'addiction', 1656148637),
(140, 995, 1, 'buy_store_product', 100, 'addiction', 1656148838),
(141, 995, NULL, 'buy', 261, 'addiction', 1656148838),
(142, 1016, 36, 'badge', 5, 'addiction', 1656194232),
(143, 864, 29, 'badge', 50, 'addiction', 1656194599),
(144, 864, 35, 'badge', 20, 'addiction', 1656194599),
(145, 870, 38, 'badge', 10, 'addiction', 1656219366),
(146, 996, 38, 'badge', 10, 'addiction', 1656219590),
(147, 995, 6, 'buy_store_product', 33, 'addiction', 1656322658),
(148, 995, NULL, 'buy', 85, 'addiction', 1656322658),
(149, 923, 38, 'badge', 10, 'addiction', 1656530749),
(150, 995, 2007, 'learning_progress_100', 20, 'addiction', 1656664848),
(151, 995, 6, 'certificate', 30, 'addiction', 1656664855),
(188, 1019, 22, 'badge', 10, 'addiction', 1678904160),
(189, 930, 38, 'badge', 10, 'addiction', 1678908532),
(190, 870, 25, 'badge', 20, 'addiction', 1678911991),
(191, 3, 29, 'badge', 50, 'addiction', 1678912055),
(192, 3, 35, 'badge', 20, 'addiction', 1678912055),
(193, 3, 38, 'badge', 10, 'addiction', 1678912055),
(194, 870, 2022, 'create_classes', 50, 'addiction', 1678912167),
(195, 995, NULL, 'buy', 165, 'addiction', 1678915490),
(196, 979, NULL, 'buy', 165, 'addiction', 1678917767),
(197, 979, NULL, 'buy', 198, 'addiction', 1678919437),
(198, 995, 2004, 'learning_progress_100', 20, 'addiction', 1678919451),
(199, 930, NULL, 'buy', 165, 'addiction', 1678922511),
(200, 995, NULL, 'buy', 110, 'addiction', 1678922691),
(201, 1017, NULL, 'buy', 165, 'addiction', 1678923556),
(202, 979, NULL, 'buy', 165, 'addiction', 1678925790),
(203, 995, NULL, 'buy', 165, 'addiction', 1678925916),
(204, 995, NULL, 'buy', 110, 'addiction', 1678926039),
(205, 995, 1045, 'referral', 5, 'addiction', 1678958778),
(206, 1045, 1045, 'register', 5, 'addiction', 1678958778),
(207, 1045, NULL, 'buy', 550, 'addiction', 1678959222),
(208, 995, 1046, 'referral', 5, 'addiction', 1678959533),
(209, 1046, 1046, 'register', 5, 'addiction', 1678959533),
(210, 995, NULL, 'buy', 165, 'addiction', 1678961006),
(211, 930, NULL, 'buy', 198, 'addiction', 1678961218),
(212, 979, NULL, 'buy', 165, 'addiction', 1678961652),
(213, 1045, 21, 'badge', 5, 'addiction', 1679088389),
(214, 1045, NULL, 'buy', 165, 'addiction', 1679088431),
(215, 995, 42, 'review_courses', 15, 'addiction', 1679093427),
(216, 995, NULL, 'buy', 165, 'addiction', 1685783051),
(217, 930, NULL, 'buy', 165, 'addiction', 1685783153),
(218, 1046, 22, 'badge', 10, 'addiction', 1694849360),
(219, 1015, 1998, 'create_classes', 50, 'addiction', 1694966085);

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

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` int UNSIGNED NOT NULL,
  `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `users_count` int UNSIGNED NOT NULL DEFAULT '0',
  `is_admin` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`, `users_count`, `is_admin`, `created_at`) VALUES
(1, 'user', 0, 0, 1604418504),
(2, 'admin', 0, 1, 1604418504),
(3, 'organization', 0, 0, 1604418504),
(4, 'teacher', 0, 0, 1604418504),
(6, 'education', 0, 1, 1613370817);

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

--
-- Table structure for table `role_translations`
--

CREATE TABLE `role_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `role_id` int UNSIGNED NOT NULL,
  `locale` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `caption` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `role_translations`
--

INSERT INTO `role_translations` (`id`, `role_id`, `locale`, `caption`) VALUES
(1, 1, 'en', 'Student'),
(2, 1, 'ar', 'طالب'),
(3, 1, 'es', 'Alumna'),
(4, 2, 'en', 'Admin'),
(5, 2, 'es', 'Administradora'),
(6, 2, 'ar', 'مسؤل'),
(7, 3, 'en', 'Organization'),
(8, 3, 'ar', 'منظمة'),
(9, 3, 'es', 'Organización'),
(10, 4, 'en', 'Instructor'),
(11, 4, 'es', 'Instructora'),
(12, 4, 'ar', 'مدرب'),
(13, 6, 'en', 'Author'),
(14, 6, 'ar', 'مؤلف'),
(15, 6, 'es', 'Autora');

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

--
-- Table structure for table `sales`
--

CREATE TABLE `sales` (
  `id` int UNSIGNED NOT NULL,
  `seller_id` int UNSIGNED DEFAULT NULL,
  `buyer_id` int UNSIGNED NOT NULL,
  `order_id` int UNSIGNED DEFAULT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `meeting_id` int UNSIGNED DEFAULT NULL,
  `meeting_time_id` int UNSIGNED DEFAULT NULL,
  `subscribe_id` int UNSIGNED DEFAULT NULL,
  `ticket_id` int UNSIGNED DEFAULT NULL,
  `promotion_id` int UNSIGNED DEFAULT NULL,
  `product_order_id` int UNSIGNED DEFAULT NULL,
  `registration_package_id` int UNSIGNED DEFAULT NULL,
  `installment_payment_id` int UNSIGNED DEFAULT NULL,
  `gift_id` int UNSIGNED DEFAULT NULL,
  `payment_method` enum('credit','payment_channel','subscribe') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` enum('webinar','meeting','subscribe','promotion','registration_package','product','bundle','installment_payment','gift') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(13,2) UNSIGNED NOT NULL,
  `tax` decimal(13,2) UNSIGNED DEFAULT NULL,
  `commission` decimal(13,2) UNSIGNED DEFAULT NULL,
  `discount` decimal(13,2) UNSIGNED DEFAULT NULL,
  `total_amount` decimal(13,2) UNSIGNED DEFAULT NULL,
  `product_delivery_fee` decimal(13,2) UNSIGNED DEFAULT NULL,
  `manual_added` tinyint(1) NOT NULL DEFAULT '0',
  `access_to_purchased_item` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` int UNSIGNED NOT NULL,
  `refund_at` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `sales`
--

INSERT INTO `sales` (`id`, `seller_id`, `buyer_id`, `order_id`, `webinar_id`, `bundle_id`, `meeting_id`, `meeting_time_id`, `subscribe_id`, `ticket_id`, `promotion_id`, `product_order_id`, `registration_package_id`, `installment_payment_id`, `gift_id`, `payment_method`, `type`, `amount`, `tax`, `commission`, `discount`, `total_amount`, `product_delivery_fee`, `manual_added`, `access_to_purchased_item`, `created_at`, `refund_at`) VALUES
(141, 1015, 996, 307, NULL, NULL, 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'meeting', 150.00, 15.00, 30.00, 0.00, 165.00, NULL, 0, 1, 1625944345, NULL),
(142, 934, 995, 308, NULL, NULL, 31, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'meeting', 100.00, 10.00, 20.00, 0.00, 110.00, NULL, 0, 1, 1625952627, NULL),
(143, 4, 995, 309, 2005, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 10.00, 1.00, 2.00, 0.00, 11.00, NULL, 0, 1, 1625953196, NULL),
(144, 1015, 995, 310, NULL, NULL, 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'meeting', 125.00, 12.50, 25.00, 0.00, 137.50, NULL, 0, 1, 1625996812, NULL),
(145, 1016, 995, NULL, 1995, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1625996905, NULL),
(146, 929, 995, 311, 1999, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 50.00, 5.00, 5.00, 0.00, 55.00, NULL, 0, 1, 1625996941, NULL),
(147, 1015, 995, 312, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 100.00, 5.00, 10.00, 50.00, 55.00, NULL, 0, 1, 1625996978, NULL),
(148, 3, 995, 313, 2001, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 20.00, 1.60, 1.60, 4.00, 17.60, NULL, 0, 1, 1625997104, NULL),
(149, 1015, 996, NULL, 1996, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626060382, NULL),
(150, 934, 996, NULL, 1997, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626060412, NULL),
(151, 867, 996, 314, 2006, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 25.00, 2.25, 4.50, 2.50, 24.75, NULL, 0, 1, 1626060487, NULL),
(152, 1015, 996, 315, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 100.00, 4.00, 8.00, 60.00, 44.00, NULL, 0, 1, 1626060552, NULL),
(153, 1015, 979, NULL, 1996, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626060740, NULL),
(154, 1015, 930, NULL, 1996, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626060773, NULL),
(155, 1015, 930, 316, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 100.00, 5.00, 10.00, 50.00, 55.00, NULL, 0, 1, 1626060835, NULL),
(156, 929, 979, 317, 2004, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 60.00, 6.00, 6.00, 0.00, 66.00, NULL, 0, 1, 1626061332, NULL),
(157, 863, 979, 318, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 20.00, 2.00, 4.00, 0.00, 22.00, NULL, 0, 1, 1626061373, NULL),
(158, 867, 979, 318, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 30.00, 3.00, 6.00, 0.00, 33.00, NULL, 0, 1, 1626061374, NULL),
(159, NULL, 995, 319, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'subscribe', 20.00, 2.00, 0.00, NULL, 22.00, NULL, 0, 1, 1626061450, NULL),
(160, 867, 995, NULL, 2006, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'subscribe', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1626061483, NULL),
(161, 929, 995, NULL, 2004, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'subscribe', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 0, 1626061490, NULL),
(162, 863, 995, NULL, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'subscribe', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1626061494, NULL),
(163, 1015, 995, NULL, 1996, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626062834, NULL),
(164, 1016, 996, NULL, 1995, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626129811, NULL),
(165, 1016, 1015, NULL, 1995, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626132407, NULL),
(166, 863, 1015, 321, 2002, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 20.00, 1.60, 3.20, 4.00, 17.60, NULL, 0, 1, 1626132844, NULL),
(167, NULL, 929, 323, 2004, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, 'credit', 'promotion', 50.00, 5.00, 0.00, NULL, 55.00, NULL, 0, 1, 1626241152, NULL),
(168, 864, 929, 324, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 40.00, 3.00, 6.00, 10.00, 33.00, NULL, 0, 1, 1626241212, NULL),
(169, 1015, 929, NULL, 1996, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, NULL, NULL, 0, 1, 1626243340, NULL),
(170, 870, 995, 325, NULL, NULL, 33, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'meeting', 100.00, 10.00, 20.00, 0.00, 110.00, NULL, 0, 1, 1626247195, 1626247245),
(171, 867, 996, 327, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 30.00, 2.70, 5.40, 3.00, 29.70, NULL, 0, 1, 1626508956, NULL),
(172, 867, 995, NULL, 2007, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1635408189, NULL),
(173, 867, 929, 328, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 30.00, 3.00, 6.00, 0.00, 33.00, NULL, 0, 1, 1635412196, NULL),
(174, 867, 1017, 330, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 30.00, 3.00, 6.00, 0.00, 33.00, NULL, 0, 1, 1639379284, NULL),
(175, 1016, 1017, NULL, 1995, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1639379336, NULL),
(176, 1015, 1017, 331, 1998, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 100.00, 10.00, 20.00, 0.00, 110.00, NULL, 0, 1, 1639379350, NULL),
(177, 864, 1017, 332, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 40.00, 3.00, 6.00, 10.00, 33.00, NULL, 0, 1, 1639379388, NULL),
(178, 1015, 995, NULL, 2008, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1646127212, NULL),
(179, 1015, 995, 333, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 10.00, 1.00, 2.00, 0.00, 11.00, NULL, 0, 1, 1646172086, NULL),
(180, 1015, 996, 334, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 10.00, 0.90, 1.80, 1.00, 9.90, NULL, 0, 1, 1646172123, NULL),
(181, 1015, 979, 335, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 10.00, 1.00, 2.00, 0.00, 11.00, NULL, 0, 1, 1646172159, NULL),
(182, 1015, 929, 336, 2009, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 10.00, 1.00, 2.00, 0.00, 11.00, NULL, 0, 1, 1646172296, NULL),
(183, 1015, 996, NULL, 2008, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1646174000, NULL),
(184, 1015, 1017, NULL, 2008, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1646174029, NULL),
(185, 1015, 1016, NULL, 2008, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1646326504, NULL),
(186, 1015, 995, 337, NULL, NULL, 30, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'meeting', 750.00, 75.00, 150.00, 0.00, 825.00, NULL, 0, 1, 1646379288, NULL),
(187, NULL, 930, 339, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, 'credit', 'registration_package', 199.00, 19.90, 0.00, NULL, 218.90, NULL, 0, 1, 1646386787, NULL),
(188, NULL, 859, 340, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, 'credit', 'registration_package', 200.00, 20.00, 0.00, NULL, 220.00, NULL, 0, 1, 1646387655, NULL),
(189, 929, 995, NULL, 2010, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1655872666, NULL),
(190, 929, 996, NULL, 2010, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1655875500, NULL),
(191, 929, 930, NULL, 2010, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 0.00, NULL, NULL, NULL, 0.00, NULL, 0, 1, 1655877104, NULL),
(192, 1015, 930, 341, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'bundle', 50.00, 5.00, 10.00, 0.00, 55.00, 0.00, 0, 1, 1656083262, NULL),
(193, 1016, 995, 342, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'credit', 'product', 5.00, 0.25, 1.00, 0.00, 5.25, 0.00, 0, 1, 1656103844, NULL),
(194, 1015, 923, 343, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, NULL, NULL, 'credit', 'product', 25.00, 1.25, 2.50, 0.00, 31.25, 5.00, 0, 1, 1656104131, NULL),
(195, 864, 996, 344, 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 40.00, 3.60, 7.20, 4.00, 39.60, 0.00, 0, 1, 1656130481, NULL),
(196, 934, 930, 345, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 3, NULL, NULL, NULL, 'credit', 'product', 290.00, 14.50, 29.00, 0.00, 314.50, 10.00, 0, 1, 1656130707, NULL),
(197, 1015, 996, 346, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 4, NULL, NULL, NULL, 'credit', 'product', 75.00, 3.75, 15.00, 0.00, 78.75, 0.00, 0, 1, 1656130963, NULL),
(198, 934, 979, 347, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'bundle', 8.00, 0.80, 1.60, 0.00, 8.80, 0.00, 0, 1, 1656139703, NULL),
(199, 929, 979, 347, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'bundle', 25.00, 2.50, 5.00, 0.00, 27.50, 0.00, 0, 1, 1656139705, NULL),
(200, 1015, 1017, 348, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, NULL, 'credit', 'product', 25.00, 1.00, 2.00, 5.00, 26.00, 5.00, 0, 1, 1656148574, NULL),
(201, 1015, 995, 350, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, NULL, NULL, NULL, 'credit', 'product', 50.00, 2.25, 4.50, 5.00, 52.25, 5.00, 0, 1, 1656148838, NULL),
(202, 1, 995, 351, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, NULL, NULL, 'credit', 'product', 20.00, 1.00, 4.00, 4.00, 17.00, 0.00, 0, 1, 1656322658, NULL),
(269, 929, 979, 696, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, 'credit', 'gift', 60.00, 3.60, 3.60, 24.00, 39.60, 0.00, 0, 1, 1678919437, NULL),
(276, 870, 1045, 703, 2022, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 100.00, 10.00, 20.00, 0.00, 110.00, 0.00, 0, 1, 1678959222, NULL),
(278, 929, 930, 705, 2004, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 60.00, 3.60, 3.60, 24.00, 39.60, 0.00, 0, 1, 1678961218, NULL),
(280, 867, 1045, 707, 2000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'credit', 'webinar', 30.00, 3.00, 6.00, 0.00, 33.00, 0.00, 0, 1, 1679088431, NULL);

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

--
-- Table structure for table `sales_log`
--

CREATE TABLE `sales_log` (
  `id` int UNSIGNED NOT NULL,
  `sale_id` int UNSIGNED NOT NULL,
  `viewed_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sales_log`
--

INSERT INTO `sales_log` (`id`, `sale_id`, `viewed_at`) VALUES
(1, 173, 1635412221),
(2, 172, 1635412222),
(3, 171, 1635412222),
(4, 170, 1635412222),
(5, 169, 1635412222),
(6, 168, 1635412222),
(7, 167, 1635412222),
(8, 166, 1635412222),
(9, 165, 1635412222),
(10, 164, 1635412222),
(11, 163, 1635412231),
(12, 162, 1635412231),
(13, 161, 1635412231),
(14, 160, 1635412231),
(15, 159, 1635412231),
(16, 158, 1635412231),
(17, 157, 1635412231),
(18, 156, 1635412231),
(19, 155, 1635412231),
(20, 154, 1635412231),
(21, 153, 1635412234),
(22, 152, 1635412234),
(23, 151, 1635412234),
(24, 150, 1635412234),
(25, 149, 1635412234),
(26, 148, 1635412234),
(27, 147, 1635412234),
(28, 146, 1635412234),
(29, 145, 1635412234),
(30, 144, 1635412234),
(31, 143, 1635412235),
(32, 142, 1635412235),
(33, 141, 1635412235),
(34, 184, 1646260033),
(35, 183, 1646260033),
(36, 182, 1646260033),
(37, 181, 1646260033),
(38, 180, 1646260033),
(39, 179, 1646260033),
(40, 178, 1646260033),
(41, 177, 1646260033),
(42, 176, 1646260033),
(43, 175, 1646260033),
(44, 191, 1655970525),
(45, 190, 1655970525),
(46, 189, 1655970525),
(47, 185, 1655970525),
(48, 195, 1656233676),
(126, 199, 1678864379),
(127, 198, 1678864379),
(128, 192, 1678864379),
(129, 188, 1678864379),
(130, 187, 1678864379),
(131, 186, 1678864379),
(132, 174, 1678864399),
(133, 269, 1678925651),
(135, 278, 1679088169),
(137, 276, 1679088169),
(138, 280, 1679090268);

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

--
-- Table structure for table `sections`
--

CREATE TABLE `sections` (
  `id` int UNSIGNED NOT NULL,
  `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `section_group_id` int UNSIGNED DEFAULT NULL,
  `caption` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('admin','panel') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'admin'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sections`
--

INSERT INTO `sections` (`id`, `name`, `section_group_id`, `caption`, `type`) VALUES
(1, 'admin_general_dashboard', NULL, 'General Dashboard', 'admin'),
(2, 'admin_general_dashboard_show', 1, 'General Dashboard page', 'admin'),
(3, 'admin_general_dashboard_quick_access_links', 1, 'Quick access links in General Dashboard', 'admin'),
(4, 'admin_general_dashboard_daily_sales_statistics', 1, 'Daily Sales Type Statistics Section', 'admin'),
(5, 'admin_general_dashboard_income_statistics', 1, 'Income Statistics Section', 'admin'),
(6, 'admin_general_dashboard_total_sales_statistics', 1, 'Total Sales Statistics Section', 'admin'),
(7, 'admin_general_dashboard_new_sales', 1, 'New Sales Section', 'admin'),
(8, 'admin_general_dashboard_new_comments', 1, 'New Comments Section', 'admin'),
(9, 'admin_general_dashboard_new_tickets', 1, 'New Tickets Section', 'admin'),
(10, 'admin_general_dashboard_new_reviews', 1, 'New Reviews Section', 'admin'),
(11, 'admin_general_dashboard_sales_statistics_chart', 1, 'Sales Statistics Chart', 'admin'),
(12, 'admin_general_dashboard_recent_comments', 1, 'Recent comments Section', 'admin'),
(13, 'admin_general_dashboard_recent_tickets', 1, 'Recent tickets Section', 'admin'),
(14, 'admin_general_dashboard_recent_webinars', 1, 'Recent webinars Section', 'admin'),
(15, 'admin_general_dashboard_recent_courses', 1, 'Recent courses Section', 'admin'),
(16, 'admin_general_dashboard_users_statistics_chart', 1, 'Users Statistics Chart', 'admin'),
(17, 'admin_clear_cache', 1, 'Clear cache', 'admin'),
(25, 'admin_marketing_dashboard', NULL, 'Marketing Dashboard', 'admin'),
(26, 'admin_marketing_dashboard_show', 25, 'Marketing Dashboard page', 'admin'),
(50, 'admin_roles', NULL, 'Roles', 'admin'),
(51, 'admin_roles_list', 50, 'Roles List', 'admin'),
(52, 'admin_roles_create', 50, 'Roles Create', 'admin'),
(53, 'admin_roles_edit', 50, 'Roles Edit', 'admin'),
(54, 'admin_roles_delete', 50, 'Roles Delete', 'admin'),
(100, 'admin_users', NULL, 'Users', 'admin'),
(101, 'admin_staffs_list', 100, 'Staffs list', 'admin'),
(102, 'admin_users_list', 100, 'Students list', 'admin'),
(103, 'admin_instructors_list', 100, 'Instructors list', 'admin'),
(104, 'admin_organizations_list', 100, 'Organizations list', 'admin'),
(105, 'admin_users_create', 100, 'Users Create', 'admin'),
(106, 'admin_users_edit', 100, 'Users Edit', 'admin'),
(107, 'admin_users_delete', 100, 'Users Delete', 'admin'),
(108, 'admin_users_export_excel', 100, 'List Export excel', 'admin'),
(109, 'admin_users_badges', 100, 'Users Badges', 'admin'),
(110, 'admin_users_badges_edit', 100, 'Badges edit', 'admin'),
(111, 'admin_users_badges_delete', 100, 'Badges delete', 'admin'),
(112, 'admin_users_impersonate', 100, 'users impersonate (login by users)', 'admin'),
(113, 'admin_become_instructors_list', 100, 'Lists of requests for become instructors', 'admin'),
(114, 'admin_become_instructors_reject', 100, 'Reject requests for become instructors', 'admin'),
(115, 'admin_become_instructors_delete', 100, 'Delete requests for become instructors', 'admin'),
(116, 'admin_update_user_registration_package', 100, 'Edit user registration package', 'admin'),
(117, 'admin_update_user_meeting_settings', 100, 'Edit user meeting settings', 'admin'),
(118, 'admin_update_user_role_in_edit_page', 100, 'Update User role in edit page', 'admin'),
(150, 'admin_webinars', NULL, 'Webinars', 'admin'),
(151, 'admin_webinars_list', 150, 'Webinars List', 'admin'),
(152, 'admin_webinars_create', 150, 'Webinars Create', 'admin'),
(153, 'admin_webinars_edit', 150, 'Webinars Edit', 'admin'),
(154, 'admin_webinars_delete', 150, 'Webinars Delete', 'admin'),
(155, 'admin_webinars_export_excel', 150, 'Export excel webinars list', 'admin'),
(156, 'admin_feature_webinars', 150, 'Feature webinars list', 'admin'),
(157, 'admin_feature_webinars_create', 150, 'create feature webinar', 'admin'),
(158, 'admin_feature_webinars_export_excel', 150, 'Feature webinar export excel', 'admin'),
(159, 'admin_webinar_students_lists', 150, 'Webinar students Lists', 'admin'),
(160, 'admin_webinar_students_delete', 150, 'Webinar students delete', 'admin'),
(161, 'admin_webinar_notification_to_students', 150, 'Send notification to course students', 'admin'),
(162, 'admin_webinar_statistics', 150, 'Course statistics', 'admin'),
(163, 'admin_agora_history_list', 150, 'Agora history lists', 'admin'),
(164, 'admin_agora_history_export', 150, 'Agora history export', 'admin'),
(165, 'admin_course_question_forum_list', 150, 'Forum Question Lists', 'admin'),
(166, 'admin_course_question_forum_answers', 150, 'Forum Answers Lists', 'admin'),
(167, 'admin_course_personal_notes', 150, 'Course Personal Notes', 'admin'),
(200, 'admin_categories', NULL, 'Categories', 'admin'),
(201, 'admin_categories_list', 200, 'Categories List', 'admin'),
(202, 'admin_categories_create', 200, 'Categories Create', 'admin'),
(203, 'admin_categories_edit', 200, 'Categories Edit', 'admin'),
(204, 'admin_categories_delete', 200, 'Categories Delete', 'admin'),
(205, 'admin_trending_categories', 200, 'Trends Categories List', 'admin'),
(206, 'admin_create_trending_categories', 200, 'Create Trend Categories', 'admin'),
(207, 'admin_edit_trending_categories', 200, 'Edit Trend Categories', 'admin'),
(208, 'admin_delete_trending_categories', 200, 'Delete Trend Categories', 'admin'),
(250, 'admin_tags', NULL, 'Tags', 'admin'),
(251, 'admin_tags_list', 250, 'Tags List', 'admin'),
(252, 'admin_tags_create', 250, 'Tags Create', 'admin'),
(253, 'admin_tags_edit', 250, 'Tags Edit', 'admin'),
(254, 'admin_tags_delete', 250, 'Tags Delete', 'admin'),
(300, 'admin_filters', NULL, 'Filters', 'admin'),
(301, 'admin_filters_list', 300, 'Filters List', 'admin'),
(302, 'admin_filters_create', 300, 'Filters Create', 'admin'),
(303, 'admin_filters_edit', 300, 'Filters Edit', 'admin'),
(304, 'admin_filters_delete', 300, 'Filters Delete', 'admin'),
(350, 'admin_quizzes', NULL, 'Quizzes', 'admin'),
(351, 'admin_quizzes_list', 350, 'Quizzes List', 'admin'),
(352, 'admin_quizzes_create', 350, 'Create Quiz', 'admin'),
(353, 'admin_quizzes_edit', 350, 'Edit Quiz', 'admin'),
(354, 'admin_quizzes_delete', 350, 'Delete Quiz', 'admin'),
(355, 'admin_quizzes_results', 350, 'Quizzes results', 'admin'),
(356, 'admin_quizzes_results_delete', 350, 'Quizzes results delete', 'admin'),
(357, 'admin_quizzes_lists_excel', 350, 'Quizzes export excel', 'admin'),
(400, 'admin_quiz_result', NULL, 'Quiz Result', 'admin'),
(401, 'admin_quiz_result_list', 400, 'Quiz Result List', 'admin'),
(402, 'admin_quiz_result_create', 400, 'Quiz Result Create', 'admin'),
(403, 'admin_quiz_result_edit', 400, 'Quiz Result Edit', 'admin'),
(404, 'admin_quiz_result_delete', 400, 'Quiz Result Delete', 'admin'),
(405, 'admin_quiz_result_export_excel', 400, 'quiz result export excel', 'admin'),
(450, 'admin_certificate', NULL, 'Certificate', 'admin'),
(451, 'admin_certificate_list', 450, 'Certificate List', 'admin'),
(452, 'admin_certificate_create', 450, 'Certificate Create', 'admin'),
(453, 'admin_certificate_edit', 450, 'Certificate Edit', 'admin'),
(454, 'admin_certificate_delete', 450, 'Certificate Delete', 'admin'),
(455, 'admin_certificate_template_list', 450, 'Certificate template lists', 'admin'),
(456, 'admin_certificate_template_create', 450, 'Certificate template create', 'admin'),
(457, 'admin_certificate_template_edit', 450, 'Certificate template edit', 'admin'),
(458, 'admin_certificate_template_delete', 450, 'Certificate template delete', 'admin'),
(459, 'admin_certificate_export_excel', 450, 'Certificates export excel', 'admin'),
(460, 'admin_course_certificate_list', 450, 'Course Competition Certificates', 'admin'),
(461, 'admin_certificate_settings', 450, 'Settings', 'admin'),
(500, 'admin_discount_codes', NULL, 'Discount codes', 'admin'),
(501, 'admin_discount_codes_list', 500, 'Discount codes list', 'admin'),
(502, 'admin_discount_codes_create', 500, 'Discount codes create', 'admin'),
(503, 'admin_discount_codes_edit', 500, 'Discount codes edit', 'admin'),
(504, 'admin_discount_codes_delete', 500, 'Discount codes delete', 'admin'),
(505, 'admin_discount_codes_export', 500, 'Discount codes export excel', 'admin'),
(550, 'admin_group', NULL, 'Groups', 'admin'),
(551, 'admin_group_list', 550, 'Groups List', 'admin'),
(552, 'admin_group_create', 550, 'Groups Create', 'admin'),
(553, 'admin_group_edit', 550, 'Groups Edit', 'admin'),
(554, 'admin_group_delete', 550, 'Groups Delete', 'admin'),
(555, 'admin_update_group_registration_package', 550, 'Update group registration package', 'admin'),
(600, 'admin_payment_channel', NULL, 'Payment Channels', 'admin'),
(601, 'admin_payment_channel_list', 600, 'Payment Channels List', 'admin'),
(602, 'admin_payment_channel_toggle_status', 600, 'active or inactive channel', 'admin'),
(603, 'admin_payment_channel_edit', 600, 'Payment Channels Edit', 'admin'),
(650, 'admin_settings', NULL, 'settings', 'admin'),
(651, 'admin_settings_general', 650, 'General settings', 'admin'),
(652, 'admin_settings_financial', 650, 'Financial settings', 'admin'),
(653, 'admin_settings_personalization', 650, 'Personalization settings', 'admin'),
(654, 'admin_settings_notifications', 650, 'Notifications settings', 'admin'),
(655, 'admin_settings_seo', 650, 'Seo settings', 'admin'),
(656, 'admin_settings_customization', 650, 'Customization settings', 'admin'),
(657, 'admin_settings_update_app', 650, 'Update App settings', 'admin'),
(658, 'admin_settings_home_sections', 650, 'Home sections settings', 'admin'),
(700, 'admin_blog', NULL, 'Blog', 'admin'),
(701, 'admin_blog_lists', 700, 'Blog lists', 'admin'),
(702, 'admin_blog_create', 700, 'Blog create', 'admin'),
(703, 'admin_blog_edit', 700, 'Blog edit', 'admin'),
(704, 'admin_blog_delete', 700, 'Blog delete', 'admin'),
(705, 'admin_blog_categories', 700, 'Blog categories list', 'admin'),
(706, 'admin_blog_categories_create', 700, 'Blog categories create', 'admin'),
(707, 'admin_blog_categories_edit', 700, 'Blog categories edit', 'admin'),
(708, 'admin_blog_categories_delete', 700, 'Blog categories delete', 'admin'),
(750, 'admin_sales', NULL, 'Sales', 'admin'),
(751, 'admin_sales_list', 750, 'Sales List', 'admin'),
(752, 'admin_sales_refund', 750, 'Sales Refund', 'admin'),
(753, 'admin_sales_invoice', 750, 'Sales invoice', 'admin'),
(754, 'admin_sales_export', 750, 'Sales Export Excel', 'admin'),
(800, 'admin_documents', NULL, 'Balances', 'admin'),
(801, 'admin_documents_list', 800, 'Balances List', 'admin'),
(802, 'admin_documents_create', 800, 'Balances Create', 'admin'),
(803, 'admin_documents_print', 800, 'Balances print', 'admin'),
(850, 'admin_payouts', NULL, 'Payout', 'admin'),
(851, 'admin_payouts_list', 850, 'Payout List', 'admin'),
(852, 'admin_payouts_reject', 850, 'Payout Reject', 'admin'),
(853, 'admin_payouts_payout', 850, 'Payout accept', 'admin'),
(854, 'admin_payouts_export_excel', 850, 'Payout export excel', 'admin'),
(900, 'admin_offline_payments', NULL, 'Offline Payments', 'admin'),
(901, 'admin_offline_payments_list', 900, 'Offline Payments List', 'admin'),
(902, 'admin_offline_payments_reject', 900, 'Offline Payments Reject', 'admin'),
(903, 'admin_offline_payments_approved', 900, 'Offline Payments Approved', 'admin'),
(904, 'admin_offline_payments_export_excel', 900, 'Offline Payments export excel', 'admin'),
(950, 'admin_supports', NULL, 'Supports', 'admin'),
(951, 'admin_supports_list', 950, 'Supports List', 'admin'),
(952, 'admin_support_send', 950, 'Send Support', 'admin'),
(953, 'admin_supports_reply', 950, 'Supports reply', 'admin'),
(954, 'admin_supports_delete', 950, 'Supports delete', 'admin'),
(955, 'admin_support_departments', 950, 'Support departments lists', 'admin'),
(956, 'admin_support_department_create', 950, 'Create support department', 'admin'),
(957, 'admin_support_departments_edit', 950, 'Edit support departments', 'admin'),
(958, 'admin_support_departments_delete', 950, 'Delete support department', 'admin'),
(959, 'admin_support_course_conversations', 950, 'Course conversations', 'admin'),
(1000, 'admin_subscribe', NULL, 'Subscribes', 'admin'),
(1001, 'admin_subscribe_list', 1000, 'Subscribes list', 'admin'),
(1002, 'admin_subscribe_create', 1000, 'Subscribes create', 'admin'),
(1003, 'admin_subscribe_edit', 1000, 'Subscribes edit', 'admin'),
(1004, 'admin_subscribe_delete', 1000, 'Subscribes delete', 'admin'),
(1050, 'admin_notifications', NULL, 'Notifications', 'admin'),
(1051, 'admin_notifications_list', 1050, 'Notifications list', 'admin'),
(1052, 'admin_notifications_send', 1050, 'Send Notifications', 'admin'),
(1053, 'admin_notifications_edit', 1050, 'Edit and details Notifications', 'admin'),
(1054, 'admin_notifications_delete', 1050, 'Delete Notifications', 'admin'),
(1055, 'admin_notifications_markAllRead', 1050, 'Mark All Read Notifications', 'admin'),
(1056, 'admin_notifications_templates', 1050, 'Notifications templates', 'admin'),
(1057, 'admin_notifications_template_create', 1050, 'Create notification template', 'admin'),
(1058, 'admin_notifications_template_edit', 1050, 'Edit notification template', 'admin'),
(1059, 'admin_notifications_template_delete', 1050, 'Delete notification template', 'admin'),
(1060, 'admin_notifications_posted_list', 1050, 'Notifications Posted list', 'admin'),
(1075, 'admin_noticeboards', NULL, 'Noticeboards', 'admin'),
(1076, 'admin_noticeboards_list', 1075, 'Noticeboards list', 'admin'),
(1077, 'admin_noticeboards_send', 1075, 'Send Noticeboards', 'admin'),
(1078, 'admin_noticeboards_edit', 1075, 'Edit Noticeboards', 'admin'),
(1079, 'admin_noticeboards_delete', 1075, 'Delete Noticeboards', 'admin'),
(1080, 'admin_course_noticeboards_list', 1075, 'Course Noticeboards list', 'admin'),
(1081, 'admin_course_noticeboards_send', 1075, 'Send Course Noticeboards', 'admin'),
(1082, 'admin_course_noticeboards_edit', 1075, 'Edit Course Noticeboards', 'admin'),
(1083, 'admin_course_noticeboards_delete', 1075, 'Delete Course Noticeboards', 'admin'),
(1100, 'admin_promotion', NULL, 'Promotions', 'admin'),
(1101, 'admin_promotion_list', 1100, 'Promotions list', 'admin'),
(1102, 'admin_promotion_create', 1100, 'Promotion create', 'admin'),
(1103, 'admin_promotion_edit', 1100, 'Promotion edit', 'admin'),
(1104, 'admin_promotion_delete', 1100, 'Promotion delete', 'admin'),
(1150, 'admin_testimonials', NULL, 'testimonials', 'admin'),
(1151, 'admin_testimonials_list', 1150, 'testimonials list', 'admin'),
(1152, 'admin_testimonials_create', 1150, 'testimonials create', 'admin'),
(1153, 'admin_testimonials_edit', 1150, 'testimonials edit', 'admin'),
(1154, 'admin_testimonials_delete', 1150, 'testimonials delete', 'admin'),
(1200, 'admin_advertising', NULL, 'advertising', 'admin'),
(1201, 'admin_advertising_banners', 1200, 'advertising banners list', 'admin'),
(1202, 'admin_advertising_banners_create', 1200, 'create advertising banner', 'admin'),
(1203, 'admin_advertising_banners_edit', 1200, 'edit advertising banner', 'admin'),
(1204, 'admin_advertising_banners_delete', 1200, 'delete advertising banner', 'admin'),
(1230, 'admin_newsletters', NULL, 'Newsletters', 'admin'),
(1231, 'admin_newsletters_lists', 1230, 'Newsletters lists', 'admin'),
(1232, 'admin_newsletters_send', 1230, 'Send Newsletters', 'admin'),
(1233, 'admin_newsletters_history', 1230, 'Newsletters histories', 'admin'),
(1234, 'admin_newsletters_delete', 1230, 'Delete newsletters item', 'admin'),
(1235, 'admin_newsletters_export_excel', 1230, 'Export excel newsletters item', 'admin'),
(1250, 'admin_contacts', NULL, 'Contacts', 'admin'),
(1251, 'admin_contacts_lists', 1250, 'Contacts lists', 'admin'),
(1252, 'admin_contacts_reply', 1250, 'Contacts reply', 'admin'),
(1253, 'admin_contacts_delete', 1250, 'Contacts delete', 'admin'),
(1300, 'admin_product_discount', NULL, 'product discount', 'admin'),
(1301, 'admin_product_discount_list', 1300, 'product discount list', 'admin'),
(1302, 'admin_product_discount_create', 1300, 'create product discount', 'admin'),
(1303, 'admin_product_discount_edit', 1300, 'edit product discount', 'admin'),
(1304, 'admin_product_discount_delete', 1300, 'delete product discount', 'admin'),
(1305, 'admin_product_discount_export', 1300, 'delete product export excel', 'admin'),
(1350, 'admin_pages', NULL, 'pages', 'admin'),
(1351, 'admin_pages_list', 1350, 'pages list', 'admin'),
(1352, 'admin_pages_create', 1350, 'pages create', 'admin'),
(1353, 'admin_pages_edit', 1350, 'pages edit', 'admin'),
(1354, 'admin_pages_toggle', 1350, 'pages toggle publish/draft', 'admin'),
(1355, 'admin_pages_delete', 1350, 'pages delete', 'admin'),
(1400, 'admin_comments', NULL, 'Comments', 'admin'),
(1401, 'admin_comments_edit', 1400, 'Comments edit', 'admin'),
(1402, 'admin_comments_reply', 1400, 'Comments reply', 'admin'),
(1403, 'admin_comments_delete', 1400, 'Comments delete', 'admin'),
(1404, 'admin_comments_status', 1400, 'Comments status (active or pending)', 'admin'),
(1405, 'admin_comments_reports', 1400, 'Reports', 'admin'),
(1406, 'admin_webinar_comments', 1400, 'Classes comments', 'admin'),
(1407, 'admin_blog_comments', 1400, 'Blog comments', 'admin'),
(1408, 'admin_product_comments', 1400, 'Product comments', 'admin'),
(1409, 'admin_bundle_comments', 1400, 'Bundle comments', 'admin'),
(1450, 'admin_reports', NULL, 'Reports', 'admin'),
(1451, 'admin_webinar_reports', 1450, 'Classes reports', 'admin'),
(1452, 'admin_webinar_comments_reports', 1450, 'Classes Comments reports', 'admin'),
(1453, 'admin_webinar_reports_delete', 1450, 'Classes reports delete', 'admin'),
(1454, 'admin_blog_comments_reports', 1450, 'Blog Comments reports', 'admin'),
(1455, 'admin_report_reasons', 1450, 'Reports reasons', 'admin'),
(1456, 'admin_product_comments_reports', 1450, 'Products Comments reports', 'admin'),
(1457, 'admin_forum_topic_post_reports', 1450, 'Forum Topic Posts Reports', 'admin'),
(1500, 'admin_additional_pages', NULL, 'Additional Pages', 'admin'),
(1501, 'admin_additional_pages_404', 1500, '404 error page settings', 'admin'),
(1502, 'admin_additional_pages_contact_us', 1500, 'Contact page settings', 'admin'),
(1503, 'admin_additional_pages_footer', 1500, 'Footer settings', 'admin'),
(1504, 'admin_additional_pages_navbar_links', 1500, 'Top Navbar links settings', 'admin'),
(1550, 'admin_appointments', NULL, 'Appointments', 'admin'),
(1551, 'admin_appointments_lists', 1550, 'Appointments lists', 'admin'),
(1552, 'admin_appointments_join', 1550, 'Appointments join', 'admin'),
(1553, 'admin_appointments_send_reminder', 1550, 'Appointments send reminder', 'admin'),
(1554, 'admin_appointments_cancel', 1550, 'Appointments cancel', 'admin'),
(1600, 'admin_reviews', NULL, 'Reviews', 'admin'),
(1601, 'admin_reviews_lists', 1600, 'Reviews lists', 'admin'),
(1602, 'admin_reviews_status_toggle', 1600, 'Reviews status toggle (publish or hidden)', 'admin'),
(1603, 'admin_reviews_detail_show', 1600, 'Review details page', 'admin'),
(1604, 'admin_reviews_reply', 1600, 'Review reply', 'admin'),
(1605, 'admin_reviews_delete', 1600, 'Review delete', 'admin'),
(1650, 'admin_consultants', NULL, 'Consultants', 'admin'),
(1651, 'admin_consultants_lists', 1650, 'Consultants lists', 'admin'),
(1652, 'admin_consultants_export_excel', 1650, 'Consultants export excel', 'admin'),
(1675, 'admin_referrals', NULL, 'Referrals', 'admin'),
(1676, 'admin_referrals_history', 1675, 'Referrals History', 'admin'),
(1677, 'admin_referrals_users', 1675, 'Referrals users', 'admin'),
(1678, 'admin_referrals_export', 1675, 'Export Referrals', 'admin'),
(1725, 'admin_regions', NULL, 'Regions', 'admin'),
(1726, 'admin_regions_countries', 1725, 'countries lists', 'admin'),
(1727, 'admin_regions_provinces', 1725, 'provinces lists', 'admin'),
(1728, 'admin_regions_cities', 1725, 'cities lists', 'admin'),
(1729, 'admin_regions_districts', 1725, 'districts lists', 'admin'),
(1730, 'admin_regions_create', 1725, 'create item', 'admin'),
(1731, 'admin_regions_edit', 1725, 'edit item', 'admin'),
(1732, 'admin_regions_delete', 1725, 'delete item', 'admin'),
(1750, 'admin_rewards', NULL, 'Rewards', 'admin'),
(1751, 'admin_rewards_history', 1750, 'Rewards history', 'admin'),
(1752, 'admin_rewards_settings', 1750, 'Rewards settings', 'admin'),
(1753, 'admin_rewards_items', 1750, 'Rewards items', 'admin'),
(1754, 'admin_rewards_item_delete', 1750, 'Reward item delete', 'admin'),
(1775, 'admin_registration_packages', NULL, 'Registration packages', 'admin'),
(1776, 'admin_registration_packages_lists', 1775, 'packages lists', 'admin'),
(1777, 'admin_registration_packages_new', 1775, 'New package', 'admin'),
(1778, 'admin_registration_packages_edit', 1775, 'Edit package', 'admin'),
(1779, 'admin_registration_packages_delete', 1775, 'Delete package', 'admin'),
(1780, 'admin_registration_packages_reports', 1775, 'Reports', 'admin'),
(1781, 'admin_registration_packages_settings', 1775, 'Settings', 'admin'),
(1800, 'admin_store', NULL, 'Store', 'admin'),
(1801, 'admin_store_products', 1800, 'Products lists', 'admin'),
(1802, 'admin_store_new_product', 1800, 'Create New Product', 'admin'),
(1803, 'admin_store_edit_product', 1800, 'Edit Product', 'admin'),
(1804, 'admin_store_delete_product', 1800, 'Delete Product', 'admin'),
(1805, 'admin_store_export_products', 1800, 'Export excel Products', 'admin'),
(1806, 'admin_store_categories_list', 1800, 'Store Categories Lists', 'admin'),
(1807, 'admin_store_categories_create', 1800, 'Create Store Category', 'admin'),
(1808, 'admin_store_categories_edit', 1800, 'Edit Store Category', 'admin'),
(1809, 'admin_store_categories_delete', 1800, 'Delete Store Category', 'admin'),
(1810, 'admin_store_filters_list', 1800, 'Store Filters Lists', 'admin'),
(1811, 'admin_store_filters_create', 1800, 'Create Store Filter', 'admin'),
(1812, 'admin_store_filters_edit', 1800, 'Edit Store Filter', 'admin'),
(1813, 'admin_store_filters_delete', 1800, 'Delete Store Filter', 'admin'),
(1814, 'admin_store_specifications', 1800, 'Store Specifications', 'admin'),
(1815, 'admin_store_specifications_create', 1800, 'Create New Store Specification', 'admin'),
(1816, 'admin_store_specifications_edit', 1800, 'Edit Store Specification', 'admin'),
(1817, 'admin_store_specifications_delete', 1800, 'Delete Store Specification', 'admin'),
(1818, 'admin_store_discounts', 1800, 'Store Discounts Lists', 'admin'),
(1819, 'admin_store_discounts_create', 1800, 'Create New Store discount', 'admin'),
(1820, 'admin_store_discounts_edit', 1800, 'Edit Store discount', 'admin'),
(1821, 'admin_store_discounts_delete', 1800, 'Delete Store discount', 'admin'),
(1822, 'admin_store_products_orders', 1800, 'Products Orders', 'admin'),
(1823, 'admin_store_products_orders_refund', 1800, 'Products Orders Refund', 'admin'),
(1824, 'admin_store_products_orders_invoice', 1800, 'Products Orders View Invoice', 'admin'),
(1825, 'admin_store_products_orders_export', 1800, 'Products Orders Export Excel', 'admin'),
(1826, 'admin_store_products_orders_tracking_code', 1800, 'Products Orders Tracking code', 'admin'),
(1827, 'admin_store_products_reviews', 1800, 'Reviews lists', 'admin'),
(1828, 'admin_store_products_reviews_status_toggle', 1800, 'Reviews status toggle (publish or hidden)', 'admin'),
(1829, 'admin_store_products_reviews_detail_show', 1800, 'Review details page', 'admin'),
(1830, 'admin_store_products_reviews_delete', 1800, 'Review delete', 'admin'),
(1831, 'admin_store_settings', 1800, 'Store settings', 'admin'),
(1832, 'admin_store_in_house_products', 1800, 'In-house products', 'admin'),
(1833, 'admin_store_in_house_orders', 1800, 'In-house Products Orders', 'admin'),
(1834, 'admin_store_products_sellers', 1800, 'Products Sellers', 'admin'),
(1835, 'admin_store_in_house_products_delete', 1800, 'In-house Products Delete', 'admin'),
(1836, 'admin_store_in_house_products_export', 1800, 'In-house Products Export Excel', 'admin'),
(1837, 'admin_store_in_house_orders', 1800, 'In-house Products Orders', 'admin'),
(1838, 'admin_store_products_sellers', 1800, 'Products Sellers', 'admin'),
(1850, 'admin_webinar_assignments', NULL, 'Webinar assignments', 'admin'),
(1851, 'admin_webinar_assignments_lists', 1850, 'Assignments lists', 'admin'),
(1852, 'admin_webinar_assignments_students', 1850, 'Assignment students', 'admin'),
(1853, 'admin_webinar_assignments_conversations', 1850, 'Assignment students conversations', 'admin'),
(1875, 'admin_users_not_access_content', NULL, 'Users do not have access to the content', 'admin'),
(1876, 'admin_users_not_access_content_lists', 1875, 'Users lists', 'admin'),
(1877, 'admin_users_not_access_content_toggle', 1875, 'Toggle active/inactive users to view content', 'admin'),
(1900, 'admin_bundles', NULL, 'Bundles', 'admin'),
(1901, 'admin_bundles_list', 1900, 'Bundles Lists', 'admin'),
(1902, 'admin_bundles_create', 1900, 'Create new Bundle', 'admin'),
(1903, 'admin_bundles_edit', 1900, 'Edit bundle', 'admin'),
(1904, 'admin_bundles_delete', 1900, 'Delete bundle', 'admin'),
(1905, 'admin_bundles_export_excel', 1900, 'Export excel', 'admin'),
(1925, 'admin_forum', NULL, 'Forums', 'admin'),
(1926, 'admin_forum_list', 1925, 'Forums Lists', 'admin'),
(1927, 'admin_forum_create', 1925, 'Forums create', 'admin'),
(1928, 'admin_forum_edit', 1925, 'Forums edit', 'admin'),
(1929, 'admin_forum_delete', 1925, 'Forums delete', 'admin'),
(1930, 'admin_forum_topics_lists', 1925, 'Forums topics lists', 'admin'),
(1931, 'admin_forum_topics_create', 1925, 'Forums topics create', 'admin'),
(1932, 'admin_forum_topics_delete', 1925, 'Forums topics delete', 'admin'),
(1933, 'admin_forum_topics_posts', 1925, 'Forums topic posts', 'admin'),
(1934, 'admin_forum_topics_create_posts', 1925, 'Forums topic store posts', 'admin'),
(1950, 'admin_featured_topics', NULL, 'Featured topics', 'admin'),
(1951, 'admin_featured_topics_list', 1950, 'Featured topics Lists', 'admin'),
(1952, 'admin_featured_topics_create', 1950, 'Featured topics create', 'admin'),
(1953, 'admin_featured_topics_edit', 1950, 'Featured topics edit', 'admin'),
(1954, 'admin_featured_topics_delete', 1950, 'Featured topics delete', 'admin'),
(1975, 'admin_recommended_topics', NULL, 'Recommended topics', 'admin'),
(1976, 'admin_recommended_topics_list', 1975, 'Recommended topics Lists', 'admin'),
(1977, 'admin_recommended_topics_create', 1975, 'Recommended topics create', 'admin'),
(1978, 'admin_recommended_topics_edit', 1975, 'Recommended topics edit', 'admin'),
(1979, 'admin_recommended_topics_delete', 1975, 'Recommended topics delete', 'admin'),
(2000, 'admin_advertising_modal', NULL, 'Advertising modal', 'admin'),
(2001, 'admin_advertising_modal_config', 2000, 'Set Advertising modal', 'admin'),
(2015, 'admin_enrollment', NULL, 'Enrollment', 'admin'),
(2016, 'admin_enrollment_history', 2015, 'Enrollment History', 'admin'),
(2017, 'admin_enrollment_add_student_to_items', 2015, 'Enrollment Add Student To Items', 'admin'),
(2018, 'admin_enrollment_block_access', 2015, 'Enrollment Block Access', 'admin'),
(2019, 'admin_enrollment_enable_access', 2015, 'Enrollment Enable Access', 'admin'),
(2020, 'admin_enrollment_export', 2015, 'Enrollment Export History', 'admin'),
(2021, 'admin_enrollment_export', 2015, 'Enrollment Export History', 'admin'),
(2030, 'admin_delete_account_requests', NULL, 'Delete Account Requests', 'admin'),
(2031, 'admin_delete_account_requests_lists', 2030, 'Delete Account Requests Lists', 'admin'),
(2032, 'admin_delete_account_requests_confirm', 2030, 'Delete Account Requests Confirm', 'admin'),
(2050, 'admin_upcoming_courses', NULL, 'Upcoming Course', 'admin'),
(2051, 'admin_upcoming_courses_list', 2050, 'Lists', 'admin'),
(2052, 'admin_upcoming_courses_create', 2050, 'Create', 'admin'),
(2053, 'admin_upcoming_courses_edit', 2050, 'Edit and Update', 'admin'),
(2054, 'admin_upcoming_courses_delete', 2050, 'Delete', 'admin'),
(2055, 'admin_upcoming_courses_followers', 2050, 'Followers', 'admin'),
(2070, 'admin_installments', NULL, 'Installments', 'admin'),
(2071, 'admin_installments_list', 2070, 'Lists', 'admin'),
(2072, 'admin_installments_create', 2070, 'Create', 'admin'),
(2073, 'admin_installments_edit', 2070, 'Edit and Update', 'admin'),
(2074, 'admin_installments_delete', 2070, 'Delete', 'admin'),
(2075, 'admin_installments_settings', 2070, 'Settings', 'admin'),
(2076, 'admin_installments_purchases', 2070, 'Purchases', 'admin'),
(2077, 'admin_installments_overdue_lists', 2070, 'Overdue Installments', 'admin'),
(2078, 'admin_installments_overdue_history', 2070, 'Overdue History', 'admin'),
(2079, 'admin_installments_verification_requests', 2070, 'Verification Requests', 'admin'),
(2080, 'admin_installments_verified_users', 2070, 'Verified Users', 'admin'),
(2081, 'admin_installments_orders', 2070, 'Approve/Reject/Refund Requests', 'admin'),
(2090, 'admin_registration_bonus', NULL, 'Registration Bonus', 'admin'),
(2091, 'admin_registration_bonus_history', 2090, 'History', 'admin'),
(2092, 'admin_registration_bonus_settings', 2090, 'Settings', 'admin'),
(2093, 'admin_registration_bonus_export_excel', 2090, 'Export Excel', 'admin'),
(3000, 'admin_floating_bar', NULL, 'Top/Bottom Floating Bar', 'admin'),
(3001, 'admin_floating_bar_create', 3000, 'Create/Edit', 'admin'),
(3010, 'admin_cashback', NULL, 'Cashback', 'admin'),
(3011, 'admin_cashback_rules', 3010, 'Rules', 'admin'),
(3012, 'admin_cashback_transactions', 3010, 'Transactions', 'admin'),
(3013, 'admin_cashback_history', 3010, 'History', 'admin'),
(3020, 'admin_waitlists', NULL, 'Waitlists', 'admin'),
(3021, 'admin_waitlists_lists', 3020, 'Lists', 'admin'),
(3022, 'admin_waitlists_users', 3020, 'Joined Users', 'admin'),
(3023, 'admin_waitlists_exports', 3020, 'Export excel lists', 'admin'),
(3024, 'admin_waitlists_clear_list', 3020, 'Clear lists', 'admin'),
(3025, 'admin_waitlists_disable', 3020, 'Disable', 'admin'),
(3030, 'admin_gift', NULL, 'Gifts', 'admin'),
(3031, 'admin_gift_history', 3030, 'History', 'admin'),
(3032, 'admin_gift_send_reminder', 3030, 'Send Reminder', 'admin'),
(3033, 'admin_gift_cancel', 3030, 'Cancel', 'admin'),
(3034, 'admin_gift_settings', 3030, 'Settings', 'admin'),
(3035, 'admin_gift_export', 3030, 'Export Excel', 'admin'),
(3040, 'admin_forms', NULL, 'Forms', 'admin'),
(3041, 'admin_forms_lists', 3040, 'Lists', 'admin'),
(3042, 'admin_forms_create', 3040, 'Create', 'admin'),
(3043, 'admin_forms_edit', 3040, 'Edit', 'admin'),
(3044, 'admin_forms_delete', 3040, 'Delete', 'admin'),
(3045, 'admin_forms_export', 3040, 'Export', 'admin'),
(3046, 'admin_forms_submissions', 3040, 'Submissions', 'admin'),
(3050, 'admin_ai_contents', NULL, 'AI Contents', 'admin'),
(3051, 'admin_ai_contents_lists', 3050, 'Generated Contents Lists', 'admin'),
(3052, 'admin_ai_contents_templates_lists', 3050, 'Template Lists', 'admin'),
(3053, 'admin_ai_contents_templates_create', 3050, 'Template Create', 'admin'),
(3054, 'admin_ai_contents_templates_edit', 3050, 'Template Edit', 'admin'),
(3055, 'admin_ai_contents_templates_delete', 3050, 'Template Delete', 'admin'),
(3056, 'admin_ai_contents_settings', 3050, 'Settings', 'admin'),
(3060, 'admin_purchase_notifications', NULL, 'Purchase Notifications', 'admin'),
(3061, 'admin_purchase_notifications_lists', 3060, 'Lists', 'admin'),
(3062, 'admin_purchase_notifications_create', 3060, 'Create', 'admin'),
(3063, 'admin_purchase_notifications_edit', 3060, 'Edit', 'admin'),
(3064, 'admin_purchase_notifications_delete', 3060, 'Delete', 'admin'),
(3070, 'admin_content_delete_requests', NULL, 'Content Delete Requests', 'admin'),
(3071, 'admin_content_delete_requests_lists', 3070, 'Lists', 'admin'),
(3072, 'admin_content_delete_requests_actions', 3070, 'Approve/Reject', 'admin'),
(3080, 'admin_user_login_history', NULL, 'User Login History', 'admin'),
(3081, 'admin_user_login_history_lists', 3080, 'Lists', 'admin'),
(3082, 'admin_user_login_history_delete', 3080, 'Delete', 'admin'),
(3083, 'admin_user_login_history_end_session', 3080, 'End Session', 'admin'),
(3084, 'admin_user_login_history_export', 3080, 'Export Excel', 'admin'),
(3090, 'admin_user_ip_restriction', NULL, 'User IP Restriction', 'admin'),
(3091, 'admin_user_ip_restriction_lists', 3090, 'Lists', 'admin'),
(3092, 'admin_user_ip_restriction_create', 3090, 'Create/Edit Restriction', 'admin'),
(3093, 'admin_user_ip_restriction_delete', 3090, 'Delete', 'admin'),
(3100, 'admin_product_badges', NULL, 'Product Badges', 'admin'),
(3101, 'admin_product_badges_lists', 3100, 'Lists', 'admin'),
(3102, 'admin_product_badges_create', 3100, 'Create', 'admin'),
(3103, 'admin_product_badges_edit', 3100, 'Edit', 'admin'),
(3104, 'admin_product_badges_delete', 3100, 'Delete', 'admin'),
(3110, 'admin_cart_discount', NULL, 'Cart Discount', 'admin'),
(3111, 'admin_cart_discount_controls', 3110, 'Controls', 'admin'),
(3120, 'admin_abandoned_cart', NULL, 'Abandoned Cart', 'admin'),
(3121, 'admin_abandoned_cart_rules', 3120, 'Rules (Create/Edit/Delete)', 'admin'),
(3122, 'admin_abandoned_cart_users', 3120, 'Users Cart', 'admin'),
(3123, 'admin_abandoned_cart_settings', 3120, 'Settings', 'admin'),
(3130, 'admin_translator', NULL, 'Translator', 'admin'),
(3131, 'admin_translator_actions', 3130, 'Actions (Create/Edit/Delete)', 'admin'),
(100001, 'panel_organization_instructors', NULL, 'Organization Instructors', 'panel'),
(100002, 'panel_organization_instructors_lists', 100001, 'Lists', 'panel'),
(100003, 'panel_organization_instructors_create', 100001, 'Create', 'panel'),
(100004, 'panel_organization_instructors_edit', 100001, 'Edit', 'panel'),
(100005, 'panel_organization_instructors_delete', 100001, 'Delete', 'panel'),
(100010, 'panel_organization_students', NULL, 'Organization Students', 'panel'),
(100011, 'panel_organization_students_lists', 100010, 'Lists', 'panel'),
(100012, 'panel_organization_students_create', 100010, 'Create', 'panel'),
(100013, 'panel_organization_students_edit', 100010, 'Edit', 'panel'),
(100014, 'panel_organization_students_delete', 100010, 'Delete', 'panel'),
(100020, 'panel_webinars', NULL, 'Webinars (Courses)', 'panel'),
(100021, 'panel_webinars_lists', 100020, 'Lists', 'panel'),
(100022, 'panel_webinars_create', 100020, 'Create/Edit', 'panel'),
(100023, 'panel_webinars_delete', 100020, 'Delete', 'panel'),
(100024, 'panel_webinars_learning_page', 100020, 'Learning Page', 'panel'),
(100025, 'panel_webinars_invited_lists', 100020, 'Invited Class Lists', 'panel'),
(100026, 'panel_webinars_organization_classes', 100020, 'My Organization classes', 'panel'),
(100027, 'panel_webinars_my_purchases', 100020, 'My Purchases', 'panel'),
(100028, 'panel_webinars_my_class_comments', 100020, 'My Class Comments', 'panel'),
(100029, 'panel_webinars_comments', 100020, 'My Comments', 'panel'),
(100030, 'panel_webinars_favorites', 100020, 'Favorites', 'panel'),
(100031, 'panel_webinars_personal_course_notes', 100020, 'Personal Course Notes', 'panel'),
(100032, 'panel_webinars_duplicate', 100020, 'Duplicate', 'panel'),
(100033, 'panel_webinars_export_students_list', 100020, 'Export Students List', 'panel'),
(100034, 'panel_webinars_invoice', 100020, 'Invoice', 'panel'),
(100035, 'panel_webinars_statistics', 100020, 'Statistics', 'panel'),
(100040, 'panel_upcoming_courses', NULL, 'Upcoming Courses', 'panel'),
(100041, 'panel_upcoming_courses_lists', 100040, 'Lists', 'panel'),
(100042, 'panel_upcoming_courses_create', 100040, 'Create/Edit', 'panel'),
(100043, 'panel_upcoming_courses_delete', 100040, 'Delete', 'panel'),
(100044, 'panel_upcoming_courses_followings', 100040, 'Followings', 'panel'),
(100045, 'panel_upcoming_courses_followers', 100040, 'Followers', 'panel'),
(100050, 'panel_bundles', NULL, 'Bundles', 'panel'),
(100051, 'panel_bundles_lists', 100050, 'Lists', 'panel'),
(100052, 'panel_bundles_create', 100050, 'Create/Edit', 'panel'),
(100053, 'panel_bundles_delete', 100050, 'Delete', 'panel'),
(100054, 'panel_bundles_export_students_list', 100050, 'Export Students List', 'panel'),
(100055, 'panel_bundles_courses', 100050, 'Courses', 'panel'),
(100060, 'panel_assignments', NULL, 'Assignments', 'panel'),
(100061, 'panel_assignments_lists', 100060, 'My Assignments Lists', 'panel'),
(100062, 'panel_assignments_my_courses_assignments', 100060, 'My Courses Assignments', 'panel'),
(100063, 'panel_assignments_students', 100060, 'Students Assignments', 'panel'),
(100070, 'panel_meetings', NULL, 'Meetings', 'panel'),
(100071, 'panel_meetings_my_reservation', 100070, 'My Reservation', 'panel'),
(100072, 'panel_meetings_requests', 100070, 'Requests', 'panel'),
(100073, 'panel_meetings_settings', 100070, 'Settings', 'panel'),
(100080, 'panel_quizzes', NULL, 'Quizzes', 'panel'),
(100081, 'panel_quizzes_lists', 100080, 'Lists', 'panel'),
(100082, 'panel_quizzes_create', 100080, 'Create/Edit', 'panel'),
(100083, 'panel_quizzes_delete', 100080, 'Delete', 'panel'),
(100084, 'panel_quizzes_results', 100080, 'Results', 'panel'),
(100085, 'panel_quizzes_my_results', 100080, 'My Results', 'panel'),
(100086, 'panel_quizzes_not_participated', 100080, 'Not Participated Lists', 'panel'),
(100090, 'panel_certificates', NULL, 'Certificates', 'panel'),
(100091, 'panel_certificates_lists', 100090, 'Lists', 'panel'),
(100092, 'panel_certificates_achievements', 100090, 'Achievements', 'panel'),
(100093, 'panel_certificates_course_certificates', 100090, 'Course Certificates', 'panel'),
(100100, 'panel_products', NULL, 'Products (Store)', 'panel'),
(100101, 'panel_products_lists', 100100, 'Lists', 'panel'),
(100102, 'panel_products_create', 100100, 'Create/Edit', 'panel'),
(100103, 'panel_products_delete', 100100, 'Delete', 'panel'),
(100104, 'panel_products_sales', 100100, 'Sales', 'panel'),
(100105, 'panel_products_purchases', 100100, 'Purchases', 'panel'),
(100106, 'panel_products_comments', 100100, 'Comments', 'panel'),
(100107, 'panel_products_my_comments', 100100, 'My Comments', 'panel'),
(100120, 'panel_financial', NULL, 'Financial', 'panel'),
(100121, 'panel_financial_sales_reports', 100120, 'Sales Reports', 'panel'),
(100122, 'panel_financial_summary', 100120, 'Summary', 'panel'),
(100123, 'panel_financial_payout', 100120, 'Payout', 'panel'),
(100124, 'panel_financial_charge_account', 100120, 'Charge Account', 'panel'),
(100125, 'panel_financial_subscribes', 100120, 'Subscribes', 'panel'),
(100126, 'panel_financial_registration_packages', 100120, 'Registration Packages', 'panel'),
(100127, 'panel_financial_installments', 100120, 'Installments', 'panel'),
(100140, 'panel_support', NULL, 'Support', 'panel'),
(100141, 'panel_support_lists', 100140, 'Lists', 'panel'),
(100142, 'panel_support_create', 100140, 'Create', 'panel'),
(100143, 'panel_support_tickets', 100140, 'Tickets', 'panel'),
(100160, 'panel_marketing', NULL, 'Marketing', 'panel'),
(100161, 'panel_marketing_special_offers', 100160, 'Special Offers', 'panel'),
(100162, 'panel_marketing_promotions', 100160, 'Promotions', 'panel'),
(100163, 'panel_marketing_affiliates', 100160, 'Affiliates', 'panel'),
(100164, 'panel_marketing_registration_bonus', 100160, 'Registration Bonus', 'panel'),
(100165, 'panel_marketing_coupons', 100160, 'Coupons', 'panel'),
(100166, 'panel_marketing_new_coupon', 100160, 'Create Coupons', 'panel'),
(100167, 'panel_marketing_delete_coupon', 100160, 'Delete Coupons', 'panel'),
(100180, 'panel_forums', NULL, 'Forums', 'panel'),
(100181, 'panel_forums_new_topic', 100180, 'New Topic', 'panel'),
(100182, 'panel_forums_my_topics', 100180, 'My Topics', 'panel'),
(100183, 'panel_forums_my_posts', 100180, 'My Posts', 'panel'),
(100184, 'panel_forums_bookmarks', 100180, 'Bookmarks', 'panel'),
(100200, 'panel_blog', NULL, 'Blog', 'panel'),
(100201, 'panel_blog_new_article', 100200, 'New/Edit Article', 'panel'),
(100202, 'panel_blog_my_articles', 100200, 'My Article', 'panel'),
(100203, 'panel_blog_delete_article', 100200, 'Delete Article', 'panel'),
(100204, 'panel_blog_comments', 100200, 'Comments', 'panel'),
(100220, 'panel_noticeboard', NULL, 'Noticeboard', 'panel'),
(100221, 'panel_noticeboard_history', 100220, 'Noticeboard History', 'panel'),
(100222, 'panel_noticeboard_create', 100220, 'Create/Edit Noticeboard', 'panel'),
(100223, 'panel_noticeboard_delete', 100220, 'Delete Noticeboard', 'panel'),
(100224, 'panel_noticeboard_course_notices', 100220, 'Course Notices', 'panel'),
(100225, 'panel_noticeboard_course_notices_create', 100220, 'Create/Edit Course Notices', 'panel'),
(100240, 'panel_rewards', NULL, 'Rewards', 'panel'),
(100241, 'panel_rewards_lists', 100240, 'Lists', 'panel'),
(100260, 'panel_ai_contents', NULL, 'AI Contents', 'panel'),
(100261, 'panel_ai_contents_lists', 100260, 'Lists', 'panel'),
(100280, 'panel_notifications', NULL, 'Notifications', 'panel'),
(100281, 'panel_notifications_lists', 100280, 'Lists', 'panel'),
(100300, 'panel_others', NULL, 'Others', 'panel'),
(100301, 'panel_others_profile_setting', 100300, 'Profile Settings', 'panel'),
(100302, 'panel_others_profile_url', 100300, 'Profile Url', 'panel'),
(100303, 'panel_others_logout', 100300, 'Logout', 'panel');

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

--
-- Table structure for table `selected_installments`
--

CREATE TABLE `selected_installments` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `installment_id` int UNSIGNED NOT NULL,
  `installment_order_id` int UNSIGNED NOT NULL,
  `start_date` bigint UNSIGNED DEFAULT NULL,
  `end_date` bigint UNSIGNED DEFAULT NULL,
  `upfront` double(15,2) DEFAULT NULL,
  `upfront_type` enum('fixed_amount','percent') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `selected_installment_steps`
--

CREATE TABLE `selected_installment_steps` (
  `id` int UNSIGNED NOT NULL,
  `selected_installment_id` int UNSIGNED NOT NULL,
  `installment_step_id` int UNSIGNED NOT NULL,
  `deadline` int UNSIGNED DEFAULT NULL,
  `amount` double(15,2) DEFAULT NULL,
  `amount_type` enum('fixed_amount','percent') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int UNSIGNED NOT NULL,
  `page` enum('general','financial','personalization','notifications','seo','customization','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'other',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `updated_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `page`, `name`, `updated_at`) VALUES
(1, 'seo', 'seo_metas', 1746694100),
(2, 'general', 'socials', 1632121340),
(4, 'other', 'footer', 1632071275),
(5, 'general', 'general', 1751280366),
(6, 'financial', 'financial', 1719739784),
(8, 'personalization', 'home_hero', 1751280450),
(12, 'customization', 'custom_css_js', 1636119881),
(14, 'personalization', 'page_background', 1751189563),
(15, 'personalization', 'home_hero2', 1751199553),
(20, 'other', 'report_reasons', 1632235945),
(22, 'notifications', 'notifications', 1694993271),
(23, 'financial', 'site_bank_accounts', 1617002426),
(24, 'other', 'contact_us', 1751193271),
(25, 'personalization', 'home_sections', 1653226117),
(26, 'other', 'navbar_links', 1751202874),
(27, 'personalization', 'home_video_or_image_box', 1632226618),
(28, 'other', '404', 1678950792),
(29, 'personalization', 'panel_sidebar', 1642355954),
(30, 'financial', 'referral', 1709913291),
(31, 'general', 'features', 1751190959),
(32, 'personalization', 'find_instructors', 1750680867),
(33, 'personalization', 'reward_program', 1645628594),
(34, 'general', 'rewards_settings', 1709913108),
(37, 'financial', 'registration_packages_general', 1709913118),
(38, 'financial', 'registration_packages_instructors', 1709913121),
(39, 'financial', 'registration_packages_organizations', 1709913126),
(40, 'personalization', 'become_instructor_section', 1751202389),
(41, 'general', 'store_settings', 1709913050),
(42, 'personalization', 'theme_colors', 1747311194),
(43, 'personalization', 'forums_section', 1650546951),
(44, 'personalization', 'cookie_settings', 1653487194),
(45, 'personalization', 'mobile_app', 1653489015),
(46, 'personalization', 'theme_fonts', 1677180546),
(47, 'general', 'reminders', 1650982581),
(48, 'other', 'advertising_modal', 1652000772),
(52, 'personalization', 'others_personalization', 1678148917),
(53, 'general', 'security', 1709913274),
(54, 'general', 'installments_settings', 1709913136),
(55, 'general', 'installments_terms_settings', 1679089417),
(56, 'financial', 'currency_settings', 1709913297),
(57, 'personalization', 'statistics', 1678151460),
(58, 'personalization', 'maintenance_settings', 1678873553),
(59, 'general', 'general_options', 1709710542),
(60, 'financial', 'offline_banks_credits', 1676303092),
(61, 'financial', 'offline_banks', 1709913284),
(62, 'general', 'gifts_general_settings', 1709913171),
(63, 'general', 'registration_bonus_settings', 1709913187),
(64, 'general', 'registration_bonus_terms_settings', 1678898719),
(65, 'general', 'ai_contents_settings', 1709913095),
(66, 'general', 'certificate_settings', 1709913000),
(67, 'general', 'abandoned_cart_settings', 1709913150),
(68, 'personalization', 'restriction_settings', 1709805826),
(69, 'financial', 'commission_settings', 1719739813);

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

--
-- Table structure for table `setting_translations`
--

CREATE TABLE `setting_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `setting_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `setting_translations`
--

INSERT INTO `setting_translations` (`id`, `setting_id`, `locale`, `value`) VALUES
(1, 1, 'en', '{\"home\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"search\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"categories\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"login\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"register\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"about\":{\"title\":\"about page title\",\"description\":\"about page Description\"},\"contact\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"certificate_validation\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"classes\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"blog\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"instructors\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"organizations\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"instructor_finder_wizard\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"instructor_finder\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"reward_courses\":{\"title\":null,\"description\":null,\"robot\":\"index\"},\"products_lists\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"reward_products\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"forum\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"upcoming_courses_lists\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"tags\":{\"title\":null,\"description\":null,\"robot\":\"noindex\"},\"extra_meta_tags\":null}'),
(2, 2, 'en', '{\"Instagram\":{\"title\":\"Instagram\",\"image\":\"\\/store\\/1\\/default_images\\/social\\/instagram.svg\",\"link\":\"https:\\/\\/www.instagram.com\\/\",\"order\":\"1\"},\"Whatsapp\":{\"title\":\"Whatsapp\",\"image\":\"\\/store\\/1\\/default_images\\/social\\/whatsapp.svg\",\"link\":\"https:\\/\\/web.whatsapp.com\\/\",\"order\":\"2\"},\"Twitter\":{\"title\":\"Twitter\",\"image\":\"\\/store\\/1\\/default_images\\/social\\/twitter.svg\",\"link\":\"https:\\/\\/twitter.com\\/\",\"order\":\"3\"},\"Facebook\":{\"title\":\"Facebook\",\"image\":\"\\/store\\/1\\/default_images\\/social\\/facebook.svg\",\"link\":\"https:\\/\\/www.facebook.com\\/\",\"order\":\"4\"}}'),
(4, 5, 'en', '{\"site_name\":\"International Academy\",\"site_email\":\"info@dnia.academy\",\"site_phone\":\"2010000000\",\"site_language\":\"AR\",\"register_method\":\"email\",\"default_time_zone\":\"Africa\\/Cairo\",\"date_format\":\"textual\",\"time_format\":\"24_hours\",\"user_languages\":[\"AR\",\"EN\"],\"rtl_languages\":[\"AR\"],\"fav_icon\":\"\\/store\\/1\\/international.jpg\",\"logo\":\"\\/store\\/1\\/international.png\",\"footer_logo\":\"\\/store\\/1\\/international.png\",\"rtl_layout\":\"0\",\"preloading\":\"1\",\"hero_section1\":\"0\",\"hero_section2\":\"1\",\"content_translate\":\"1\",\"app_debugbar\":\"0\"}'),
(5, 6, 'en', '{\"tax\":\"10\",\"minimum_payout\":\"50\",\"price_display\":\"only_price\",\"hide_disabled_payment_gateways\":\"0\"}'),
(6, 8, 'en', '{\"title\":\"Joy of learning & teaching...\",\"description\":\"Rocket LMS is a fully-featured educational platform that helps instructors to create and publish video courses, live classes, and text courses and earn money, and helps students to learn in the easiest way.\",\"hero_background\":\"\\/store\\/1\\/default_images\\/hero_1.jpg\"}'),
(7, 12, 'en', '{\"css\":null,\"js\":null}'),
(8, 14, 'en', '{\"admin_login\":\"\\/store\\/1\\/default_images\\/password_recovery.jpg\",\"admin_dashboard\":\"\\/store\\/1\\/default_images\\/admin_dashboard.jpg\",\"login\":\"\\/store\\/1\\/default_images\\/password_recovery.jpg\",\"register\":\"\\/store\\/1\\/default_images\\/password_recovery.jpg\",\"remember_pass\":\"\\/store\\/1\\/default_images\\/password_recovery.jpg\",\"verification\":\"\\/store\\/1\\/default_images\\/verification.jpg\",\"search\":\"\\/store\\/1\\/default_images\\/search_cover.png\",\"tags\":\"\\/store\\/1\\/default_images\\/search_cover.png\",\"categories\":\"\\/store\\/1\\/default_images\\/category_cover.png\",\"become_instructor\":\"\\/store\\/1\\/default_images\\/become_instructor.jpg\",\"certificate_validation\":\"\\/store\\/1\\/default_images\\/certificate_validation.jpg\",\"blog\":\"\\/store\\/1\\/default_images\\/blogs_cover.png\",\"instructors\":\"\\/store\\/1\\/default_images\\/instructors_cover.png\",\"organizations\":\"\\/store\\/1\\/default_images\\/organizations_cover.png\",\"dashboard\":\"\\/store\\/1\\/dashboard.png\",\"user_cover\":\"\\/store\\/1\\/default_images\\/default_cover.jpg\",\"instructor_finder_wizard\":\"\\/store\\/1\\/default_images\\/instructor_finder_wizard.jpg\",\"products_lists\":\"\\/store\\/1\\/default_images\\/category_cover.png\",\"upcoming_courses_lists\":\"\\/store\\/1\\/default_images\\/category_cover.png\",\"user_default_signature\":\"\\/store\\/1\\/default_images\\/default_signature.jpg\"}'),
(9, 15, 'en', '{\"title\":\"Welcome to International Academy Training Platform\",\"description\":\"The International Academy platform is your gateway to a promising professional future and a modern, innovative education. We offer specialized, high-quality academic training programs, carefully designed to keep pace with developments in the labor market and meet the aspirations of trainees regionally and internationally.\",\"hero_background\":\"\\/assets\\/default\\/img\\/home\\/world.png\",\"hero_vector\":\"\\/store\\/1\\/international__2_-removebg-preview.png\",\"has_lottie\":\"0\"}'),
(10, 20, 'en', '[\"Inappropriate Course Content\",\"Inappropriate Behavior\",\"Policy Violation\",\"Spammy Content\",\"Other\"]'),
(11, 22, 'en', '{\"new_comment_admin\":\"7\",\"support_message_admin\":\"10\",\"support_message_replied_admin\":\"11\",\"promotion_plan_admin\":\"29\",\"new_contact_message\":\"26\",\"new_badge\":\"2\",\"change_user_group\":\"3\",\"course_created\":\"4\",\"course_approve\":\"5\",\"course_reject\":\"6\",\"new_comment\":\"7\",\"support_message\":\"8\",\"support_message_replied\":\"9\",\"new_rating\":\"17\",\"webinar_reminder\":\"27\",\"new_financial_document\":\"12\",\"payout_request\":\"13\",\"payout_proceed\":\"14\",\"offline_payment_request\":\"18\",\"offline_payment_approved\":\"19\",\"offline_payment_rejected\":\"20\",\"new_sales\":\"15\",\"new_purchase\":\"16\",\"new_subscribe_plan\":\"21\",\"promotion_plan\":\"28\",\"new_appointment\":\"22\",\"new_appointment_link\":\"23\",\"appointment_reminder\":\"24\",\"meeting_finished\":\"25\",\"new_certificate\":\"30\",\"waiting_quiz\":\"31\",\"waiting_quiz_result\":\"32\",\"payout_request_admin\":\"13\",\"product_new_sale\":\"33\",\"product_new_purchase\":\"34\",\"product_new_comment\":\"35\",\"product_tracking_code\":\"36\",\"product_new_rating\":\"37\",\"product_receive_shipment\":\"38\",\"product_out_of_stock\":\"39\",\"student_send_message\":\"40\",\"instructor_send_message\":\"41\",\"instructor_set_grade\":\"42\",\"send_post_in_topic\":\"44\",\"publish_instructor_blog_post\":\"45\",\"new_comment_for_instructor_blog_post\":\"46\",\"meeting_reserve_reminder\":\"47\",\"subscribe_reminder\":\"48\",\"reminder_gift_to_receipt\":\"52\",\"gift_sender_confirmation\":\"53\",\"gift_sender_notification\":\"54\",\"admin_gift_submission\":\"55\",\"admin_gift_sending_confirmation\":\"56\",\"reminder_installments_before_overdue\":\"57\",\"installment_due_reminder\":\"58\",\"reminder_installments_after_overdue\":\"59\",\"approve_installment_verification_request\":\"60\",\"reject_installment_verification_request\":\"61\",\"paid_installment_step\":\"62\",\"paid_installment_step_for_admin\":\"63\",\"paid_installment_upfront\":\"64\",\"installment_verification_request_sent\":\"65\",\"admin_installment_verification_request_sent\":\"66\",\"instalment_request_submitted\":\"67\",\"instalment_request_submitted_for_admin\":\"68\",\"upcoming_course_submission\":\"69\",\"upcoming_course_submission_for_admin\":\"70\",\"upcoming_course_approved\":\"71\",\"upcoming_course_rejected\":\"72\",\"upcoming_course_published\":\"73\",\"upcoming_course_followed\":\"74\",\"upcoming_course_published_for_followers\":\"75\",\"user_get_cashback\":\"76\",\"user_get_cashback_notification_for_admin\":\"77\",\"bundle_submission\":\"78\",\"bundle_submission_for_admin\":\"79\",\"bundle_approved\":\"80\",\"bundle_rejected\":\"81\",\"new_review_for_bundle\":\"82\",\"registration_bonus_achieved\":\"83\",\"registration_bonus_unlocked\":\"84\",\"registration_bonus_unlocked_for_admin\":\"85\",\"registration_package_activated\":\"86\",\"registration_package_activated_for_admin\":\"87\",\"registration_package_expired\":\"87\",\"contact_message_submission\":\"88\",\"contact_message_submission_for_admin\":\"89\",\"waitlist_submission\":\"90\",\"waitlist_submission_for_admin\":\"91\",\"new_referral_user\":\"92\",\"user_role_change\":\"97\",\"add_to_user_group\":\"98\",\"become_instructor_request_approved\":\"99\",\"become_instructor_request_rejected\":\"100\",\"new_question_in_forum\":\"101\",\"new_answer_in_forum\":\"102\",\"new_appointment_session\":\"103\",\"new_quiz\":\"93\",\"user_get_new_point\":\"94\",\"new_course_notice\":\"96\",\"new_registration\":\"104\",\"new_become_instructor_request\":\"105\",\"new_course_enrollment\":\"106\",\"new_forum_topic\":\"107\",\"new_report_item_for_admin\":\"108\",\"new_item_created\":\"109\",\"new_store_order\":\"110\",\"subscription_plan_activated\":\"111\",\"content_review_request\":\"112\",\"new_user_blog_post\":\"113\",\"new_user_item_rating\":\"114\",\"new_organization_user\":\"115\",\"user_wallet_charge\":\"116\",\"new_user_payout_request\":\"117\",\"new_offline_payment_request\":\"118\",\"user_access_to_content\":\"119\",\"submit_form_by_users\":\"120\"}'),
(12, 23, 'en', '{\"540\":{\"title\":\"Qatar National Bank\",\"image\":\"\\/store\\/1\\/default_images\\/offline_payments\\/Qatar National Bank.png\",\"card_id\":\"2578-4910-3682-6288\",\"account_id\":\"38152294372\",\"iban\":\"QA66QUWW934528129454345775226\"},\"334\":{\"title\":\"State Bank of India\",\"image\":\"\\/store\\/1\\/default_images\\/offline_payments\\/State Bank of India.png\",\"card_id\":\"6282-4518-1237-7641\",\"account_id\":\"56238341127\",\"iban\":\"IN37ABNA2422193788\"},\"jhgDW\":{\"title\":\"JPMorgan\",\"image\":\"\\/store\\/1\\/default_images\\/offline_payments\\/jpmorgan.png\",\"card_id\":\"5012-4518-1772-8911\",\"account_id\":\"46237751125\",\"iban\":\"NL37ABNA2423554788\"}}'),
(13, 24, 'en', '{\"background\":\"\\/store\\/1\\/default_images\\/category_cover.png\",\"latitude\":\"30.01544\",\"longitude\":\"31.01522\",\"map_zoom\":\"14\",\"phones\":\"20112452542 , 201001524587\",\"emails\":\"mail@dnia.academy , info@dnia.academy\",\"address\":\"Cairo _ Egypt\"}'),
(14, 25, 'en', '{\"latest_classes\":\"1\",\"best_sellers\":\"1\",\"free_classes\":\"1\",\"discount_classes\":\"1\",\"best_rates\":\"1\",\"trend_categories\":\"1\",\"testimonials\":\"1\",\"subscribes\":\"1\",\"blog\":\"1\",\"organizations\":\"1\",\"instructors\":\"1\",\"video_or_image_section\":\"1\",\"find_instructors\":\"1\",\"reward_program\":\"1\"}'),
(15, 26, 'en', '{\"02nh9a\":{\"title\":\"Home\",\"link\":\"\\/\",\"order\":\"1\"},\"1cH2kF\":{\"title\":\"Courses\",\"link\":\"\\/classes?sort=newest\",\"order\":\"2\"},\"n79Q8s\":{\"title\":\"Contact Us\",\"link\":\"\\/contact\",\"order\":\"10\"},\"wg8AEE\":{\"title\":\"a\",\"link\":\"\\/pages\\/about\",\"order\":\"3\"},\"qbOjRJ\":{\"title\":\"certificate validation\",\"link\":\"\\/certificate_validation\",\"order\":\"4\"},\"V8oSPQ\":{\"title\":\"Blogs\",\"link\":\"\\/blog\",\"order\":\"2\"}}'),
(16, 27, 'en', '{\"link\":\"\\/classes\",\"title\":\"Start learning anywhere, anytime...\",\"description\":\"Use Rocket LMS to access high-quality education materials without any limitations in the easiest way.\",\"background\":\"\\/store\\/1\\/default_images\\/home_video_section.png\"}'),
(17, 28, 'en', '{\"error_image\":\"\\/store\\/1\\/default_images\\/404.svg\",\"error_title\":\"Page not found!\",\"error_description\":\"Sorry, this page is not available...\"}'),
(18, 29, 'en', '{\"link\":\"\\/classes?sort=newest\",\"background\":\"\\/store\\/1\\/sidebar-user.png\"}'),
(19, 30, 'en', '{\"status\":\"0\",\"users_affiliate_status\":\"0\",\"affiliate_user_commission\":\"5\",\"store_affiliate_user_commission\":\"5\",\"affiliate_user_amount\":\"20\",\"referred_user_amount\":\"10\",\"referral_description\":\"You can share your affiliate URL you will get the above rewards when a user uses the platform.\"}'),
(20, 4, 'en', '{\"first_column\":{\"title\":\"About US\",\"value\":\"<p><font color=\\\"#ffffff\\\">Dar Al-Nokhbah International Academy aims to lead in education by offering high-quality, flexible programs that blend authenticity with modernity. It empowers learners with practical skills, enhances employability, and contributes to a sustainable, knowledge-driven economy.<\\/font><\\/p><p><br><\\/p>\"},\"second_column\":{\"title\":\"Additional Links\",\"value\":\"<p><a href=\\\"\\/login\\\"><font color=\\\"#ffffff\\\">- Login<\\/font><\\/a><\\/p><p><font color=\\\"#ffffff\\\"><a href=\\\"\\/register\\\"><font color=\\\"#ffffff\\\">- Register<\\/font><\\/a><br><\\/font><\\/p><p><a href=\\\"\\/blog\\\"><font color=\\\"#ffffff\\\">- Blog<\\/font><\\/a><\\/p><p><a href=\\\"\\/contact\\\"><font color=\\\"#ffffff\\\">- Contact us<\\/font><\\/a><\\/p><p><font color=\\\"#ffffff\\\"><a href=\\\"\\/certificate_validation\\\"><font color=\\\"#ffffff\\\">- Certificate validation<\\/font><\\/a><br><\\/font><\\/p><p><font color=\\\"#ffffff\\\"><a href=\\\"\\/become-instructor\\\"><font color=\\\"#ffffff\\\">- Become instructor<\\/font><\\/a><br><\\/font><\\/p><p><a href=\\\"\\/pages\\/terms\\\"><font color=\\\"#ffffff\\\">- Terms &amp; rules<\\/font><\\/a><\\/p><p><a href=\\\"\\/pages\\/about\\\"><font color=\\\"#ffffff\\\">- About us<\\/font><\\/a><br><\\/p>\"},\"third_column\":{\"title\":null,\"value\":\"<p><br><\\/p>\"},\"forth_column\":{\"title\":null,\"value\":\"<p><a title=\\\"Notnt\\\" href=\\\"https:\\/\\/codecanyon.net\\\"><\\/a><\\/p><p><img src=\\\"\\/store\\/1\\/international.jpg\\\" style=\\\"width: 50%;\\\"><br><\\/p>\"}}'),
(31, 4, 'ar', '{\"first_column\":{\"title\":\"\\u0645\\u0639\\u0644\\u0648\\u0645\\u0627\\u062a \\u0639\\u0646\\u0627\",\"value\":\"<p><font color=\\\"#ffffff\\\">\\u062a\\u0647\\u062f\\u0641 \\u0623\\u0643\\u0627\\u062f\\u064a\\u0645\\u064a\\u0629 \\u062f\\u0627\\u0631 \\u0627\\u0644\\u0646\\u062e\\u0628\\u0629 \\u0627\\u0644\\u062f\\u0648\\u0644\\u064a\\u0629 \\u0625\\u0644\\u0649 \\u0627\\u0644\\u0631\\u064a\\u0627\\u062f\\u0629 \\u0641\\u064a \\u0627\\u0644\\u062a\\u0639\\u0644\\u064a\\u0645 \\u0645\\u0646 \\u062e\\u0644\\u0627\\u0644 \\u062a\\u0642\\u062f\\u064a\\u0645 \\u0628\\u0631\\u0627\\u0645\\u062c \\u0639\\u0627\\u0644\\u064a\\u0629 \\u0627\\u0644\\u062c\\u0648\\u062f\\u0629 \\u0648\\u0645\\u0631\\u0646\\u0629\\u060c \\u062a\\u0645\\u0632\\u062c \\u0628\\u064a\\u0646 \\u0627\\u0644\\u0623\\u0635\\u0627\\u0644\\u0629 \\u0648\\u0627\\u0644\\u0645\\u0639\\u0627\\u0635\\u0631\\u0629. \\u062a\\u064f\\u0633\\u0647\\u0645 \\u0641\\u064a \\u062a\\u0645\\u0643\\u064a\\u0646 \\u0627\\u0644\\u0645\\u062a\\u0639\\u0644\\u0645\\u064a\\u0646 \\u0628\\u0645\\u0647\\u0627\\u0631\\u0627\\u062a \\u0639\\u0645\\u0644\\u064a\\u0629\\u060c \\u0648\\u062a\\u0639\\u0632\\u064a\\u0632 \\u0641\\u0631\\u0635 \\u0627\\u0644\\u062a\\u0648\\u0638\\u064a\\u0641\\u060c \\u0648\\u0628\\u0646\\u0627\\u0621 \\u0627\\u0642\\u062a\\u0635\\u0627\\u062f \\u0645\\u0639\\u0631\\u0641\\u064a \\u0645\\u0633\\u062a\\u062f\\u0627\\u0645.<\\/font><\\/p><p><br><\\/p>\"},\"second_column\":{\"title\":\"\\u0631\\u0648\\u0627\\u0628\\u0637 \\u0625\\u0636\\u0627\\u0641\\u064a\\u0629\",\"value\":\"<p><a href=\\\"\\/login\\\"><span style=\\\"color: #ffffff;\\\">- \\u062a\\u0633\\u062c\\u064a\\u0644 \\u0627\\u0644\\u062f\\u062e\\u0648\\u0644<\\/span><\\/a><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/register\\\"><span style=\\\"color: #ffffff;\\\">- \\u062a\\u0633\\u062c\\u064a\\u0644<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><a href=\\\"\\/blog\\\"><span style=\\\"color: #ffffff;\\\">- \\u0645\\u0642\\u0627\\u0644\\u0627\\u062a<\\/span><\\/a><\\/p>\\r\\n<p><a href=\\\"\\/contact\\\"><span style=\\\"color: #ffffff;\\\">- \\u0627\\u062a\\u0635\\u0644 \\u0628\\u0646\\u0627<\\/span><\\/a><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/certificate_validation\\\"><span style=\\\"color: #ffffff;\\\">- \\u0627\\u0644\\u062a\\u062d\\u0642\\u0642 \\u0645\\u0646 \\u0635\\u062d\\u0629 \\u0627\\u0644\\u0634\\u0647\\u0627\\u062f\\u0629<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/become-instructor\\\"><span style=\\\"color: #ffffff;\\\">- \\u0623\\u0635\\u0628\\u062d \\u0645\\u062f\\u0631\\u0628\\u0627<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><a href=\\\"\\/pages\\/terms\\\"><span style=\\\"color: #ffffff;\\\">- \\u0627\\u0644\\u0634\\u0631\\u0648\\u0637 \\u0648\\u0627\\u0644\\u0642\\u0648\\u0627\\u0639\\u062f<\\/span><\\/a><\\/p>\\r\\n<p><a href=\\\"\\/pages\\/about\\\"><span style=\\\"color: #ffffff;\\\">- \\u0645\\u0639\\u0644\\u0648\\u0645\\u0627\\u062a \\u0639\\u0646\\u0627<\\/span><\\/a><\\/p>\"},\"third_column\":{\"title\":null,\"value\":\"<p><br><\\/p>\"},\"forth_column\":{\"title\":null,\"value\":\"<p><img src=\\\"\\/store\\/1\\/international.jpg\\\" style=\\\"width: 50%;\\\"><\\/p>\"}}'),
(32, 31, 'en', '{\"agora_resolution\":null,\"agora_max_bitrate\":\"2260\",\"agora_min_bitrate\":\"1130\",\"agora_frame_rate\":\"15\",\"content_translate\":\"0\",\"meeting_live_stream_type\":\"single\",\"course_live_stream_type\":\"single\",\"timezone_in_register\":\"1\",\"timezone_in_create_webinar\":\"1\",\"direct_classes_payment_button_status\":\"1\",\"direct_bundles_payment_button_status\":\"1\",\"direct_products_payment_button_status\":\"1\",\"cookie_settings_status\":\"0\",\"mobile_app_status\":\"0\",\"maintenance_status\":\"0\",\"maintenance_access_key\":\"key\",\"extra_time_to_join_status\":\"1\",\"extra_time_to_join_default_value\":\"20\",\"show_other_register_method\":\"1\",\"show_certificate_additional_in_register\":\"0\",\"show_google_login_button\":\"0\",\"show_facebook_login_button\":\"0\",\"google_client_id\":\"36219240428-tn8jd9jhd7jqmuh7o6483k4a1qhp29p5.apps.googleusercontent.com\",\"google_client_secret\":\"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\",\"facebook_client_id\":null,\"facebook_client_secret\":null,\"show_live_chat_widget\":\"0\",\"available_session_apis\":[\"local\",\"zoom\"],\"available_sources\":[\"upload\",\"youtube\",\"vimeo\",\"external_link\",\"google_drive\",\"iframe\",\"s3\"],\"select_the_role_during_registration\":[\"teacher\",\"organization\"],\"user_register_form\":null,\"instructor_register_form\":null,\"organization_register_form\":null,\"become_instructor_form\":null,\"become_organization_form\":null,\"frontend_coupons_status\":\"1\",\"frontend_coupons_display_type\":\"before_content\",\"zoom_client_id\":null,\"zoom_client_secret\":null,\"zoom_account_id\":null}'),
(33, 32, 'en', '{\"image\":\"\\/store\\/1\\/default_images\\/forums\\/forum_section.jpg\",\"title\":\"Find the best instructor\",\"description\":\"Looking for an instructor? Find the best instructors according to different parameters like gender, skill level, price, meeting type, rating, etc.\\r\\nFind instructors on the map.\",\"button1\":{\"title\":\"Tutor Finder\",\"link\":\"\\/instructor-finder\\/wizard\"},\"button2\":{\"title\":\"Tutors on Map\",\"link\":\"\\/instructor-finder\"}}'),
(34, 33, 'en', '{\"image\":\"\\/store\\/1\\/default_images\\/home_sections_banners\\/club_points_banner.png\",\"title\":\"Win Club Points\",\"description\":\"Use Rocket LMS and win club points according to different activities.\\r\\nYou will be able to use your club points to get free prizes and courses. Start using the system now and collect points!\",\"button1\":{\"title\":\"Rewards\",\"link\":\"\\/reward-courses\"},\"button2\":{\"title\":\"Points Club\",\"link\":\"\\/panel\\/rewards\"}}'),
(35, 34, 'en', '{\"status\":\"0\",\"exchangeable\":\"0\",\"exchangeable_unit\":null,\"want_more_points_link\":\"\\/pages\\/reward_points_system\"}'),
(38, 37, 'en', '{\"status\":\"0\",\"show_packages_during_registration\":\"0\",\"force_user_to_select_a_package\":\"0\",\"enable_home_section\":\"0\"}'),
(39, 38, 'en', '{\"status\":\"0\",\"courses_capacity\":\"20\",\"courses_count\":\"5\",\"meeting_count\":\"20\",\"product_count\":\"5\"}'),
(40, 39, 'en', '{\"status\":\"0\",\"instructors_count\":\"5\",\"students_count\":\"30\",\"courses_capacity\":\"30\",\"courses_count\":\"10\",\"meeting_count\":\"40\",\"product_count\":\"10\"}'),
(41, 40, 'en', '{\"image\":\"\\/store\\/1\\/default_images\\/forums\\/forum_section.jpg\",\"title\":\"Become an instructor\",\"description\":\"Are you interested to be a part of our community?\\r\\nYou can be a part of our community by signing up as an instructor or organization.\",\"button1\":{\"title\":\"Become an Instructor\",\"link\":\"\\/become-instructor\"},\"button2\":[]}'),
(42, 8, 'ar', '{\"title\":\"\\u0645\\u062a\\u0639\\u0629 \\u0627\\u0644\\u062a\\u0639\\u0644\\u0645 \\u0648\\u0627\\u0644\\u062a\\u0639\\u0644\\u064a\\u0645 ...\",\"description\":\"\\u0639\\u0628\\u0627\\u0631\\u0629 \\u0639\\u0646 \\u0646\\u0638\\u0627\\u0645 \\u0623\\u0633\\u0627\\u0633\\u064a \\u062a\\u0639\\u0644\\u064a\\u0645\\u064a \\u0643\\u0627\\u0645\\u0644 \\u0627\\u0644\\u0645\\u064a\\u0632\\u0627\\u062a \\u064a\\u0633\\u0627\\u0639\\u062f \\u0627\\u0644\\u0645\\u062f\\u0631\\u0628\\u064a\\u0646 \\u0639\\u0644\\u0649 \\u0625\\u0646\\u0634\\u0627\\u0621 \\u0648\\u0646\\u0634\\u0631 \\u062f\\u0648\\u0631\\u0627\\u062a \\u0641\\u064a\\u062f\\u064a\\u0648 \\u0648\\u0641\\u0635\\u0648\\u0644 \\u0645\\u0628\\u0627\\u0634\\u0631\\u0629 \\u0648\\u062f\\u0648\\u0631\\u0627\\u062a \\u0646\\u0635\\u064a\\u0629 \\u0648\\u0643\\u0633\\u0628 \\u0627\\u0644\\u0645\\u0627\\u0644 \\u060c \\u0648\\u064a\\u0633\\u0627\\u0639\\u062f \\u0627\\u0644\\u0637\\u0644\\u0627\\u0628 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u062a\\u0639\\u0644\\u0645 \\u0628\\u0623\\u0633\\u0647\\u0644 \\u0637\\u0631\\u064a\\u0642\\u0629.\",\"hero_background\":\"\\/store\\/1\\/default_images\\/hero_1.jpg\",\"is_video_background\":\"0\"}'),
(43, 8, 'es', '{\"title\":\"Alegr\\u00eda de aprender y ense\\u00f1ar ...\",\"description\":\"Rocket LMS es una plataforma educativa con todas las funciones que ayuda a los instructores a crear y publicar cursos de video, clases en vivo y cursos de texto y ganar dinero, y ayuda a los estudiantes a aprender de la manera m\\u00e1s f\\u00e1cil.\",\"hero_background\":\"\\/store\\/1\\/default_images\\/hero_1.jpg\"}'),
(44, 15, 'ar', '{\"title\":\"\\u0645\\u0631\\u062d\\u0628\\u064b\\u0627 \\u0628\\u0643\\u0645 \\u0641\\u064a \\u0645\\u0646\\u0635\\u0629 \\u062f\\u0627\\u0631 \\u0627\\u0644\\u0646\\u062e\\u0628\\u0629 \\u0627\\u0644\\u062f\\u0648\\u0644\\u064a\\u0629 \\u0644\\u0644\\u062a\\u062f\\u0631\\u064a\\u0628\",\"description\":\"\\u0645\\u0646\\u0635\\u0629 \\u062f\\u0627\\u0631 \\u0627\\u0644\\u0646\\u062e\\u0628\\u0629 \\u0627\\u0644\\u062f\\u0648\\u0644\\u064a\\u0629 \\u0647\\u064a \\u0628\\u0648\\u0627\\u0628\\u062a\\u0643 \\u0625\\u0644\\u0649 \\u0645\\u0633\\u062a\\u0642\\u0628\\u0644 \\u0645\\u0647\\u0646\\u064a \\u0648\\u0627\\u0639\\u062f \\u0648\\u062a\\u0639\\u0644\\u064a\\u0645 \\u0639\\u0635\\u0631\\u064a \\u0645\\u062a\\u062c\\u062f\\u062f. \\u0646\\u0642\\u062f\\u0645 \\u0628\\u0631\\u0627\\u0645\\u062c \\u062a\\u062f\\u0631\\u064a\\u0628\\u064a\\u0629 \\u0645\\u062a\\u062e\\u0635\\u0635\\u0629 \\u0648\\u0623\\u0643\\u0627\\u062f\\u064a\\u0645\\u064a\\u0629 \\u0639\\u0627\\u0644\\u064a\\u0629 \\u0627\\u0644\\u062c\\u0648\\u062f\\u0629\\u060c \\u0645\\u0635\\u0645\\u0645\\u0629 \\u0628\\u0639\\u0646\\u0627\\u064a\\u0629 \\u0644\\u062a\\u0648\\u0627\\u0643\\u0628 \\u062a\\u0637\\u0648\\u0631\\u0627\\u062a \\u0633\\u0648\\u0642 \\u0627\\u0644\\u0639\\u0645\\u0644 \\u0648\\u062a\\u0644\\u0628\\u064a \\u0637\\u0645\\u0648\\u062d\\u0627\\u062a \\u0627\\u0644\\u0645\\u062a\\u062f\\u0631\\u0628\\u064a\\u0646 \\u0625\\u0642\\u0644\\u064a\\u0645\\u064a\\u064b\\u0627 \\u0648\\u062f\\u0648\\u0644\\u064a\\u064b\\u0627.\",\"hero_background\":\"\\/assets\\/default\\/img\\/home\\/world.png\",\"hero_vector\":\"\\/store\\/1\\/international__2_-removebg-preview.png\",\"has_lottie\":\"0\"}'),
(45, 15, 'es', '{\"title\":\"Alegr\\u00eda de aprender y ense\\u00f1ar ...\",\"description\":\"Rocket LMS es una plataforma educativa con todas las funciones que ayuda a los instructores a crear y publicar cursos de video, clases en vivo y cursos de texto y ganar dinero, y ayuda a los estudiantes a aprender de la manera m\\u00e1s f\\u00e1cil.\",\"hero_background\":\"\\/assets\\/default\\/img\\/home\\/world.png\",\"hero_vector\":\"\\/store\\/1\\/animated-header.json\",\"has_lottie\":\"1\"}'),
(46, 27, 'ar', '{\"link\":\"\\/classes\",\"title\":\"\\u0627\\u0628\\u062f\\u0623 \\u0627\\u0644\\u062a\\u0639\\u0644\\u0645 \\u0641\\u064a \\u0623\\u064a \\u0645\\u0643\\u0627\\u0646 \\u0648\\u0641\\u064a \\u0623\\u064a \\u0648\\u0642\\u062a ...\",\"description\":\"\\u0627\\u0633\\u062a\\u062e\\u062f\\u0645 Rocket LMS \\u0644\\u0644\\u0648\\u0635\\u0648\\u0644 \\u0625\\u0644\\u0649 \\u0645\\u0648\\u0627\\u062f \\u062a\\u0639\\u0644\\u064a\\u0645\\u064a\\u0629 \\u0639\\u0627\\u0644\\u064a\\u0629 \\u0627\\u0644\\u062c\\u0648\\u062f\\u0629 \\u062f\\u0648\\u0646 \\u0623\\u064a \\u0642\\u064a\\u0648\\u062f \\u0648\\u0628\\u0623\\u0633\\u0647\\u0644 \\u0637\\u0631\\u064a\\u0642\\u0629.\",\"background\":\"\\/store\\/1\\/default_images\\/home_video_section.png\"}'),
(47, 27, 'es', '{\"link\":\"\\/classes\",\"title\":\"Empiece a aprender en cualquier lugar, en cualquier momento ...\",\"description\":\"Utilice Rocket LMS para acceder a materiales educativos de alta calidad sin limitaciones de la forma m\\u00e1s sencilla.\",\"background\":\"\\/store\\/1\\/default_images\\/home_video_section.png\"}'),
(48, 29, 'ar', '{\"link\":\"\\/classes?sort=newest\",\"background\":\"\\/store\\/1\\/sidebar-user-ar.png\"}'),
(49, 29, 'es', '{\"link\":\"\\/classes?sort=newest\",\"background\":\"\\/store\\/1\\/sidebar-user-sp.png\"}'),
(50, 4, 'es', '{\"first_column\":{\"title\":\"Sobre Nosotras\",\"value\":\"<p><font color=\\\"#ffffff\\\">Rocket LMS es un sistema de gesti\\u00f3n de aprendizaje con todas las funciones que le ayuda a gestionar su negocio educativo en varias horas. Esta plataforma ayuda a los instructores a crear materiales educativos profesionales y ayuda a los estudiantes a aprender de los mejores instructores.<\\/font><\\/p>\"},\"second_column\":{\"title\":\"Enlaces Adicionales\",\"value\":\"<p><a href=\\\"\\/login\\\"><span style=\\\"color: #ffffff;\\\">- Acceso<\\/span><\\/a><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/register\\\"><span style=\\\"color: #ffffff;\\\">- Registrarse<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><a href=\\\"\\/blog\\\"><span style=\\\"color: #ffffff;\\\">- Blog<\\/span><\\/a><\\/p>\\r\\n<p><a href=\\\"\\/contact\\\"><span style=\\\"color: #ffffff;\\\">- Contacta con nosotras<\\/span><\\/a><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/certificate_validation\\\"><span style=\\\"color: #ffffff;\\\">- Validaci\\u00f3n de certificado<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><span style=\\\"color: #ffffff;\\\"><a href=\\\"\\/become-instructor\\\"><span style=\\\"color: #ffffff;\\\">- Convi\\u00e9rtete en instructor<\\/span><\\/a><br><\\/span><\\/p>\\r\\n<p><a href=\\\"\\/pages\\/terms\\\"><span style=\\\"color: #ffffff;\\\">- T\\u00e9rminos y reglas<\\/span><\\/a><\\/p>\\r\\n<p><a href=\\\"\\/pages\\/about\\\"><span style=\\\"color: #ffffff;\\\">- Sobre nosotras<\\/span><\\/a><\\/p>\"},\"third_column\":{\"title\":\"Negocios Similares\",\"value\":\"<p><a href=\\\"https:\\/\\/www.udemy.com\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Udemy<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.skillshare.com\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Skillshare<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.coursera.org\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Coursera<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.linkedin.com\\/learning\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Lynda<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.skillsoft.com\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Skillsoft<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.udacity.com\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Udacity<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.edx.org\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- edX<\\/font><\\/a><\\/p><p><a href=\\\"https:\\/\\/www.masterclass.com\\/\\\" target=\\\"_blank\\\"><font color=\\\"#ffffff\\\">- Masterclass<\\/font><\\/a><br><\\/p>\"},\"forth_column\":{\"title\":\"Compra Rocket LMS\",\"value\":\"<p><a title=\\\"Notnt\\\" href=\\\"https:\\/\\/codecanyon.net\\\"><img style=\\\"width: 200px;\\\" src=\\\"\\/store\\/1\\/default_images\\/envato.png\\\"><\\/a><\\/p>\"}}'),
(51, 26, 'es', '{\"02nh9a\":{\"title\":\"hogar\",\"link\":\"\\/\",\"order\":\"1\"},\"1cH2kF\":{\"title\":\"Cursos\",\"link\":\"\\/classes?sort=newest\",\"order\":\"2\"},\"VBxDrB\":{\"title\":\"Blog\",\"link\":\"\\/blog\",\"order\":\"4\"}}'),
(52, 26, 'ar', '{\"02nh9a\":{\"title\":\"\\u0627\\u0644\\u0635\\u0641\\u062d\\u0629 \\u0627\\u0644\\u0631\\u0626\\u064a\\u0633\\u064a\\u0629\",\"link\":\"\\/\",\"order\":\"1\"},\"1cH2kF\":{\"title\":\"\\u0627\\u0644\\u062f\\u0648\\u0631\\u0627\\u062a\",\"link\":\"\\/classes?sort=newest\",\"order\":\"2\"},\"E7rEQ6\":{\"title\":\"\\u0625\\u062a\\u0635\\u0644 \\u0628\\u0646\\u0627\",\"link\":\"\\/contact\",\"order\":\"10\"},\"QSQKop\":{\"title\":\"\\u0645\\u0639\\u0644\\u0648\\u0645\\u0627\\u062a \\u0639\\u0646\\u0627\",\"link\":\"\\/pages\\/about\",\"order\":\"3\"},\"1SbHYZ\":{\"title\":\"\\u0627\\u0644\\u062a\\u062d\\u0642\\u0642 \\u0645\\u0646 \\u0627\\u0644\\u0634\\u0647\\u0627\\u062f\\u0647\",\"link\":\"\\/certificate_validation\",\"order\":\"4\"},\"AeDO46\":{\"title\":\"\\u0627\\u0644\\u0645\\u062f\\u0648\\u0646\\u0627\\u062a\",\"link\":\"\\/blog\",\"order\":\"2\"}}'),
(53, 32, 'ar', '{\"image\":\"\\/store\\/1\\/default_images\\/forums\\/forum_section.jpg\",\"title\":\"\\u0627\\u0639\\u062b\\u0631 \\u0639\\u0644\\u0649 \\u0623\\u0641\\u0636\\u0644 \\u0645\\u062f\\u0631\\u0628\",\"description\":\"\\u062a\\u0628\\u062d\\u062b \\u0639\\u0646 \\u0645\\u062f\\u0631\\u0628\\u061f \\u0627\\u0639\\u062b\\u0631 \\u0639\\u0644\\u0649 \\u0623\\u0641\\u0636\\u0644 \\u0627\\u0644\\u0645\\u062f\\u0631\\u0628\\u064a\\u0646 \\u0648\\u0641\\u0642\\u064b\\u0627 \\u0644\\u0645\\u0639\\u0627\\u064a\\u064a\\u0631 \\u0645\\u062e\\u062a\\u0644\\u0641\\u0629 \\u0645\\u062b\\u0644 \\u0627\\u0644\\u062c\\u0646\\u0633 \\u0648\\u0645\\u0633\\u062a\\u0648\\u0649 \\u0627\\u0644\\u0645\\u0647\\u0627\\u0631\\u0629 \\u0648\\u0627\\u0644\\u0633\\u0639\\u0631 \\u0648\\u0646\\u0648\\u0639 \\u0627\\u0644\\u0627\\u062c\\u062a\\u0645\\u0627\\u0639 \\u0648\\u0627\\u0644\\u062a\\u0642\\u064a\\u064a\\u0645 \\u0648\\u0645\\u0627 \\u0625\\u0644\\u0649 \\u0630\\u0644\\u0643.\\r\\n\\u0627\\u0628\\u062d\\u062b \\u0639\\u0646 \\u0645\\u062f\\u0631\\u0628\\u064a\\u0646 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u062e\\u0631\\u064a\\u0637\\u0629.\",\"button1\":{\"title\":\"\\u0627\\u0644\\u0628\\u0627\\u062d\\u062b \\u0639\\u0646 \\u0627\\u0644\\u0645\\u0639\\u0644\\u0645\",\"link\":\"\\/instructor-finder\\/wizard\"},\"button2\":{\"title\":\"\\u0645\\u062f\\u0631\\u0633\\u0648\\u0646 \\u0639\\u0644\\u0649 \\u0627\\u0644\\u062e\\u0631\\u064a\\u0637\\u0629\",\"link\":\"\\/instructor-finder\"}}'),
(54, 32, 'es', '{\"image\":\"\\/store\\/1\\/default_images\\/home_sections_banners\\/instructor_finder_banner.jpg\",\"title\":\"Encuentra la mejor instructora\",\"description\":\"\\u00bfBuscas un instructor? Encuentre los mejores instructores seg\\u00fan diferentes par\\u00e1metros como g\\u00e9nero, nivel de habilidad, precio, tipo de reuni\\u00f3n, calificaci\\u00f3n, etc.\\r\\nEncuentra instructores en el mapa.\",\"button1\":{\"title\":\"Buscadora de tutores\",\"link\":\"\\/instructor-finder\\/wizard\"},\"button2\":{\"title\":\"Tutores en el mapa\",\"link\":\"\\/instructor-finder\"}}'),
(55, 33, 'ar', '{\"image\":\"\\/store\\/1\\/default_images\\/home_sections_banners\\/club_points_banner.png\",\"title\":\"\\u0627\\u0631\\u0628\\u062d \\u0646\\u0642\\u0627\\u0637 \\u0627\\u0644\\u0646\\u0627\\u062f\\u064a\",\"description\":\"\\u0627\\u0633\\u062a\\u062e\\u062f\\u0645 Rocket LMS \\u0648\\u0627\\u0631\\u0628\\u062d \\u0646\\u0642\\u0627\\u0637 \\u0627\\u0644\\u0646\\u0627\\u062f\\u064a \\u0648\\u0641\\u0642\\u064b\\u0627 \\u0644\\u0644\\u0623\\u0646\\u0634\\u0637\\u0629 \\u0627\\u0644\\u0645\\u062e\\u062a\\u0644\\u0641\\u0629.\\r\\n\\u0633\\u062a\\u062a\\u0645\\u0643\\u0646 \\u0645\\u0646 \\u0627\\u0633\\u062a\\u062e\\u062f\\u0627\\u0645 \\u0646\\u0642\\u0627\\u0637 \\u0627\\u0644\\u0646\\u0627\\u062f\\u064a \\u0627\\u0644\\u062e\\u0627\\u0635\\u0629 \\u0628\\u0643 \\u0644\\u0644\\u062d\\u0635\\u0648\\u0644 \\u0639\\u0644\\u0649 \\u062c\\u0648\\u0627\\u0626\\u0632 \\u0648\\u062f\\u0648\\u0631\\u0627\\u062a \\u0645\\u062c\\u0627\\u0646\\u064a\\u0629. \\u0627\\u0628\\u062f\\u0623 \\u0641\\u064a \\u0627\\u0633\\u062a\\u062e\\u062f\\u0627\\u0645 \\u0627\\u0644\\u0646\\u0638\\u0627\\u0645 \\u0627\\u0644\\u0622\\u0646 \\u0648\\u0627\\u062c\\u0645\\u0639 \\u0627\\u0644\\u0646\\u0642\\u0627\\u0637!\",\"button1\":{\"title\":\"\\u0627\\u0644\\u0645\\u0643\\u0627\\u0641\\u0622\\u062a\",\"link\":\"\\/reward-courses\"},\"button2\":{\"title\":\"\\u0646\\u0627\\u062f\\u064a \\u0627\\u0644\\u0646\\u0642\\u0627\\u0637\",\"link\":\"\\/panel\\/rewards\"}}'),
(56, 33, 'es', '{\"image\":\"\\/store\\/1\\/default_images\\/home_sections_banners\\/club_points_banner.png\",\"title\":\"Gana puntos del club\",\"description\":\"Utilice Rocket LMS y gane puntos del club seg\\u00fan diferentes actividades.\\r\\nPodr\\u00e1s utilizar tus puntos del club para conseguir premios y cursos gratuitos. \\u00a1Comience a usar el sistema ahora y acumule puntos!\",\"button1\":{\"title\":\"Recompensas\",\"link\":\"\\/reward-courses\"},\"button2\":{\"title\":\"club de puntos\",\"link\":\"\\/panel\\/rewards\"}}'),
(57, 40, 'ar', '{\"image\":\"\\/store\\/1\\/default_images\\/forums\\/forum_section.jpg\",\"title\":\"\\u0643\\u0646 \\u0645\\u062f\\u0631\\u0628\\u064b\\u0627\",\"description\":\"\\u0647\\u0644 \\u0623\\u0646\\u062a \\u0645\\u0647\\u062a\\u0645 \\u0628\\u0623\\u0646 \\u062a\\u0643\\u0648\\u0646 \\u062c\\u0632\\u0621\\u064b\\u0627 \\u0645\\u0646 \\u0645\\u062c\\u062a\\u0645\\u0639\\u0646\\u0627\\u061f\\r\\n\\u064a\\u0645\\u0643\\u0646\\u0643 \\u0623\\u0646 \\u062a\\u0643\\u0648\\u0646 \\u062c\\u0632\\u0621\\u064b\\u0627 \\u0645\\u0646 \\u0645\\u062c\\u062a\\u0645\\u0639\\u0646\\u0627 \\u0645\\u0646 \\u062e\\u0644\\u0627\\u0644 \\u0627\\u0644\\u062a\\u0633\\u062c\\u064a\\u0644 \\u0643\\u0645\\u062f\\u0631\\u0628 \\u0623\\u0648 \\u0645\\u0646\\u0638\\u0645\\u0629.\",\"button1\":{\"title\":\"\\u0643\\u0646 \\u0645\\u062f\\u0631\\u0628\\u064b\\u0627\",\"link\":\"\\/become-instructor\"},\"button2\":[]}'),
(58, 40, 'es', '{\"image\":\"\\/store\\/1\\/default_images\\/home_sections_banners\\/become_instructor_banner.jpg\",\"title\":\"Convi\\u00e9rtete en instructora\",\"description\":\"\\u00bfEst\\u00e1s interesado en ser parte de nuestra comunidad?\\r\\nPuedes ser parte de nuestra comunidad registr\\u00e1ndote como instructor u organizaci\\u00f3n.\",\"button1\":{\"title\":\"Convi\\u00e9rtete en instructora\",\"link\":\"\\/become-instructor\"},\"button2\":{\"title\":\"Paquetes de registro\",\"link\":\"become-instructor\\/packages\\/\"}}'),
(59, 42, 'en', '{\"primary\":\"#632121\",\"primary-border\":\"#551d1d\",\"primary-hover\":\"#823f3f\",\"primary-border-hover\":\"#602b2b\",\"primary-btn-shadow\":\"0 3px 6px 0 rgb(97 53 66\\/ 30%)\",\"primary-btn-shadow-hover\":\"0 3px 6px 0 rgb(97 53 66\\/ 30%)\",\"primary-btn-color\":null,\"primary-btn-color-hover\":null,\"secondary\":null,\"secondary-border\":null,\"secondary-hover\":null,\"secondary-border-hover\":null,\"secondary-btn-shadow\":null,\"secondary-btn-shadow-hover\":null,\"secondary-btn-color\":null,\"secondary-btn-color-hover\":null,\"front_body_background\":null,\"admin_primary\":\"#6777ef\"}'),
(60, 44, 'en', '{\"cookie_settings_modal_message\":\"<p>When you visit any of our websites, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and manage your preferences. Please note, that blocking some types of cookies may impact your experience of the site and the services we are able to offer.<\\/p>\",\"cookie_settings_modal_items\":{\"dDRjfkGvQfFzQJpa\":{\"title\":\"Strictly Necessary\",\"description\":\"These cookies are necessary for our website to function properly and cannot be switched off in our systems. They are usually only set in response to actions made by you that amount to a request for services, such as setting your privacy preferences, logging in or filling in forms, or where they\\u2019re essential to providing you with a service you have requested. You cannot opt out of these cookies. You can set your browser to block or alert you about these cookies, but if you do, some parts of the site will not then work. These cookies do not store any personally identifiable information.\",\"required\":\"1\"},\"mOzJowgvTnWFlRzz\":{\"title\":\"Performance Cookies\",\"description\":\"These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site, which helps us optimize your experience. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not be able to use your data in this way.\",\"required\":\"0\"},\"XBMtdYaeSrqMicTH\":{\"title\":\"Functional Cookies\",\"description\":\"These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third-party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.\",\"required\":\"0\"},\"XlLqzsvNpRqdcNWP\":{\"title\":\"Targeting Cookies\",\"description\":\"These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.\",\"required\":\"0\"}}}'),
(61, 41, 'en', '{\"status\":\"0\",\"virtual_product_commission\":\"20\",\"physical_product_commission\":\"10\",\"store_tax\":\"10\",\"possibility_create_virtual_product\":\"0\",\"possibility_create_physical_product\":\"0\",\"shipping_tracking_url\":\"https:\\/\\/www.tracking.my\\/\",\"activate_comments\":\"0\",\"show_address_selection_in_cart\":\"0\",\"take_address_selection_optional\":\"0\"}'),
(62, 46, 'en', '{\"main\":{\"regular\":\"\\/store\\/1\\/fonts\\/montserrat-regular.woff2\",\"bold\":\"\\/store\\/1\\/fonts\\/montserrat-bold.woff2\",\"medium\":\"\\/store\\/1\\/fonts\\/montserrat-medium.woff2\"},\"rtl\":{\"regular\":\"\\/store\\/1\\/fonts\\/Vazir-Regular.woff2\",\"bold\":\"\\/store\\/1\\/fonts\\/Vazir-Bold.woff2\",\"medium\":\"\\/store\\/1\\/fonts\\/Vazir-Medium.woff2\"}}'),
(63, 43, 'en', '{\"image\":\"\\/store\\/1\\/default_images\\/forums\\/forum_section.jpg\",\"title\":\"Have a Question? Ask it in forum and get answer\",\"description\":\"Our forums helps you to create your questions on different subjects and communicate with other forum users. Our users will help you to get the best answer!\",\"button1\":{\"title\":\"Create a new topic\",\"link\":\"\\/forums\\/create-topic\"},\"button2\":{\"title\":\"Browse forums\",\"link\":\"\\/forums\"}}'),
(64, 45, 'en', '{\"mobile_app_hero_image\":\"\\/store\\/1\\/default_images\\/app_only.png\",\"mobile_app_description\":\"<div>Is an amazing, modern, and clean landing page for showcasing your app or anything else.<\\/div><div><br><\\/div><div>A mobile application or app is a computer program or software application designed to run on a mobile device such as a phone, tablet, or watch. Mobile applications often stand in contrast to desktop applications which are designed to run on desktop computers, and web applications which run in mobile web browsers rather than directly on the mobile device.<\\/div>\",\"mobile_app_buttons\":{\"htQgcSjzjLJlGRyY\":{\"title\":\"Download from Play Store\",\"link\":\"https:\\/\\/play.google.com\\/store\\/games\",\"icon\":\"\\/store\\/1\\/default_images\\/google-play.png\",\"color\":\"primary\"}}}'),
(65, 48, 'en', '{\"image\":\"\\/store\\/1\\/default_images\\/ads_modal.png\",\"title\":\"Sales Campaign\",\"description\":\"We have a sales campaign on our promoted courses and products. You can purchase 150 products at a discounted price up to 50% discount.\",\"button1\":{\"title\":\"View Courses\",\"link\":\"\\/classes\"},\"button2\":{\"title\":\"View Products\",\"link\":\"\\/products\"}}'),
(66, 52, 'en', '{\"show_guarantee_text\":\"1\",\"guarantee_text\":\"5 Days money back guarantee\",\"user_avatar_style\":\"ui_avatar\",\"default_user_avatar\":\"\\/store\\/1\\/default_images\\/default_profile.jpg\",\"platform_phone_and_email_position\":\"footer\"}'),
(67, 47, 'en', '{\"webinar_reminder_schedule\":\"1\",\"meeting_reminder_schedule\":\"1\",\"subscribe_reminder_schedule\":\"48\"}'),
(68, 61, 'en', '{\"offline_banks_status\":\"0\"}'),
(69, 62, 'en', '{\"status\":\"0\",\"allow_sending_gift_for_courses\":\"0\",\"allow_sending_gift_for_bundles\":\"0\",\"allow_sending_gift_for_products\":\"0\"}'),
(70, 63, 'en', '{\"status\":\"0\",\"unlock_registration_bonus_instantly\":\"0\",\"unlock_registration_bonus_with_referral\":\"0\",\"number_of_referred_users\":null,\"enable_referred_users_purchase\":\"0\",\"purchase_amount_for_unlocking_bonus\":null,\"registration_bonus_amount\":\"50\",\"bonus_wallet\":\"balance_wallet\"}'),
(71, 57, 'en', '{\"enable_statistics\":\"1\",\"display_default_statistics\":\"1\"}'),
(72, 56, 'en', '{\"currency\":\"USD\",\"currency_position\":\"left\",\"currency_separator\":\"dot\",\"currency_decimal\":\"2\",\"multi_currency\":\"0\"}'),
(73, 53, 'en', '{\"login_device_limit\":\"0\",\"number_of_allowed_devices\":\"10\",\"captcha_for_admin_login\":\"0\",\"captcha_for_admin_forgot_pass\":\"0\",\"captcha_for_login\":\"0\",\"captcha_for_register\":\"0\",\"captcha_for_forgot_pass\":\"0\",\"admin_panel_url\":\"admin\"}'),
(74, 54, 'en', '{\"status\":\"0\",\"disable_course_access_when_user_have_an_overdue_installment\":\"0\",\"disable_all_courses_access_when_user_have_an_overdue_installment\":\"0\",\"disable_instalments_when_the_user_have_an_overdue_installment\":\"0\",\"allow_cancel_verification\":\"0\",\"display_installment_button\":\"0\",\"overdue_interval_days\":\"3\",\"installment_plans_position\":\"top_of_page\",\"reminder_before_overdue_days\":\"3\",\"reminder_after_overdue_days\":\"2\"}'),
(75, 58, 'en', '{\"title\":\"We are under maintenance!\",\"image\":\"\\/store\\/1\\/default_images\\/maintenance.png\",\"description\":\"We are working on the platform; It won\'t take a long time. We will try to back as soon as possible.\",\"maintenance_button\":{\"title\":\"Sample Button\",\"link\":\"\\/\"},\"end_date\":1740094200}'),
(76, 64, 'en', '{\"term_image\":\"\\/store\\/1\\/default_images\\/registration bonus\\/banner.png\",\"items\":{\"DnrPr\":{\"icon\":\"\\/store\\/1\\/default_images\\/registration bonus\\/step1.svg\",\"title\":\"Sign up\",\"description\":\"Create an account on platform and get $50\"},\"eNMTB\":{\"icon\":\"\\/store\\/1\\/default_images\\/registration bonus\\/step2.svg\",\"title\":\"Refer your friends\",\"description\":\"Refer at least 5 users to the system using your affiliate URL\"},\"fdIUc\":{\"icon\":\"\\/store\\/1\\/default_images\\/registration bonus\\/step3.svg\",\"title\":\"Reach purchase target\",\"description\":\"Each referred user should purchase $100 on the platform\"},\"oeMZr\":{\"icon\":\"\\/store\\/1\\/default_images\\/registration bonus\\/step4.svg\",\"title\":\"Unlock your bonus\",\"description\":\"Your bonus will be unlocked! Enjoy spending...\"}}}'),
(77, 55, 'en', '{\"terms_description\":\"<p>Welcome to our website! To ensure the best possible experience for all users, please review and agree to the following terms and rules before using our installment feature:<\\/p><p>Installment Payment Plan: Our website offers an installment payment plan for select courses. By selecting the installment payment option, you agree to pay the full course fee in multiple installments. Each installment payment will be automatically deducted from the payment method you provided on the scheduled dates until the full payment is completed.<\\/p><p>Payment Plan Fees: Our installment payment plan may include a small processing fee for each installment payment. The total processing fee will be disclosed to you before you select the installment payment option.<\\/p><p>Late Payment: If a payment is not received on the scheduled date, a late payment fee may be added to the next scheduled payment.<\\/p><p>Refunds: Once an installment payment is made, it is non-refundable. However, if you wish to cancel your enrollment in the course, you may be eligible for a partial refund according to our Refund Policy.<\\/p><p>Default: If you default on a payment or fail to complete the full payment plan, your access to the course will be revoked, and you may be subject to additional fees and collection efforts.<\\/p><p>Privacy: Your personal and payment information will be kept secure and confidential. We use industry-standard security measures to protect your information.<\\/p><p>Changes to Terms and Rules: We reserve the right to modify these terms and rules at any time. Any changes will be posted on our website and will become effective immediately upon posting.<\\/p><p>By using our installment payment plan, you agree to these terms and rules. If you have any questions or concerns, please contact our support team.<\\/p>\"}'),
(78, 65, 'en', '{\"status\":\"0\",\"active_for_admin_panel\":\"0\",\"active_for_organization_panel\":\"0\",\"active_for_instructor_panel\":\"0\",\"secret_key\":null,\"activate_text_service_type\":\"0\",\"text_service_type\":\"gpt-3.5-turbo\",\"number_of_text_generated_per_request\":\"1\",\"max_tokens\":\"500\",\"activate_image_service_type\":\"0\",\"number_of_images_generated_per_request\":\"1\"}'),
(79, 66, 'en', '{\"_token\":\"Vs87fzAsqf3B65jxoRr8f2ivsRcK85A3dSF9123H\",\"page\":\"general\",\"name\":\"certificate_settings\",\"locale\":\"en\",\"status\":\"0\",\"certificate_id\":\"CR\",\"ltr_font\":\"\\/store\\/1\\/fonts\\/montserrat-medium.woff2\",\"rtl_font\":\"\\/store\\/1\\/fonts\\/Vazir-Medium.woff2\",\"certificate_api_user_id\":null,\"certificate_api_key\":null}'),
(80, 67, 'en', '{\"status\":\"0\",\"reset_cart_items\":\"0\",\"reset_hours\":null,\"default_cart_reminder\":\"121\",\"default_cart_coupon_template\":\"122\"}'),
(81, 68, 'en', '{\"title\":\"Access Limited\",\"image\":\"\\/store\\/1\\/default_images\\/maintenance.png\",\"description\":\"Your IP is not allowed to access the website.\"}'),
(82, 59, 'en', '{\"direct_publication_of_courses\":\"0\",\"direct_publication_of_comments\":\"0\",\"direct_publication_of_reviews\":\"0\",\"direct_publication_of_blog\":\"0\",\"allow_instructor_delete_content\":\"1\",\"content_delete_method\":\"delete_with_admin_approval\",\"disable_registration_verification_process\":null}'),
(83, 69, 'en', '{\"courses\":{\"type\":\"percent\",\"value\":\"20\"},\"bundles\":{\"type\":\"percent\",\"value\":\"20\"},\"virtual_products\":{\"type\":\"percent\",\"value\":\"30\"},\"physical_products\":{\"type\":\"percent\",\"value\":\"10\"},\"meetings\":{\"type\":\"percent\",\"value\":\"30\"}}');

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

--
-- Table structure for table `special_offers`
--

CREATE TABLE `special_offers` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `subscribe_id` int UNSIGNED DEFAULT NULL,
  `registration_package_id` int UNSIGNED DEFAULT NULL,
  `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percent` int UNSIGNED NOT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL,
  `from_date` int UNSIGNED NOT NULL,
  `to_date` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `subscribes`
--

CREATE TABLE `subscribes` (
  `id` int UNSIGNED NOT NULL,
  `usable_count` int UNSIGNED NOT NULL,
  `days` int UNSIGNED NOT NULL,
  `price` double(15,2) UNSIGNED NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_popular` tinyint(1) NOT NULL DEFAULT '0',
  `infinite_use` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `subscribes`
--

INSERT INTO `subscribes` (`id`, `usable_count`, `days`, `price`, `icon`, `is_popular`, `infinite_use`, `created_at`) VALUES
(3, 100, 15, 20.00, '/store/1/default_images/subscribe_packages/bronze.png', 0, 0, 1635441672),
(4, 1000, 30, 100.00, '/store/1/default_images/subscribe_packages/gold.png', 1, 0, 1635442074),
(5, 400, 30, 50.00, '/store/1/default_images/subscribe_packages/silver.png', 0, 0, 1635442132);

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

--
-- Table structure for table `subscribe_reminds`
--

CREATE TABLE `subscribe_reminds` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `subscribe_id` int UNSIGNED NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `subscribe_translations`
--

CREATE TABLE `subscribe_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `subscribe_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `subscribe_translations`
--

INSERT INTO `subscribe_translations` (`id`, `subscribe_id`, `locale`, `title`, `description`) VALUES
(1, 3, 'en', 'Bronze', 'Suggested for personal usage'),
(2, 4, 'en', 'Gold', 'Suggested for big businesses'),
(3, 5, 'en', 'Silver', 'Suggested for small businesses'),
(4, 3, 'ar', 'برونزية', 'اقترح للاستخدام الشخصي'),
(5, 3, 'es', 'Bronce', 'Sugerido para uso personal'),
(6, 4, 'es', 'Oro', 'Sugerido para grandes empresas'),
(7, 4, 'ar', 'ذهب', 'مقترح للشركات الكبيرة'),
(8, 5, 'ar', 'فضة', 'اقترح للشركات الصغيرة'),
(9, 5, 'es', 'Plata', 'Sugerido para pequeñas empresas');

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

--
-- Table structure for table `subscribe_uses`
--

CREATE TABLE `subscribe_uses` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `subscribe_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `sale_id` int UNSIGNED NOT NULL,
  `installment_order_id` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `supports`
--

CREATE TABLE `supports` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `department_id` int UNSIGNED DEFAULT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('open','close','replied','supporter_replied') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'open',
  `created_at` int UNSIGNED DEFAULT NULL,
  `updated_at` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `supports`
--

INSERT INTO `supports` (`id`, `user_id`, `webinar_id`, `department_id`, `title`, `status`, `created_at`, `updated_at`) VALUES
(25, 934, NULL, 3, 'Convert Videos', 'close', 1625891270, 1625973596),
(26, 995, NULL, 3, 'Pre-Purchase Question', 'close', 1625891677, 1625973708),
(27, 930, NULL, 2, 'Pending Offline Payment', 'open', 1625891851, 1625891851),
(28, 923, NULL, 3, 'Commission Rate', 'supporter_replied', 1625892221, 1625892332),
(29, 867, NULL, 3, 'Class delay', 'supporter_replied', 1625895874, 1625973471),
(33, 995, NULL, 2, 'Refund Request #64237', 'close', 1626063457, 1626063559),
(34, 995, NULL, 3, 'Problem with quiz', 'open', 1626250124, 1626250124);

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

--
-- Table structure for table `support_conversations`
--

CREATE TABLE `support_conversations` (
  `id` int UNSIGNED NOT NULL,
  `support_id` int UNSIGNED NOT NULL,
  `supporter_id` int UNSIGNED DEFAULT NULL,
  `sender_id` int UNSIGNED DEFAULT NULL,
  `attach` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `support_conversations`
--

INSERT INTO `support_conversations` (`id`, `support_id`, `supporter_id`, `sender_id`, `attach`, `message`, `created_at`) VALUES
(1, 25, NULL, 934, NULL, 'Hello.\r\nI want to convert my video files to reduce their size. What software do you recommend?', 1625891270),
(2, 26, NULL, 995, NULL, 'Hello\r\nIs it possible to refund it after the purchase if you are dissatisfied with the course?', 1625891677),
(3, 27, NULL, 930, NULL, 'Hello.\r\nI registered an offline payment document to charge my wallet.\r\nHow long does it take for my payment to be approved?\r\nI am going to buy a course and I would be grateful if this could be done a little earlier.', 1625891851),
(4, 28, NULL, 923, NULL, 'Hello.\r\nIs it possible for me to receive more commission for my sales on this platform?', 1625892221),
(5, 28, 1, NULL, NULL, 'Hello.\r\nPlease send this ticket to the financial department.\r\nThank', 1625892332),
(6, 29, NULL, 867, NULL, 'Hello .\r\nWhat are the rules if one of the live class sessions is delayed?\r\nIs it possible to change the date of that session?', 1625895874),
(7, 29, NULL, 867, '/store/867/60da388cbcee3.png', 'Hi.\r\nPlease check attachmnet', 1625897110),
(8, 29, 1, NULL, NULL, 'Yes you can change the date of your class sessions at any time.', 1625897202),
(9, 29, NULL, 867, NULL, 'thank you.', 1625898890),
(11, 29, 1, NULL, NULL, 'you\'re welcome.', 1625973471),
(12, 25, 1, NULL, NULL, 'We offer you handbrake software.', 1625973573),
(13, 26, 1, NULL, NULL, 'Hello Cameron.\r\nYes it is possible.', 1625973699),
(22, 33, NULL, 995, NULL, 'Hello. I was supposed to get this refund via email. Please follow my request.', 1626063457),
(23, 33, 1, NULL, NULL, 'Hello. We will check. Thanks', 1626063496),
(24, 33, NULL, 995, NULL, 'Thanks.', 1626063547),
(25, 34, NULL, 995, NULL, 'Hello.\r\nIn the quiz of course that I bought was the wrong question.\r\nCourse Name: Photoshop course from beginner to advanced\r\nQuestion number : 3\r\nPlease check it. thank you', 1626250124);

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

--
-- Table structure for table `support_departments`
--

CREATE TABLE `support_departments` (
  `id` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `support_departments`
--

INSERT INTO `support_departments` (`id`, `created_at`) VALUES
(2, 1635445554),
(3, 1635445486),
(4, 1635445505);

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

--
-- Table structure for table `support_department_translations`
--

CREATE TABLE `support_department_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `support_department_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `support_department_translations`
--

INSERT INTO `support_department_translations` (`id`, `support_department_id`, `locale`, `title`) VALUES
(1, 2, 'en', 'Financial'),
(2, 3, 'en', 'Content'),
(3, 4, 'en', 'Marketing'),
(4, 4, 'ar', 'تسويق'),
(5, 4, 'es', 'Márketing'),
(6, 3, 'es', 'Contenido'),
(7, 3, 'ar', 'المحتوى'),
(8, 2, 'ar', 'الأمور المالية'),
(9, 2, 'es', 'Financiera');

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

--
-- Table structure for table `tags`
--

CREATE TABLE `tags` (
  `id` int UNSIGNED NOT NULL,
  `title` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `upcoming_course_id` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `testimonials`
--

CREATE TABLE `testimonials` (
  `id` int UNSIGNED NOT NULL,
  `user_avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `status` enum('active','disable') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'disable',
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `testimonials`
--

INSERT INTO `testimonials` (`id`, `user_avatar`, `rate`, `status`, `created_at`) VALUES
(2, '/store/1/default_images/testimonials/profile_picture (28).jpg', '5', 'active', 1606841889),
(3, '/store/1/default_images/testimonials/profile_picture (50).jpg', '5', 'active', 1606841910),
(4, '/store/1/default_images/testimonials/profile_picture (38).jpg', '5', 'active', 1606841929),
(5, '/store/1/default_images/testimonials/profile_picture (20).jpg', '5', 'active', 1606841946),
(6, '/store/1/default_images/testimonials/profile_picture (52).jpg', '5', 'active', 1606842000);

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

--
-- Table structure for table `testimonial_translations`
--

CREATE TABLE `testimonial_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `testimonial_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_bio` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `testimonial_translations`
--

INSERT INTO `testimonial_translations` (`id`, `testimonial_id`, `locale`, `user_name`, `user_bio`, `comment`) VALUES
(1, 2, 'en', 'Ryan Newman', 'Data Analyst at Microsoft', '\"We\'ve used Rocket LMS for the last 2  years. Thanks for the great service.\"'),
(2, 3, 'en', 'Megan Hayward', 'System Administrator at Amazon', '\"We\'re loving it. Rocket LMS is both perfect    and highly adaptable.\"'),
(3, 4, 'en', 'Natasha Hope', 'IT Technician at IBM', '\"I am really satisfied with my Rocket LMS. It\'s the perfect solution for our business.\"'),
(4, 5, 'en', 'Charles Dale', 'Computer Engineer at Oracle', '\"I am so pleased with this product. I couldn\'t have asked for more than this.\"'),
(5, 6, 'en', 'David Patterson', 'Network Technician at Cisco', '\"Rocket LMS impressed me on multiple           levels.\"'),
(6, 2, 'ar', 'Abdul Jabbaar el-Kaleel', 'محلل بيانات في مايكروسوفت', '\"لقد استخدمنا Rocket LMS خلال العامين الماضيين. شكرًا على الخدمة الرائعة.\"'),
(7, 2, 'es', 'Ryan Newman', 'Analista de datos en Microsoft', '\"Hemos utilizado Rocket LMS durante los últimos 2 años. Gracias por el gran servicio\"'),
(8, 3, 'es', 'Megan Hayward', 'Administradora de sistemas en Amazon', '\"Nos encanta. Rocket LMS es perfecto y muy adaptable\".'),
(9, 3, 'ar', 'Khaleela el-Alam', 'مسؤول النظام في أمازون', '\"نحن نحبها. Rocket LMS مثالي وقابل للتكيف بشكل كبير.\"'),
(10, 4, 'es', 'Natasha Hope', 'Técnico de TI en IBM', '\"Estoy realmente satisfecho con mi Rocket LMS. Es la solución perfecta para nuestro negocio\"'),
(11, 4, 'ar', 'Sakeena el-Shad', 'فني تكنولوجيا المعلومات في شركة آی بی ام', '\"أنا راضٍ حقًا عن Rocket LMS. إنه الحل الأمثل لأعمالنا.\"'),
(12, 5, 'es', 'Charles Dale', 'Ingeniera informatica en oracle', '\"Estoy muy satisfecho con este producto. No podría haber pedido más que esto\"'),
(13, 5, 'ar', 'Rifat el-Younis', 'مهندس كمبيوتر', '\"أنا مسرور جدًا بهذا المنتج. لم أستطع طلب أكثر من هذا.\"'),
(14, 6, 'es', 'David Patterson', 'Técnico de redes en Cisco', '\"Rocket LMS me impresionó en varios niveles\"'),
(15, 6, 'ar', 'Ahmed al-Mansouri', 'فني شبكات في سيسكو', '\"لقد أبهرني صاروخ Rocket LMS على مستويات متعددة.\"');

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

--
-- Table structure for table `text_lessons`
--

CREATE TABLE `text_lessons` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `chapter_id` int UNSIGNED DEFAULT NULL,
  `image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `study_time` int UNSIGNED DEFAULT NULL,
  `accessibility` enum('free','paid') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'free',
  `check_previous_parts` tinyint(1) NOT NULL DEFAULT '0',
  `access_after_day` int UNSIGNED DEFAULT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `created_at` int UNSIGNED NOT NULL,
  `updated_at` int UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `text_lessons`
--

INSERT INTO `text_lessons` (`id`, `creator_id`, `webinar_id`, `chapter_id`, `image`, `study_time`, `accessibility`, `check_previous_parts`, `access_after_day`, `order`, `status`, `created_at`, `updated_at`) VALUES
(21, 1, 2024, 42, NULL, 60, 'free', 0, NULL, 1, 'active', 1749723354, NULL),
(22, 1, 2024, 42, NULL, 60, 'free', 0, NULL, 2, 'active', 1749723490, NULL),
(23, 1, 2024, 42, NULL, 60, 'free', 0, NULL, 3, 'active', 1749723914, NULL),
(24, 1, 2024, 42, NULL, 60, 'free', 0, NULL, 4, 'active', 1749723943, NULL),
(25, 1, 2024, 43, NULL, 60, 'free', 0, NULL, 5, 'active', 1749724902, NULL),
(26, 1, 2024, 43, NULL, 60, 'free', 0, NULL, 6, 'active', 1749724936, NULL),
(27, 1, 2024, 43, NULL, 60, 'free', 0, NULL, 7, 'active', 1749725003, NULL),
(28, 1, 2024, 43, NULL, 60, 'free', 0, NULL, 8, 'active', 1749725171, NULL);

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

--
-- Table structure for table `text_lessons_attachments`
--

CREATE TABLE `text_lessons_attachments` (
  `id` int UNSIGNED NOT NULL,
  `text_lesson_id` int UNSIGNED NOT NULL,
  `file_id` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `text_lesson_translations`
--

CREATE TABLE `text_lesson_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `text_lesson_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `summary` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `text_lesson_translations`
--

INSERT INTO `text_lesson_translations` (`id`, `text_lesson_id`, `locale`, `title`, `summary`, `content`) VALUES
(13, 21, 'ar', '1️⃣المحاضرة الأولى: مقدمة في إدارة الأعمال', '•	تعريف إدارة الأعمال وأهميتها\r\n•	الوظائف الأساسية للإدارة (التخطيط، التنظيم، القيادة، الرقابة)\r\n•	الفرق بين ريادة الأعمال والإدارة التقليدية', '<p>•<span style=\"white-space:pre\">	</span>تعريف إدارة الأعمال وأهميتها</p><p>•<span style=\"white-space:pre\">	</span>الوظائف الأساسية للإدارة (التخطيط، التنظيم، القيادة، الرقابة)</p><p>•<span style=\"white-space:pre\">	</span>الفرق بين ريادة الأعمال والإدارة التقليدية</p><div><br></div>'),
(14, 22, 'ar', '2️⃣المحاضرة الثانية: تطور الفكر الإداري والمدارس الإدارية', '•	المدارس الكلاسيكية والحديثة في الإدارة\r\n•	نظريات الإدارة وتأثيرها على بيئة الأعمال\r\n•	مفهوم الإدارة الحديثة والتحول الإداري', '<p>•<span style=\"white-space:pre\">	</span>المدارس الكلاسيكية والحديثة في الإدارة</p><p>•<span style=\"white-space:pre\">	</span>نظريات الإدارة وتأثيرها على بيئة الأعمال</p><p>•<span style=\"white-space:pre\">	</span>مفهوم الإدارة الحديثة والتحول الإداري</p><div><br></div>'),
(15, 23, 'ar', '3️⃣المحاضرة الثالثة: أنواع الشركات والهياكل التنظيمية', '•	أنواع الشركات (الملكية الفردية، الشراكات، الشركات المساهمة)\r\n•	أشكال الهياكل التنظيمية (الهيكل الوظيفي، المصفوفي، الشبكي)\r\n•	كيفية اختيار الهيكل التنظيمي المناسب للشركة', '<p>•<span style=\"white-space:pre\">	</span>أنواع الشركات (الملكية الفردية، الشراكات، الشركات المساهمة)</p><p>•<span style=\"white-space:pre\">	</span>أشكال الهياكل التنظيمية (الهيكل الوظيفي، المصفوفي، الشبكي)</p><p>•<span style=\"white-space:pre\">	</span>كيفية اختيار الهيكل التنظيمي المناسب للشركة</p><div><br></div>'),
(16, 24, 'ar', '4️⃣المحاضرة الرابعة: الإدارة الفعالة واتخاذ القرار', '•	مفهوم وأهمية اتخاذ القرار في الإدارة\r\n•	مراحل اتخاذ القرار وأدوات التحليل\r\n•	استراتيجيات اتخاذ القرار الفعّال', '<p>•<span style=\"white-space:pre\">	</span>مفهوم وأهمية اتخاذ القرار في الإدارة</p><p>•<span style=\"white-space:pre\">	</span>مراحل اتخاذ القرار وأدوات التحليل</p><p>•<span style=\"white-space:pre\">	</span>استراتيجيات اتخاذ القرار الفعّال</p><div><br></div>'),
(17, 25, 'ar', '5️⃣المحاضرة الخامسة: مبادئ التخطيط الاستراتيجي', '•	مفهوم التخطيط الاستراتيجي وأهميته\r\n•	الفرق بين التخطيط الاستراتيجي والتشغيلي\r\n•	خطوات بناء خطة استراتيجية فعالة', '<p>•<span style=\"white-space:pre\">	</span>مفهوم التخطيط الاستراتيجي وأهميته</p><p>•<span style=\"white-space:pre\">	</span>الفرق بين التخطيط الاستراتيجي والتشغيلي</p><p>•<span style=\"white-space:pre\">	</span>خطوات بناء خطة استراتيجية فعالة</p><div><br></div>'),
(18, 26, 'ar', '6️⃣المحاضرة السادسة: تحليل SWOT وتقييم البيئة الداخلية والخارجية', '•	تعريف تحليل SWOT وكيفية تطبيقه\r\n•	أدوات تحليل البيئة الخارجية والداخلية\r\n•	استخدام التحليل الاستراتيجي في وضع الخطط المستقبلية', '<p>•<span style=\"white-space:pre\">	</span>تعريف تحليل SWOT وكيفية تطبيقه</p><p>•<span style=\"white-space:pre\">	</span>أدوات تحليل البيئة الخارجية والداخلية</p><p>•<span style=\"white-space:pre\">	</span>استخدام التحليل الاستراتيجي في وضع الخطط المستقبلية</p><div><br></div>'),
(19, 27, 'en', '7️⃣المحاضرة السابعة: إدارة المشروعات – المفاهيم الأساسية', '•	دورة حياة المشروع\r\n•	إدارة الوقت والتكلفة والنطاق\r\n•	أساسيات منهجية PMI في إدارة المشاريع', '<p>•<span style=\"white-space:pre\">	</span>دورة حياة المشروع</p><p>•<span style=\"white-space:pre\">	</span>إدارة الوقت والتكلفة والنطاق</p><p>•<span style=\"white-space:pre\">	</span>أساسيات منهجية PMI في إدارة المشاريع</p><div><br></div>'),
(20, 28, 'ar', '8️⃣المحاضرة الثامنة: إدارة المخاطر وتقييم الأداء في المشروعات', '•	تعريف المخاطر وتصنيفها\r\n•	استراتيجيات التعامل مع المخاطر\r\n•	مؤشرات الأداء الرئيسية (KPIs) في إدارة المشروعات', '<p>•<span style=\"white-space:pre\">	</span>تعريف المخاطر وتصنيفها</p><p>•<span style=\"white-space:pre\">	</span>استراتيجيات التعامل مع المخاطر</p><p>•<span style=\"white-space:pre\">	</span>مؤشرات الأداء الرئيسية (KPIs) في إدارة المشروعات</p><div><br></div>');

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

--
-- Table structure for table `tickets`
--

CREATE TABLE `tickets` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `start_date` int UNSIGNED DEFAULT NULL,
  `end_date` int UNSIGNED DEFAULT NULL,
  `discount` int NOT NULL,
  `capacity` int DEFAULT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL,
  `deleted_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `ticket_translations`
--

CREATE TABLE `ticket_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `ticket_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `ticket_users`
--

CREATE TABLE `ticket_users` (
  `id` int UNSIGNED NOT NULL,
  `ticket_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `trend_categories`
--

CREATE TABLE `trend_categories` (
  `id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED NOT NULL,
  `icon` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `color` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `upcoming_courses`
--

CREATE TABLE `upcoming_courses` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `teacher_id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED DEFAULT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL COMMENT 'when assigned a course',
  `type` enum('webinar','course','text_lesson') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `thumbnail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_cover` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_demo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `video_demo_source` enum('upload','youtube','vimeo','external_link','google_drive','iframe','s3','secure_host') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `publish_date` bigint UNSIGNED DEFAULT NULL,
  `timezone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `points` int UNSIGNED DEFAULT NULL,
  `capacity` int UNSIGNED DEFAULT NULL,
  `price` double(15,2) DEFAULT NULL,
  `duration` int UNSIGNED DEFAULT NULL,
  `sections` int UNSIGNED DEFAULT NULL,
  `parts` int UNSIGNED DEFAULT NULL,
  `course_progress` int UNSIGNED DEFAULT NULL,
  `support` tinyint(1) NOT NULL DEFAULT '0',
  `certificate` tinyint(1) NOT NULL DEFAULT '0',
  `include_quizzes` tinyint(1) NOT NULL DEFAULT '0',
  `downloadable` tinyint(1) NOT NULL DEFAULT '0',
  `forum` tinyint(1) NOT NULL DEFAULT '0',
  `message_for_reviewer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` enum('active','pending','is_draft','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'is_draft',
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `upcoming_course_filter_option`
--

CREATE TABLE `upcoming_course_filter_option` (
  `id` int UNSIGNED NOT NULL,
  `upcoming_course_id` int UNSIGNED NOT NULL,
  `filter_option_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `upcoming_course_followers`
--

CREATE TABLE `upcoming_course_followers` (
  `id` int UNSIGNED NOT NULL,
  `upcoming_course_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `upcoming_course_reports`
--

CREATE TABLE `upcoming_course_reports` (
  `id` int UNSIGNED NOT NULL,
  `upcoming_course_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `upcoming_course_translations`
--

CREATE TABLE `upcoming_course_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `upcoming_course_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seo_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `users_badges`
--

CREATE TABLE `users_badges` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `badge_id` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `users_cookie_security`
--

CREATE TABLE `users_cookie_security` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `type` enum('all','customize') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `settings` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_cookie_security`
--

INSERT INTO `users_cookie_security` (`id`, `user_id`, `type`, `settings`, `created_at`) VALUES
(1, 1015, 'all', NULL, 1655621683),
(2, 1, 'all', NULL, 1655624844),
(3, 934, 'all', NULL, 1655627382),
(4, 1016, 'all', NULL, 1655790120),
(5, 930, 'all', NULL, 1655790832),
(6, 929, 'all', NULL, 1655799536),
(7, 995, 'all', NULL, 1655872658),
(8, 996, 'all', NULL, 1655875490),
(9, 923, 'all', NULL, 1656104015),
(10, 979, 'all', NULL, 1656139682),
(11, 1019, 'all', NULL, 1656571625);

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

--
-- Table structure for table `users_manual_purchase`
--

CREATE TABLE `users_manual_purchase` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `access` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `users_metas`
--

CREATE TABLE `users_metas` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_metas`
--

INSERT INTO `users_metas` (`id`, `user_id`, `name`, `value`) VALUES
(21, 1016, 'education', 'BS in Mechanical Engineering from Santa Clara University'),
(22, 1016, 'education', 'MS in Mechanical Engineering from Santa Clara University'),
(23, 1016, 'experience', 'professional instructor and trainer for Data Science and programming'),
(24, 1016, 'experience', 'Head of Data Science for Pierian Data Inc'),
(25, 1015, 'experience', 'supporting proprietary Unix operating systems including AIX, HP-UX, and Solaris.'),
(26, 1015, 'experience', '10 years of experience working with Linux systems'),
(27, 1015, 'education', 'Red Hat Certified Engineer (RHCE)'),
(28, 1015, 'education', 'AWS Certified DevOps Engineer - Professional'),
(29, 1015, 'education', 'Linux Foundation Certified System Administrator'),
(30, 929, 'experience', 'Director at Cisco Systems 2015 - 2021'),
(31, 929, 'experience', 'research assistant at Harvard University 2010 - 2019'),
(32, 929, 'experience', 'Amazon bestselling author'),
(33, 923, 'experience', 'marketing strategies at Microlab 2010-2015'),
(34, 923, 'education', 'Associate of Business Administration from Imperial College London'),
(35, 923, 'education', 'Bachelor of International Business Economics from University of Cambridge'),
(36, 923, 'education', 'Master of Business Administration from King\'s College London'),
(37, 3, 'experience', 'Five-time TED speaker'),
(38, 3, 'education', 'Associate of Applied Business from Stanford University'),
(39, 3, 'education', 'Bachelor of Science in Business from Harvard University'),
(40, 3, 'education', 'Master of Computational Finance from University of Chicago'),
(41, 870, 'education', 'Associate in Physical Therapy from University of British Columbia'),
(42, 870, 'education', 'Bachelor of Arts in Psychology from Duke University'),
(43, 870, 'education', 'Master of Public Health from Cornell University'),
(44, 929, 'education', 'Associate of Applied Business from University of Leeds'),
(45, 929, 'education', 'Bachelor of Management and Organizational Studies from University of Sheffield'),
(46, 929, 'education', 'Master of Management from Durham University'),
(47, 934, 'education', 'Bachelor of Science in Information Technology from University of Glasgow'),
(48, 934, 'education', 'Master of Science in Information Systems (MSIS) from Delft University of Technology'),
(49, 934, 'experience', 'Web Developer at Uber 2015 - 2018'),
(50, 1015, 'education', 'Master of Science in Information Systems (MSIS) from University of Sydney'),
(51, 1016, 'gender', 'man'),
(52, 1016, 'age', '29'),
(53, 1016, 'address', 'Luib, 72 Wern Ddu Lane'),
(54, 1015, 'address', 'Al Wakrah ,27904 Hilpert Knoll'),
(55, 934, 'gender', 'woman'),
(56, 934, 'age', '32'),
(57, 934, 'address', 'OX7 3NH, England, Oxfordshire, Ascott-under-Wychwood'),
(58, 1015, 'gender', 'man'),
(59, 1015, 'age', '27'),
(60, 929, 'gender', 'woman'),
(61, 929, 'age', '24'),
(62, 929, 'address', '668, Katra Hira Lal, Chandni Chowk'),
(63, 870, 'gender', 'woman'),
(64, 870, 'age', '28'),
(65, 870, 'address', '99 boulevard de Prague'),
(66, 3, 'gender', 'man'),
(67, 3, 'age', '36'),
(68, 3, 'address', '638153, Tamil Nadu, Modakkurichi, Elumathur'),
(69, 859, 'age', '30'),
(70, 859, 'address', '6N736 MEDINAH RD , MEDINAH, IL'),
(71, 863, 'age', '22'),
(72, 863, 'address', '19, Janata Market, Nerul, Navi Mumbai'),
(73, 864, 'address', 'No. 13 Poultry Farm Ave., South Odorkor ESt.'),
(74, 867, 'address', 'Massachusetts, West Roxbury, 3979 Smith Street'),
(75, 1049, 'gender', 'woman'),
(76, 1049, 'age', '30'),
(77, 1049, 'address', '1 عمارات ابو الفتوح محطة مدكور الهرم'),
(78, 1049, 'experience', 'lang');

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

--
-- Table structure for table `users_occupations`
--

CREATE TABLE `users_occupations` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `users_occupations`
--

INSERT INTO `users_occupations` (`id`, `user_id`, `category_id`) VALUES
(1017, 867, 525),
(1028, 929, 525),
(1035, 3, 525),
(1039, 934, 525);

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

--
-- Table structure for table `users_registration_packages`
--

CREATE TABLE `users_registration_packages` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `instructors_count` int DEFAULT NULL,
  `students_count` int DEFAULT NULL,
  `courses_capacity` int DEFAULT NULL,
  `courses_count` int DEFAULT NULL,
  `meeting_count` int DEFAULT NULL,
  `status` enum('disabled','active') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_banks`
--

CREATE TABLE `user_banks` (
  `id` int UNSIGNED NOT NULL,
  `logo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_banks`
--

INSERT INTO `user_banks` (`id`, `logo`, `created_at`) VALUES
(4, '/store/1/default_images/payment gateways/paypal.png', 1678874235),
(5, '/store/1/default_images/payment gateways/stripe.png', 1679090196);

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

--
-- Table structure for table `user_bank_specifications`
--

CREATE TABLE `user_bank_specifications` (
  `id` int UNSIGNED NOT NULL,
  `user_bank_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_bank_specifications`
--

INSERT INTO `user_bank_specifications` (`id`, `user_bank_id`) VALUES
(10, 4),
(11, 4),
(12, 5),
(13, 5);

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

--
-- Table structure for table `user_bank_specification_translations`
--

CREATE TABLE `user_bank_specification_translations` (
  `id` int UNSIGNED NOT NULL,
  `user_bank_specification_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_bank_specification_translations`
--

INSERT INTO `user_bank_specification_translations` (`id`, `user_bank_specification_id`, `locale`, `name`) VALUES
(15, 10, 'en', 'Account Holder'),
(16, 11, 'en', 'Email'),
(17, 12, 'en', 'Account Holder'),
(18, 13, 'en', 'Account ID');

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

--
-- Table structure for table `user_bank_translations`
--

CREATE TABLE `user_bank_translations` (
  `id` int UNSIGNED NOT NULL,
  `user_bank_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_bank_translations`
--

INSERT INTO `user_bank_translations` (`id`, `user_bank_id`, `locale`, `title`) VALUES
(6, 4, 'en', 'Paypal'),
(7, 5, 'en', 'Stripe');

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

--
-- Table structure for table `user_commissions`
--

CREATE TABLE `user_commissions` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED DEFAULT NULL,
  `user_group_id` int UNSIGNED DEFAULT NULL,
  `source` enum('courses','bundles','virtual_products','physical_products','meetings') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `type` enum('percent','fixed_amount') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `value` double(15,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `user_form_fields`
--

CREATE TABLE `user_form_fields` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED DEFAULT NULL,
  `become_instructor_id` int UNSIGNED DEFAULT NULL,
  `form_field_id` int UNSIGNED NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_selected_banks`
--

CREATE TABLE `user_selected_banks` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `user_bank_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_selected_bank_specifications`
--

CREATE TABLE `user_selected_bank_specifications` (
  `id` int UNSIGNED NOT NULL,
  `user_selected_bank_id` int UNSIGNED NOT NULL,
  `user_bank_specification_id` int UNSIGNED NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `verifications`
--

CREATE TABLE `verifications` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED DEFAULT NULL,
  `mobile` char(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` char(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` char(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `verified_at` int UNSIGNED DEFAULT NULL,
  `expired_at` int UNSIGNED DEFAULT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `verifications`
--

INSERT INTO `verifications` (`id`, `user_id`, `mobile`, `email`, `code`, `verified_at`, `expired_at`, `created_at`) VALUES
(57, 996, NULL, 'test@gmail.com', '52692', NULL, 1626247575, 1626243975),
(58, 995, NULL, 'student@demo.com', '30257', 1626246439, 1626246489, 1626246375),
(59, 1017, NULL, 'a.pmelaa@gmail.com', '86261', 1639378855, 1639378905, 1639378748),
(84, 1045, NULL, 'tyshun.zaydrian@foundtoo.com', '28503', 1678958778, 1678958828, 1678958736),
(85, 1046, NULL, 'kelii.kendryk@foundtoo.com', '69646', 1678959533, 1678959583, 1678959456),
(87, 1049, NULL, 'heba.taha@faroukgroup.com', '33951', 1745750022, 1745750072, 1745749936),
(88, 1050, NULL, 'ftdeacjy@aurevoirmail.com', '13873', NULL, 1750245697, 1750242097),
(89, 1051, NULL, 'raya.gritsenko.91@mail.ru', '97734', NULL, 1750675960, 1750672360),
(90, 1052, NULL, 'lasflores.gob.ar@gmail.com', '27793', NULL, 1750925582, 1750921982),
(91, 1053, NULL, 'ueattupa@aurevoirmail.com', '39173', NULL, 1751083927, 1751080327),
(92, 1054, NULL, 'hisgtxif@bonjourfmail.com', '95725', NULL, 1751182034, 1751178434),
(93, 1055, NULL, 'admin11@demo.com', '15444', NULL, 1751198952, 1751195352),
(94, 1056, NULL, 'elfaroukadss@gmail.com', '91552', 1751195887, 1751195937, 1751195833),
(95, 1057, NULL, 'fivan56602@lanipe.com', '18244', NULL, 1756809514, 1756805914),
(96, 1058, NULL, 'gwjglsog@wildbmail.com', '48326', NULL, 1757867765, 1757864165),
(97, 1059, NULL, 'nomin.momin+361i6@mail.ru', '20361', NULL, 1759726541, 1759722941),
(98, 1060, NULL, 'halobapak595@gmail.com', '97678', NULL, 1764840524, 1764836924);

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

--
-- Table structure for table `waitlists`
--

CREATE TABLE `waitlists` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED DEFAULT NULL,
  `full_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinars`
--

CREATE TABLE `webinars` (
  `id` int UNSIGNED NOT NULL,
  `teacher_id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `category_id` int UNSIGNED DEFAULT NULL,
  `type` enum('webinar','course','text_lesson') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `private` tinyint(1) NOT NULL DEFAULT '0',
  `slug` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` int DEFAULT NULL,
  `duration` int UNSIGNED DEFAULT NULL,
  `timezone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `thumbnail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_cover` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `video_demo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `video_demo_source` enum('upload','youtube','vimeo','external_link','google_drive','iframe','s3','secure_host') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `capacity` int UNSIGNED DEFAULT NULL,
  `sales_count_number` int UNSIGNED DEFAULT NULL,
  `price` double(15,2) UNSIGNED DEFAULT NULL,
  `organization_price` double(15,2) UNSIGNED DEFAULT NULL,
  `support` tinyint(1) DEFAULT '0',
  `certificate` tinyint(1) NOT NULL DEFAULT '0',
  `downloadable` tinyint(1) DEFAULT '0',
  `partner_instructor` tinyint(1) DEFAULT '0',
  `subscribe` tinyint(1) DEFAULT '0',
  `forum` tinyint(1) NOT NULL DEFAULT '0',
  `enable_waitlist` tinyint(1) NOT NULL DEFAULT '0',
  `access_days` int UNSIGNED DEFAULT NULL COMMENT 'Number of days to access the course',
  `points` int DEFAULT NULL,
  `message_for_reviewer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` enum('active','pending','is_draft','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int NOT NULL,
  `updated_at` int DEFAULT NULL,
  `deleted_at` int DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Dumping data for table `webinars`
--

INSERT INTO `webinars` (`id`, `teacher_id`, `creator_id`, `category_id`, `type`, `private`, `slug`, `start_date`, `duration`, `timezone`, `thumbnail`, `image_cover`, `video_demo`, `video_demo_source`, `capacity`, `sales_count_number`, `price`, `organization_price`, `support`, `certificate`, `downloadable`, `partner_instructor`, `subscribe`, `forum`, `enable_waitlist`, `access_days`, `points`, `message_for_reviewer`, `status`, `created_at`, `updated_at`, `deleted_at`) VALUES
(2024, 1, 1, 528, 'course', 0, 'MBA', NULL, 30, 'Africa/Cairo', '/store/1/default_images/category_cover.png', '/store/1/default_images/category_cover.png', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 'active', 1749723037, 1751200952, NULL),
(2025, 1, 1, 525, 'course', 0, 'ai', NULL, 360, 'Africa/Cairo', '/store/1/default_images/about2.png', '/store/1/default_images/about2.png', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 'active', 1750847442, 1751200498, NULL),
(2026, 1, 1, 526, 'course', 0, 'Occupational Health and Safety', NULL, 360, 'Africa/Cairo', '/store/1/default_images/admin_dashboard.jpg', '/store/1/default_images/admin_dashboard.jpg', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 'active', 1750848858, 1751201018, NULL),
(2027, 1, 1, 612, 'course', 0, 'international criminal law', NULL, 360, 'Africa/Cairo', '/store/1/default_images/blogs_cover.png', '/store/1/default_images/blogs_cover.png', NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, 'active', 1751190642, 1751190708, NULL);

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

--
-- Table structure for table `webinar_assignments`
--

CREATE TABLE `webinar_assignments` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `chapter_id` int UNSIGNED NOT NULL,
  `grade` int UNSIGNED DEFAULT NULL,
  `pass_grade` int UNSIGNED DEFAULT NULL,
  `deadline` int UNSIGNED DEFAULT NULL,
  `attempts` int UNSIGNED DEFAULT NULL,
  `check_previous_parts` tinyint(1) NOT NULL DEFAULT '0',
  `access_after_day` int UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_assignment_attachments`
--

CREATE TABLE `webinar_assignment_attachments` (
  `id` bigint UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `assignment_id` int UNSIGNED NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attach` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_assignment_history`
--

CREATE TABLE `webinar_assignment_history` (
  `id` int UNSIGNED NOT NULL,
  `instructor_id` int UNSIGNED NOT NULL,
  `student_id` int UNSIGNED NOT NULL,
  `assignment_id` int UNSIGNED NOT NULL,
  `grade` int UNSIGNED DEFAULT NULL,
  `status` enum('pending','passed','not_passed','not_submitted') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_assignment_history_messages`
--

CREATE TABLE `webinar_assignment_history_messages` (
  `id` int UNSIGNED NOT NULL,
  `assignment_history_id` int UNSIGNED NOT NULL,
  `sender_id` int UNSIGNED NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_assignment_translations`
--

CREATE TABLE `webinar_assignment_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `webinar_assignment_id` int UNSIGNED NOT NULL,
  `title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_chapter_items`
--

CREATE TABLE `webinar_chapter_items` (
  `id` bigint UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `chapter_id` int UNSIGNED NOT NULL,
  `item_id` int UNSIGNED NOT NULL,
  `type` enum('file','session','text_lesson','quiz','assignment') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `webinar_chapter_items`
--

INSERT INTO `webinar_chapter_items` (`id`, `user_id`, `chapter_id`, `item_id`, `type`, `order`, `created_at`) VALUES
(211, 1, 42, 21, 'text_lesson', 1, 1749723354),
(212, 1, 42, 22, 'text_lesson', 2, 1749723490),
(213, 1, 42, 23, 'text_lesson', 3, 1749723914),
(214, 1, 42, 24, 'text_lesson', 4, 1749723943),
(215, 1, 43, 25, 'text_lesson', 1, 1749724902),
(216, 1, 43, 26, 'text_lesson', 2, 1749724936),
(217, 1, 43, 27, 'text_lesson', 3, 1749725003),
(218, 1, 43, 28, 'text_lesson', 4, 1749725171);

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

--
-- Table structure for table `webinar_chapter_translations`
--

CREATE TABLE `webinar_chapter_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `webinar_chapter_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `webinar_chapter_translations`
--

INSERT INTO `webinar_chapter_translations` (`id`, `webinar_chapter_id`, `locale`, `title`) VALUES
(43, 42, 'en', '📆الشهر الأول: مقدمة في إدارة الأعمال'),
(44, 42, 'ar', '📆الشهر الأول: مقدمة في إدارة الأعمال'),
(45, 43, 'en', '📆الشهر الثاني: التخطيط الاستراتيجي وإدارة المشروعات'),
(46, 43, 'ar', '📆الشهر الثاني: التخطيط الاستراتيجي وإدارة المشروعات');

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

--
-- Table structure for table `webinar_extra_descriptions`
--

CREATE TABLE `webinar_extra_descriptions` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `upcoming_course_id` int UNSIGNED DEFAULT NULL,
  `type` enum('learning_materials','company_logos','requirements') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `order` int UNSIGNED DEFAULT NULL,
  `created_at` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_extra_description_translations`
--

CREATE TABLE `webinar_extra_description_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `webinar_extra_description_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webinar_filter_option`
--

CREATE TABLE `webinar_filter_option` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `filter_option_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `webinar_partner_teacher`
--

CREATE TABLE `webinar_partner_teacher` (
  `id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `teacher_id` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `webinar_reports`
--

CREATE TABLE `webinar_reports` (
  `id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `reason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` int UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `webinar_reviews`
--

CREATE TABLE `webinar_reviews` (
  `id` int UNSIGNED NOT NULL,
  `creator_id` int UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED DEFAULT NULL,
  `bundle_id` int UNSIGNED DEFAULT NULL,
  `content_quality` int UNSIGNED NOT NULL,
  `instructor_skills` int UNSIGNED NOT NULL,
  `purchase_worth` int UNSIGNED NOT NULL,
  `support_quality` int UNSIGNED NOT NULL,
  `rates` char(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` int UNSIGNED NOT NULL,
  `status` enum('pending','active') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Table structure for table `webinar_translations`
--

CREATE TABLE `webinar_translations` (
  `id` bigint UNSIGNED NOT NULL,
  `webinar_id` int UNSIGNED NOT NULL,
  `locale` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seo_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `webinar_translations`
--

INSERT INTO `webinar_translations` (`id`, `webinar_id`, `locale`, `title`, `seo_description`, `description`) VALUES
(172, 2024, 'en', 'Business Administration Course', NULL, '<p>📌Detailed topics of the professional course content in business administration (9 months - one lecture per week)</p><p><br></p><p>🔹Course duration: 9 months (36 lectures)</p><p><br></p><p>🔹Number of lectures: 36 lectures (one lecture per week)</p><p><br></p><p>🔹Target audience: Entrepreneurs, managers, startup owners, and those interested in business administration</p>'),
(173, 2024, 'ar', 'كورس إدارة الأعمال', NULL, '<p>📌محاور تفصيلية لمحتوى الكورس المهني في إدارة الأعمال (9 شهور - محاضرة أسبوعية)</p><p>🔹مدة الكورس: 9 شهور (36 محاضرة)</p><p>🔹عدد المحاضرات: 36 محاضرة (محاضرة واحدة كل أسبوع)</p><p>🔹المستهدفون:رواد الأعمال، المديرون، أصحاب الشركات الناشئة، والمهتمون بإدارة الأعمال</p><div><br></div>'),
(174, 2025, 'en', 'Artificial Intelligence (AI) Course', 'A comprehensive training program that integrates artificial intelligence with business and economics, preparing trainees to understand the fundamentals and modern applications in the job market.', '<p>This integrated training program is a unique opportunity to understand artificial intelligence from a technical and applied perspective in business and economics. The program is divided into three main tracks covering the fundamentals of artificial intelligence, its applications in the workplace, and its impact on economic policies.</p><p><br></p><p>In the first track, \"Artificial Intelligence Basics,\" participants are introduced to basic concepts such as the difference between artificial intelligence, machine learning, and deep learning, as well as the role of big data and algorithms in developing intelligent models.</p><p><br></p><p>In the second track, \"Artificial Intelligence in Business,\" participants focus on how to employ artificial intelligence to improve efficiency and make data-driven strategic decisions, ranging from customer service and digital marketing to risk management and supply chains.</p><p><br></p><p>In the third track, \"Artificial Intelligence in Economics,\" trainees gain skills in using artificial intelligence to analyze financial markets, forecast economic growth, design financial policies, and address behavioral and regulatory challenges.</p><p><br></p><p>The program also addresses ethical issues, governance, and the impact of artificial intelligence on the labor market, along with a final applied project that demonstrates the trainee\'s ability to solve a real-world problem using artificial intelligence.</p><p><br></p><p>The program is designed for professionals, entrepreneurs, economic analysts, and anyone who wants to prepare for the coming AI revolution with confidence.</p>'),
(175, 2026, 'ar', 'الصحة والسلامة المهنية', 'برنامج تدريبي شامل يهدف لتأهيل الأفراد بمفاهيم وإجراءات الصحة والسلامة المهنية، وتحليل المخاطر، والإسعافات الأولية، والطوارئ، وفق المعايير الدولية.', '<p>تم تصميم هذا البرنامج التدريبي لتزويد المشاركين بالمعرفة والمهارات الأساسية في مجال الصحة والسلامة المهنية، وفقًا لأفضل الممارسات والمعايير الدولية. يغطي الكورس 12 أسبوعًا تتوزع على ثلاثة أشهر، تجمع بين الأساس النظري والتطبيق العملي.</p><p><br></p><p>في الشهر الأول، يتم التركيز على المفاهيم الأساسية، مثل تعريف الصحة والسلامة المهنية، وأهميتها في بيئة العمل، بالإضافة إلى القوانين والتشريعات الدولية والمحلية، وحقوق وواجبات العاملين. كما يتم تدريب المتعلمين على كيفية تحديد وتحليل وتقييم المخاطر المختلفة في مواقع العمل.</p><p><br></p><p>أما الشهر الثاني، فيُعنى بالجوانب التطبيقية في بيئة العمل، حيث يتناول معدات الوقاية الشخصية (PPE)، وأساليب الوقاية من المخاطر الفيزيائية والكيميائية، بالإضافة إلى الإسعافات الأولية والتعامل مع الطوارئ مثل الحرائق أو الإصابات. كما يتم تسليط الضوء على السلامة الكهربائية وإجراءات الوقاية من الحريق.</p><p><br></p><p>في الشهر الثالث، يناقش البرنامج الصحة النفسية وتأثير التوتر في بيئة العمل، ودور مشرفي السلامة في الحد من الحوادث من خلال التوعية والتدريب. ويختتم البرنامج بتحليل دراسات حالة تطبيقية واقعية، ثم مراجعة شاملة لجميع المحاور واختبار نهائي لتقييم الفهم واختتام الكورس.</p><p><br></p><p>البرنامج مثالي للعاملين في الشركات، مسؤولي الموارد البشرية، المشرفين، ومديري العمليات الذين يرغبون في خلق بيئة عمل آمنة وصحية.</p><p><br></p>'),
(176, 2026, 'en', 'Occupational Health and Safety', 'برنامج تدريبي شامل يهدف لتأهيل الأفراد بمفاهيم وإجراءات الصحة والسلامة المهنية، وتحليل المخاطر، والإسعافات الأولية، والطوارئ، وفق المعايير الدولية.', '<p>This training program is designed to provide participants with basic knowledge and skills in the field of occupational health and safety, in accordance with international best practices and standards. The course covers 12 weeks, spread over three months, combining theoretical foundations with practical application.</p><p><br></p><p>The first month focuses on basic concepts, such as the definition of occupational health and safety, its importance in the workplace, international and local laws and regulations, and the rights and responsibilities of workers. Learners are also trained on how to identify, analyze, and evaluate various hazards in the workplace.</p><p><br></p><p>The second month focuses on practical aspects of the workplace, covering personal protective equipment (PPE), methods of preventing physical and chemical hazards, first aid, and dealing with emergencies such as fires or injuries. Electrical safety and fire prevention procedures are also highlighted.</p><p><br></p><p>The third month discusses mental health, the impact of stress in the workplace, and the role of safety supervisors in reducing accidents through awareness and training. The program concludes with an analysis of real-life case studies, followed by a comprehensive review of all topics and a final exam to assess understanding and conclude the course.</p><p><br></p><p>The program is ideal for corporate employees, human resources managers, supervisors, and operations managers who want to create a safe and healthy work environment.</p>'),
(177, 2027, 'en', 'international criminal law', 'A comprehensive course on international criminal law, covering major crimes, courts, UN roles, real case studies, and challenges facing global justice', '<p>This advanced course in International Criminal Law offers a thorough understanding of the legal frameworks governing global justice. Spanning either 9 or 12 weeks, the program explores the evolution, scope, and enforcement mechanisms of international criminal law through historical analysis, institutional studies, and real-world case reviews.</p><p><br></p><p>In the first month, participants are introduced to foundational concepts, distinguishing between domestic and international criminal law. It covers key legal sources including treaties, conventions, and customary law, and defines core international crimes such as war crimes, crimes against humanity, genocide, and the crime of aggression.</p><p><br></p><p>The second month focuses on the institutions that enforce international criminal justice. It examines the legacy of temporary tribunals like those for Nuremberg, Tokyo, Yugoslavia, and Rwanda, then moves to the International Criminal Court (ICC) – its Rome Statute foundation, jurisdiction, and internal processes including investigation and prosecution.</p><p><br></p><p>In the third month, learners engage in applied analysis of landmark ICC cases, such as those involving Sudan, the DRC, and Uganda. The course also discusses key challenges like state cooperation, enforcement limitations, and the political resistance by non-signatory countries.</p><p><br></p><p>The course concludes with a comprehensive review and final assessment. It is ideally suited for law students, legal practitioners, diplomats, and professionals working in human rights or international organizations.</p><p><br></p>'),
(178, 2027, 'ar', 'القانون الجنائي الدولي', 'برنامج شامل في القانون الجنائي الدولي، يشرح الجرائم الدولية، المحاكم المختصة، وآليات العدالة الدولية، مع دراسة قضايا واقعية وتحديات معاصرة', '<p>يُعد هذا البرنامج التدريبي المتخصص في القانون الجنائي الدولي منصة معرفية متقدمة لفهم قواعد العدالة الدولية، من حيث المفاهيم الأساسية، المؤسسات القضائية، والجرائم التي تُعنى بها هذه المنظومة القانونية. يتضمن البرنامج مسارين رئيسيين (9 أسابيع أو 12 أسبوعًا)، ويغطي مراحل تطور القانون الدولي الجنائي من نشأته بعد الحرب العالمية الثانية إلى محكمة الجنايات الدولية الحديثة (ICC).</p><p><br></p><p>في الشهر الأول، يستعرض البرنامج المفاهيم الأساسية للقانون الجنائي الدولي، ويُميز بينه وبين القانون الجنائي الوطني، مع التركيز على مصادر هذا القانون مثل المعاهدات، الاتفاقيات، والأعراف الدولية. كما يتم التطرق إلى التصنيف القانوني للجرائم الدولية مثل جرائم الحرب، الجرائم ضد الإنسانية، الإبادة الجماعية، وجريمة العدوان.</p><p><br></p><p>أما في الشهر الثاني، فيُخصص لدراسة المحاكم الدولية، بدءًا من المحاكم المؤقتة مثل نورمبرغ، طوكيو، يوغوسلافيا، ورواندا، وصولًا إلى المحكمة الجنائية الدولية واختصاصاتها وآلية عملها، بما في ذلك التحقيقات، المحاكمات، ودور الادعاء والدفاع.</p><p><br></p><p>ويتناول الشهر الثالث القضايا العملية والتحديات الواقعية التي تواجه تطبيق العدالة الدولية، مثل قضايا السودان والكونغو وأوغندا، والصعوبات المتعلقة بتعاون الدول، والتنفيذ، وعدم الاعتراف بالمحكمة من بعض الحكومات.</p><p><br></p><p>ويُختتم البرنامج بمراجعة شاملة واختبار نهائي لتقييم المعرفة المكتسبة. يعد الكورس مثاليًا لطلبة القانون، الدبلوماسيين، العاملين في المنظمات الدولية، والمهتمين بمجال حقوق الإنسان والعدالة الجنائية.</p>'),
(179, 2025, 'ar', 'دورة الذكاء الاصطناعي', 'برنامج تدريبي شامل يدمج الذكاء الاصطناعي مع مجالات الأعمال والاقتصاد، ويؤهل المتدربين لفهم الأساسيات والتطبيقات الحديثة في سوق العمل.', '<p>يُعد هذا البرنامج التدريبي المتكامل فرصة فريدة لفهم الذكاء الاصطناعي من منظور تقني وتطبيقي في إدارة الأعمال والاقتصاد. ينقسم البرنامج إلى ثلاثة مسارات رئيسية تغطي أساسيات الذكاء الاصطناعي، تطبيقاته في بيئة العمل، وتأثيره على السياسات الاقتصادية.</p><p><br></p><p>في المسار الأول: \"أساسيات الذكاء الاصطناعي\"، يتعرف المشاركون على المفاهيم الأساسية مثل الفرق بين الذكاء الاصطناعي والتعلم الآلي والتعلم العميق، بالإضافة إلى دور البيانات الضخمة والخوارزميات في تطوير النماذج الذكية.</p><p><br></p><p>أما في المسار الثاني: \"الذكاء الاصطناعي في إدارة الأعمال\"، فيتم التركيز على كيفية توظيف الذكاء الاصطناعي لتحسين الكفاءة واتخاذ قرارات استراتيجية مدعومة بالبيانات، بدءًا من خدمة العملاء، مرورًا بالتسويق الرقمي، ووصولًا إلى إدارة المخاطر وسلاسل التوريد.</p><p><br></p><p>وفي المسار الثالث: \"الذكاء الاصطناعي في الاقتصاد\"، يكتسب المتدربون مهارات استخدام الذكاء الاصطناعي في تحليل الأسواق المالية، التنبؤ بالنمو الاقتصادي، تصميم السياسات المالية، ومواجهة التحديات السلوكية والتنظيمية.</p><p><br></p><p>يتناول البرنامج أيضًا القضايا الأخلاقية، والحوكمة، وتأثير الذكاء الاصطناعي على سوق العمل، إلى جانب مشروع تطبيقي ختامي يُبرز قدرة المتدرب على حل مشكلة واقعية باستخدام الذكاء الاصطناعي.</p><p><br></p><p>البرنامج مصمم للمهنيين، ورواد الأعمال، والمحللين الاقتصاديين، ولكل من يرغب في الاستعداد لثورة الذكاء الاصطناعي المقبلة بخطوات واثقة.</p><p><br></p>');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `abandoned_cart_rules`
--
ALTER TABLE `abandoned_cart_rules`
  ADD PRIMARY KEY (`id`),
  ADD KEY `abandoned_cart_rules_discount_id_foreign` (`discount_id`);

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

--
-- Indexes for table `abandoned_cart_rule_specification_items`
--
ALTER TABLE `abandoned_cart_rule_specification_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `abandoned_cart_rule_id_foreign` (`abandoned_cart_rule_id`),
  ADD KEY `abandoned_cart_rule_specification_items_category_id_foreign` (`category_id`),
  ADD KEY `abandoned_cart_rule_specification_items_instructor_id_foreign` (`instructor_id`),
  ADD KEY `abandoned_cart_rule_specification_items_seller_id_foreign` (`seller_id`),
  ADD KEY `abandoned_cart_rule_specification_items_webinar_id_foreign` (`webinar_id`),
  ADD KEY `abandoned_cart_rule_specification_items_product_id_foreign` (`product_id`),
  ADD KEY `abandoned_cart_rule_specification_items_bundle_id_foreign` (`bundle_id`);

--
-- Indexes for table `abandoned_cart_rule_translations`
--
ALTER TABLE `abandoned_cart_rule_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `abandoned_cart_rule_id_trans` (`abandoned_cart_rule_id`),
  ADD KEY `abandoned_cart_rule_translations_locale_index` (`locale`);

--
-- Indexes for table `abandoned_cart_rule_users_groups`
--
ALTER TABLE `abandoned_cart_rule_users_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `abandoned_cart_rule_id` (`abandoned_cart_rule_id`),
  ADD KEY `abandoned_cart_rule_users_groups_group_id_foreign` (`group_id`),
  ADD KEY `abandoned_cart_rule_users_groups_user_id_foreign` (`user_id`);

--
-- Indexes for table `accounting`
--
ALTER TABLE `accounting`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `id` (`id`) USING BTREE,
  ADD KEY `user_id` (`user_id`) USING BTREE,
  ADD KEY `webinar_id` (`webinar_id`) USING BTREE,
  ADD KEY `meeting_time_id` (`meeting_time_id`) USING BTREE,
  ADD KEY `subscribe_id` (`subscribe_id`) USING BTREE,
  ADD KEY `promotion_id` (`promotion_id`) USING BTREE,
  ADD KEY `accounting_installment_payment_id_foreign` (`installment_payment_id`);

--
-- Indexes for table `advertising_banners`
--
ALTER TABLE `advertising_banners`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `advertising_banners_translations`
--
ALTER TABLE `advertising_banners_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `advertising_banners_translations_advertising_banner_id_foreign` (`advertising_banner_id`),
  ADD KEY `advertising_banners_translations_locale_index` (`locale`);

--
-- Indexes for table `affiliates`
--
ALTER TABLE `affiliates`
  ADD PRIMARY KEY (`id`),
  ADD KEY `affiliates_affiliate_user_id_foreign` (`affiliate_user_id`),
  ADD KEY `affiliates_referred_user_id_foreign` (`referred_user_id`);

--
-- Indexes for table `affiliates_codes`
--
ALTER TABLE `affiliates_codes`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `affiliates_codes_code_unique` (`code`),
  ADD KEY `affiliates_codes_user_id_foreign` (`user_id`);

--
-- Indexes for table `ai_contents`
--
ALTER TABLE `ai_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ai_contents_user_id_foreign` (`user_id`),
  ADD KEY `ai_contents_service_id_foreign` (`service_id`);

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

--
-- Indexes for table `ai_content_template_translations`
--
ALTER TABLE `ai_content_template_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ai_content_template_id_trans` (`ai_content_template_id`),
  ADD KEY `ai_content_template_translations_locale_index` (`locale`);

--
-- Indexes for table `badges`
--
ALTER TABLE `badges`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `badges_type_index` (`type`) USING BTREE;

--
-- Indexes for table `badge_translations`
--
ALTER TABLE `badge_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `badge_translations_badge_id_foreign` (`badge_id`),
  ADD KEY `badge_translations_locale_index` (`locale`);

--
-- Indexes for table `become_instructors`
--
ALTER TABLE `become_instructors`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `become_instructors_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `blog`
--
ALTER TABLE `blog`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `blog_category_id_foreign` (`category_id`) USING BTREE,
  ADD KEY `slug` (`slug`) USING BTREE;

--
-- Indexes for table `blog_categories`
--
ALTER TABLE `blog_categories`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `blog_category_translations`
--
ALTER TABLE `blog_category_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `blog_category_translations_blog_category_id_foreign` (`blog_category_id`),
  ADD KEY `blog_category_translations_locale_index` (`locale`);

--
-- Indexes for table `blog_translations`
--
ALTER TABLE `blog_translations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `blog_translations_blog_id_locale_unique` (`blog_id`,`locale`),
  ADD KEY `blog_translations_locale_index` (`locale`);

--
-- Indexes for table `bundles`
--
ALTER TABLE `bundles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bundles_creator_id_foreign` (`creator_id`),
  ADD KEY `bundles_teacher_id_foreign` (`teacher_id`),
  ADD KEY `bundles_category_id_foreign` (`category_id`),
  ADD KEY `bundles_slug_index` (`slug`);

--
-- Indexes for table `bundle_filter_option`
--
ALTER TABLE `bundle_filter_option`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bundle_filter_option_bundle_id_foreign` (`bundle_id`),
  ADD KEY `bundle_filter_option_filter_option_id_foreign` (`filter_option_id`);

--
-- Indexes for table `bundle_translations`
--
ALTER TABLE `bundle_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bundle_translations_bundle_id_foreign` (`bundle_id`),
  ADD KEY `bundle_translations_locale_index` (`locale`);

--
-- Indexes for table `bundle_webinars`
--
ALTER TABLE `bundle_webinars`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bundle_webinars_bundle_id_foreign` (`bundle_id`),
  ADD KEY `bundle_webinars_webinar_id_foreign` (`webinar_id`);

--
-- Indexes for table `cart`
--
ALTER TABLE `cart`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `cart_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `cart_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `cart_ticket_id_foreign` (`ticket_id`) USING BTREE,
  ADD KEY `cart_reserve_meeting_id_foreign` (`reserve_meeting_id`) USING BTREE,
  ADD KEY `cart_subscribe_id_foreign` (`subscribe_id`) USING BTREE,
  ADD KEY `cart_promotion_id_foreign` (`promotion_id`) USING BTREE,
  ADD KEY `cart_special_offer_id_foreign` (`special_offer_id`),
  ADD KEY `cart_product_order_id_foreign` (`product_order_id`),
  ADD KEY `cart_product_discount_id_foreign` (`product_discount_id`),
  ADD KEY `cart_bundle_id_foreign` (`bundle_id`),
  ADD KEY `cart_installment_payment_id_foreign` (`installment_payment_id`),
  ADD KEY `cart_gift_id_foreign` (`gift_id`);

--
-- Indexes for table `cart_discounts`
--
ALTER TABLE `cart_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cart_discounts_discount_id_foreign` (`discount_id`);

--
-- Indexes for table `cart_discount_translations`
--
ALTER TABLE `cart_discount_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cart_discount_translations_cart_discount_id_foreign` (`cart_discount_id`),
  ADD KEY `cart_discount_translations_locale_index` (`locale`);

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

--
-- Indexes for table `cashback_rule_specification_items`
--
ALTER TABLE `cashback_rule_specification_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cashback_rule_specification_items_cashback_rule_id_foreign` (`cashback_rule_id`),
  ADD KEY `cashback_rule_specification_items_category_id_foreign` (`category_id`),
  ADD KEY `cashback_rule_specification_items_instructor_id_foreign` (`instructor_id`),
  ADD KEY `cashback_rule_specification_items_seller_id_foreign` (`seller_id`),
  ADD KEY `cashback_rule_specification_items_webinar_id_foreign` (`webinar_id`),
  ADD KEY `cashback_rule_specification_items_product_id_foreign` (`product_id`),
  ADD KEY `cashback_rule_specification_items_bundle_id_foreign` (`bundle_id`),
  ADD KEY `cashback_rule_specification_items_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `rules_registration_package_id` (`registration_package_id`);

--
-- Indexes for table `cashback_rule_translations`
--
ALTER TABLE `cashback_rule_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cashback_rule_translations_cashback_rule_id_foreign` (`cashback_rule_id`),
  ADD KEY `cashback_rule_translations_locale_index` (`locale`);

--
-- Indexes for table `cashback_rule_users_groups`
--
ALTER TABLE `cashback_rule_users_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cashback_rule_users_groups_cashback_rule_id_foreign` (`cashback_rule_id`),
  ADD KEY `cashback_rule_users_groups_group_id_foreign` (`group_id`),
  ADD KEY `cashback_rule_users_groups_user_id_foreign` (`user_id`);

--
-- Indexes for table `categories`
--
ALTER TABLE `categories`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `parent_id` (`parent_id`) USING BTREE;

--
-- Indexes for table `category_translations`
--
ALTER TABLE `category_translations`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `category_translations_category_id_foreign` (`category_id`) USING BTREE,
  ADD KEY `category_translations_locale_index` (`locale`) USING BTREE;

--
-- Indexes for table `certificates`
--
ALTER TABLE `certificates`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `certificates_quiz_id_foreign` (`quiz_id`) USING BTREE,
  ADD KEY `certificates_quiz_result_id_foreign` (`quiz_result_id`) USING BTREE,
  ADD KEY `certificates_student_id_foreign` (`student_id`) USING BTREE,
  ADD KEY `certificates_webinar_id_foreign` (`webinar_id`),
  ADD KEY `certificates_bundle_id_foreign` (`bundle_id`);

--
-- Indexes for table `certificates_templates`
--
ALTER TABLE `certificates_templates`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `certificate_template_translations`
--
ALTER TABLE `certificate_template_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `certificate_template_id` (`certificate_template_id`),
  ADD KEY `certificate_template_translations_locale_index` (`locale`);

--
-- Indexes for table `comments`
--
ALTER TABLE `comments`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `comments_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `comments_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `comments_review_id_foreign` (`review_id`) USING BTREE,
  ADD KEY `comments_reply_id_foreign` (`reply_id`) USING BTREE,
  ADD KEY `comments_product_id_foreign` (`product_id`),
  ADD KEY `comments_bundle_id_foreign` (`bundle_id`),
  ADD KEY `blog_id` (`blog_id`),
  ADD KEY `comments_upcoming_course_id_foreign` (`upcoming_course_id`);

--
-- Indexes for table `comments_reports`
--
ALTER TABLE `comments_reports`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `comments_reports_comment_id_foreign` (`comment_id`) USING BTREE,
  ADD KEY `comments_reports_product_id_foreign` (`product_id`);

--
-- Indexes for table `contacts`
--
ALTER TABLE `contacts`
  ADD PRIMARY KEY (`id`) USING BTREE;

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

--
-- Indexes for table `course_learning_last_views`
--
ALTER TABLE `course_learning_last_views`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_learning_last_views_user_id_foreign` (`user_id`),
  ADD KEY `course_learning_last_views_webinar_id_foreign` (`webinar_id`);

--
-- Indexes for table `course_noticeboards`
--
ALTER TABLE `course_noticeboards`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_noticeboards_creator_id_foreign` (`creator_id`),
  ADD KEY `course_noticeboards_webinar_id_foreign` (`webinar_id`);

--
-- Indexes for table `course_noticeboard_status`
--
ALTER TABLE `course_noticeboard_status`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_noticeboard_status_noticeboard_id_foreign` (`noticeboard_id`);

--
-- Indexes for table `course_personal_notes`
--
ALTER TABLE `course_personal_notes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_personal_notes_user_id_foreign` (`user_id`),
  ADD KEY `course_personal_notes_course_id_foreign` (`course_id`);

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

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

--
-- Indexes for table `discounts`
--
ALTER TABLE `discounts`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD UNIQUE KEY `discounts_code_unique` (`code`),
  ADD KEY `discounts_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `discount_bundles`
--
ALTER TABLE `discount_bundles`
  ADD PRIMARY KEY (`id`),
  ADD KEY `discount_bundles_discount_id_foreign` (`discount_id`),
  ADD KEY `discount_bundles_bundle_id_foreign` (`bundle_id`);

--
-- Indexes for table `discount_categories`
--
ALTER TABLE `discount_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `discount_categories_discount_id_foreign` (`discount_id`),
  ADD KEY `discount_categories_category_id_foreign` (`category_id`);

--
-- Indexes for table `discount_courses`
--
ALTER TABLE `discount_courses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `discount_courses_discount_id_foreign` (`discount_id`),
  ADD KEY `discount_courses_course_id_foreign` (`course_id`);

--
-- Indexes for table `discount_groups`
--
ALTER TABLE `discount_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `discount_groups_discount_id_foreign` (`discount_id`),
  ADD KEY `discount_groups_group_id_foreign` (`group_id`);

--
-- Indexes for table `discount_users`
--
ALTER TABLE `discount_users`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `discount_users_discount_id_foreign` (`discount_id`) USING BTREE,
  ADD KEY `discount_users_user_id_foreign` (`user_id`) USING BTREE;

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

--
-- Indexes for table `faqs`
--
ALTER TABLE `faqs`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `faqs_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `faqs_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `faqs_bundle_id_foreign` (`bundle_id`),
  ADD KEY `faqs_upcoming_course_id_foreign` (`upcoming_course_id`);

--
-- Indexes for table `faq_translations`
--
ALTER TABLE `faq_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `faq_translations_faq_id_foreign` (`faq_id`),
  ADD KEY `faq_translations_locale_index` (`locale`);

--
-- Indexes for table `favorites`
--
ALTER TABLE `favorites`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `favorites_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `favorites_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `favorites_bundle_id_foreign` (`bundle_id`),
  ADD KEY `favorites_upcoming_course_id_foreign` (`upcoming_course_id`);

--
-- Indexes for table `feature_webinars`
--
ALTER TABLE `feature_webinars`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `feature_webinars_webinar_id_index` (`webinar_id`) USING BTREE;

--
-- Indexes for table `feature_webinar_translations`
--
ALTER TABLE `feature_webinar_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `feature_webinar_translations_feature_webinar_id_foreign` (`feature_webinar_id`),
  ADD KEY `feature_webinar_translations_locale_index` (`locale`);

--
-- Indexes for table `files`
--
ALTER TABLE `files`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `files_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `files_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `files_chapter_id_foreign` (`chapter_id`);

--
-- Indexes for table `file_translations`
--
ALTER TABLE `file_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `file_translations_file_id_foreign` (`file_id`),
  ADD KEY `file_translations_locale_index` (`locale`);

--
-- Indexes for table `filters`
--
ALTER TABLE `filters`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `filters_category_id_foreign` (`category_id`) USING BTREE;

--
-- Indexes for table `filter_options`
--
ALTER TABLE `filter_options`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `filter_options_filter_id_foreign` (`filter_id`) USING BTREE;

--
-- Indexes for table `filter_option_translations`
--
ALTER TABLE `filter_option_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `filter_option_translations_filter_option_id_foreign` (`filter_option_id`),
  ADD KEY `filter_option_translations_locale_index` (`locale`);

--
-- Indexes for table `filter_translations`
--
ALTER TABLE `filter_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `filter_translations_filter_id_foreign` (`filter_id`),
  ADD KEY `filter_translations_locale_index` (`locale`);

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

--
-- Indexes for table `floating_bar_translations`
--
ALTER TABLE `floating_bar_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `floating_bar_translations_floating_bar_id_foreign` (`floating_bar_id`),
  ADD KEY `floating_bar_translations_locale_index` (`locale`);

--
-- Indexes for table `follows`
--
ALTER TABLE `follows`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `follows_follower_foreign` (`follower`) USING BTREE,
  ADD KEY `follows_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `forms`
--
ALTER TABLE `forms`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `forms_url_unique` (`url`);

--
-- Indexes for table `form_fields`
--
ALTER TABLE `form_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_fields_form_id_foreign` (`form_id`);

--
-- Indexes for table `form_field_options`
--
ALTER TABLE `form_field_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_field_options_form_field_id_foreign` (`form_field_id`);

--
-- Indexes for table `form_field_option_translations`
--
ALTER TABLE `form_field_option_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_field_option_id_trans` (`form_field_option_id`),
  ADD KEY `form_field_option_translations_locale_index` (`locale`);

--
-- Indexes for table `form_field_translations`
--
ALTER TABLE `form_field_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_field_translations_form_field_id_foreign` (`form_field_id`),
  ADD KEY `form_field_translations_locale_index` (`locale`);

--
-- Indexes for table `form_roles_users_groups`
--
ALTER TABLE `form_roles_users_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_roles_users_groups_form_id_foreign` (`form_id`),
  ADD KEY `form_roles_users_groups_role_id_foreign` (`role_id`),
  ADD KEY `form_roles_users_groups_user_id_foreign` (`user_id`),
  ADD KEY `form_roles_users_groups_group_id_foreign` (`group_id`);

--
-- Indexes for table `form_submissions`
--
ALTER TABLE `form_submissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_submissions_user_id_foreign` (`user_id`),
  ADD KEY `form_submissions_form_id_foreign` (`form_id`);

--
-- Indexes for table `form_submission_items`
--
ALTER TABLE `form_submission_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_submission_items_submission_id_foreign` (`submission_id`),
  ADD KEY `form_submission_items_form_field_id_foreign` (`form_field_id`);

--
-- Indexes for table `form_translations`
--
ALTER TABLE `form_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `form_translations_form_id_foreign` (`form_id`),
  ADD KEY `form_translations_locale_index` (`locale`);

--
-- Indexes for table `forums`
--
ALTER TABLE `forums`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `forums_slug_unique` (`slug`),
  ADD KEY `forums_role_id_foreign` (`role_id`),
  ADD KEY `forums_group_id_foreign` (`group_id`);

--
-- Indexes for table `forum_featured_topics`
--
ALTER TABLE `forum_featured_topics`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_featured_topics_topic_id_foreign` (`topic_id`);

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

--
-- Indexes for table `forum_recommended_topic_items`
--
ALTER TABLE `forum_recommended_topic_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_recommended_topic_items_recommended_topic_id_foreign` (`recommended_topic_id`),
  ADD KEY `forum_recommended_topic_items_topic_id_foreign` (`topic_id`);

--
-- Indexes for table `forum_topic_attachments`
--
ALTER TABLE `forum_topic_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_topic_attachments_topic_id_foreign` (`topic_id`),
  ADD KEY `forum_topic_attachments_creator_id_foreign` (`creator_id`);

--
-- Indexes for table `forum_topic_bookmarks`
--
ALTER TABLE `forum_topic_bookmarks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_topic_bookmarks_user_id_foreign` (`user_id`),
  ADD KEY `forum_topic_bookmarks_topic_id_foreign` (`topic_id`);

--
-- Indexes for table `forum_topic_likes`
--
ALTER TABLE `forum_topic_likes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_topic_likes_user_id_foreign` (`user_id`),
  ADD KEY `forum_topic_likes_topic_id_foreign` (`topic_id`),
  ADD KEY `forum_topic_likes_topic_post_id_foreign` (`topic_post_id`);

--
-- Indexes for table `forum_topic_reports`
--
ALTER TABLE `forum_topic_reports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_topic_reports_user_id_foreign` (`user_id`),
  ADD KEY `forum_topic_reports_topic_id_foreign` (`topic_id`),
  ADD KEY `forum_topic_reports_topic_post_id_foreign` (`topic_post_id`);

--
-- Indexes for table `forum_translations`
--
ALTER TABLE `forum_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `forum_translations_forum_id_foreign` (`forum_id`),
  ADD KEY `forum_translations_locale_index` (`locale`);

--
-- Indexes for table `gifts`
--
ALTER TABLE `gifts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `gifts_user_id_foreign` (`user_id`),
  ADD KEY `gifts_webinar_id_foreign` (`webinar_id`),
  ADD KEY `gifts_bundle_id_foreign` (`bundle_id`),
  ADD KEY `gifts_product_id_foreign` (`product_id`);

--
-- Indexes for table `groups`
--
ALTER TABLE `groups`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `groups_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `groups_registration_packages`
--
ALTER TABLE `groups_registration_packages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `groups_registration_packages_group_id_foreign` (`group_id`);

--
-- Indexes for table `group_users`
--
ALTER TABLE `group_users`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `group_users_group_id_foreign` (`group_id`) USING BTREE,
  ADD KEY `group_users_user_id_foreign` (`user_id`) USING BTREE;

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

--
-- Indexes for table `home_page_statistic_translations`
--
ALTER TABLE `home_page_statistic_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `home_page_statistic_id` (`home_page_statistic_id`),
  ADD KEY `home_page_statistic_translations_locale_index` (`locale`);

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

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

--
-- Indexes for table `installment_orders`
--
ALTER TABLE `installment_orders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_orders_installment_id_foreign` (`installment_id`),
  ADD KEY `installment_orders_user_id_foreign` (`user_id`),
  ADD KEY `installment_orders_webinar_id_foreign` (`webinar_id`),
  ADD KEY `installment_orders_product_id_foreign` (`product_id`),
  ADD KEY `installment_orders_bundle_id_foreign` (`bundle_id`),
  ADD KEY `installment_orders_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `installment_orders_registration_package_id_foreign` (`registration_package_id`),
  ADD KEY `installment_product_order_id` (`product_order_id`);

--
-- Indexes for table `installment_order_attachments`
--
ALTER TABLE `installment_order_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_order_id_attachment` (`installment_order_id`);

--
-- Indexes for table `installment_order_payments`
--
ALTER TABLE `installment_order_payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_order_id` (`installment_order_id`),
  ADD KEY `installment_order_payments_sale_id_foreign` (`sale_id`),
  ADD KEY `installment_order_payments_selected_installment_step_id_foreign` (`selected_installment_step_id`);

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

--
-- Indexes for table `installment_specification_items`
--
ALTER TABLE `installment_specification_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_specification_items_installment_id_foreign` (`installment_id`),
  ADD KEY `installment_specification_items_category_id_foreign` (`category_id`),
  ADD KEY `installment_specification_items_instructor_id_foreign` (`instructor_id`),
  ADD KEY `installment_specification_items_seller_id_foreign` (`seller_id`),
  ADD KEY `installment_specification_items_webinar_id_foreign` (`webinar_id`),
  ADD KEY `installment_specification_items_product_id_foreign` (`product_id`),
  ADD KEY `installment_specification_items_bundle_id_foreign` (`bundle_id`),
  ADD KEY `installment_specification_items_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `installment_specification_items_registration_package_id_foreign` (`registration_package_id`);

--
-- Indexes for table `installment_steps`
--
ALTER TABLE `installment_steps`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_steps_installment_id_foreign` (`installment_id`);

--
-- Indexes for table `installment_step_translations`
--
ALTER TABLE `installment_step_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_step_translations_installment_step_id_foreign` (`installment_step_id`),
  ADD KEY `installment_step_translations_locale_index` (`locale`);

--
-- Indexes for table `installment_translations`
--
ALTER TABLE `installment_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_translations_installment_id_foreign` (`installment_id`),
  ADD KEY `installment_translations_locale_index` (`locale`);

--
-- Indexes for table `installment_user_groups`
--
ALTER TABLE `installment_user_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `installment_user_groups_installment_id_foreign` (`installment_id`),
  ADD KEY `installment_user_groups_group_id_foreign` (`group_id`);

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

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

--
-- Indexes for table `meetings`
--
ALTER TABLE `meetings`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `meetings_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `meeting_times`
--
ALTER TABLE `meeting_times`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `meeting_times_meeting_id_foreign` (`meeting_id`) USING BTREE;

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

--
-- Indexes for table `navbar_buttons`
--
ALTER TABLE `navbar_buttons`
  ADD PRIMARY KEY (`id`),
  ADD KEY `navbar_buttons_role_id_foreign` (`role_id`);

--
-- Indexes for table `navbar_button_translations`
--
ALTER TABLE `navbar_button_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `navbar_button_translations_navbar_button_id_foreign` (`navbar_button_id`),
  ADD KEY `navbar_button_translations_locale_index` (`locale`);

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

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

--
-- Indexes for table `noticeboards`
--
ALTER TABLE `noticeboards`
  ADD PRIMARY KEY (`id`),
  ADD KEY `noticeboards_organ_id_foreign` (`organ_id`),
  ADD KEY `noticeboards_user_id_foreign` (`user_id`),
  ADD KEY `noticeboards_instructor_id_foreign` (`instructor_id`),
  ADD KEY `noticeboards_webinar_id_foreign` (`webinar_id`);

--
-- Indexes for table `noticeboards_status`
--
ALTER TABLE `noticeboards_status`
  ADD PRIMARY KEY (`id`),
  ADD KEY `noticeboards_status_noticeboard_id_foreign` (`noticeboard_id`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `notifications_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `notifications_group_id_foreign` (`group_id`) USING BTREE,
  ADD KEY `webinar_id` (`webinar_id`);

--
-- Indexes for table `notifications_status`
--
ALTER TABLE `notifications_status`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `notifications_status_notification_id_foreign` (`notification_id`) USING BTREE;

--
-- Indexes for table `notification_templates`
--
ALTER TABLE `notification_templates`
  ADD PRIMARY KEY (`id`) USING BTREE;

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

--
-- Indexes for table `offline_bank_specifications`
--
ALTER TABLE `offline_bank_specifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `offline_bank_specifications_offline_bank_id_foreign` (`offline_bank_id`);

--
-- Indexes for table `offline_bank_specification_translations`
--
ALTER TABLE `offline_bank_specification_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `offline_bank_specification_id` (`offline_bank_specification_id`),
  ADD KEY `locale` (`locale`) USING BTREE;

--
-- Indexes for table `offline_bank_translations`
--
ALTER TABLE `offline_bank_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `offline_bank_translations_offline_bank_id_foreign` (`offline_bank_id`),
  ADD KEY `offline_bank_translations_locale_index` (`locale`);

--
-- Indexes for table `offline_payments`
--
ALTER TABLE `offline_payments`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `offline_payments_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `offline_payments_offline_bank_id_foreign` (`offline_bank_id`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `orders_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `order_items`
--
ALTER TABLE `order_items`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `order_items_order_id_foreign` (`order_id`) USING BTREE,
  ADD KEY `order_items_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `order_items_ticket_id_foreign` (`ticket_id`) USING BTREE,
  ADD KEY `order_items_reserve_meeting_id_foreign` (`reserve_meeting_id`) USING BTREE,
  ADD KEY `order_items_subscribe_id_foreign` (`subscribe_id`) USING BTREE,
  ADD KEY `order_items_promotion_id_foreign` (`promotion_id`) USING BTREE,
  ADD KEY `order_items_gift_id_foreign` (`gift_id`);

--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `pages_link_unique` (`link`);

--
-- Indexes for table `page_translations`
--
ALTER TABLE `page_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `page_translations_page_id_foreign` (`page_id`),
  ADD KEY `page_translations_locale_index` (`locale`);

--
-- Indexes for table `payku_transactions`
--
ALTER TABLE `payku_transactions`
  ADD UNIQUE KEY `payku_transactions_id_unique` (`id`),
  ADD UNIQUE KEY `payku_transactions_order_unique` (`order`);

--
-- Indexes for table `payouts`
--
ALTER TABLE `payouts`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `payouts_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `payout_user_selected_bank_id` (`user_selected_bank_id`) USING BTREE;

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `permissions_role_id_index` (`role_id`) USING BTREE,
  ADD KEY `permissions_section_id_index` (`section_id`) USING BTREE;

--
-- Indexes for table `prerequisites`
--
ALTER TABLE `prerequisites`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `prerequisites_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `prerequisite_id` (`prerequisite_id`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD KEY `products_creator_id_foreign` (`creator_id`),
  ADD KEY `products_category_id_foreign` (`category_id`),
  ADD KEY `products_type_index` (`type`),
  ADD KEY `products_slug_index` (`slug`);

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

--
-- Indexes for table `product_badge_contents`
--
ALTER TABLE `product_badge_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_badge_contents_product_badge_id_foreign` (`product_badge_id`);

--
-- Indexes for table `product_badge_translations`
--
ALTER TABLE `product_badge_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_badge_translations_product_badge_id_foreign` (`product_badge_id`),
  ADD KEY `product_badge_translations_locale_index` (`locale`);

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

--
-- Indexes for table `product_category_translations`
--
ALTER TABLE `product_category_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_category_id` (`product_category_id`),
  ADD KEY `product_category_translations_locale_index` (`locale`);

--
-- Indexes for table `product_discounts`
--
ALTER TABLE `product_discounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_discounts_creator_id_foreign` (`creator_id`),
  ADD KEY `product_discounts_product_id_foreign` (`product_id`);

--
-- Indexes for table `product_faqs`
--
ALTER TABLE `product_faqs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_faqs_product_id_foreign` (`product_id`),
  ADD KEY `product_faqs_creator_id_foreign` (`creator_id`);

--
-- Indexes for table `product_faq_translations`
--
ALTER TABLE `product_faq_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_faq_id` (`product_faq_id`),
  ADD KEY `product_faq_translations_locale_index` (`locale`);

--
-- Indexes for table `product_files`
--
ALTER TABLE `product_files`
  ADD PRIMARY KEY (`id`),
  ADD KEY `file_product_id` (`product_id`),
  ADD KEY `file_creator_id` (`creator_id`);

--
-- Indexes for table `product_file_translations`
--
ALTER TABLE `product_file_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_file_id` (`product_file_id`),
  ADD KEY `product_file_translations_locale_index` (`locale`);

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

--
-- Indexes for table `product_filter_options`
--
ALTER TABLE `product_filter_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_filter_options_filter_id_foreign` (`filter_id`);

--
-- Indexes for table `product_filter_option_translations`
--
ALTER TABLE `product_filter_option_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_filter_option_id` (`product_filter_option_id`),
  ADD KEY `product_filter_option_translations_locale_index` (`locale`);

--
-- Indexes for table `product_filter_translations`
--
ALTER TABLE `product_filter_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_filter_id` (`product_filter_id`),
  ADD KEY `product_filter_translations_locale_index` (`locale`);

--
-- Indexes for table `product_media`
--
ALTER TABLE `product_media`
  ADD PRIMARY KEY (`id`),
  ADD KEY `media_product_id` (`product_id`),
  ADD KEY `media_creator_id` (`creator_id`);

--
-- Indexes for table `product_orders`
--
ALTER TABLE `product_orders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_orders_installment_order_id_foreign` (`installment_order_id`),
  ADD KEY `product_orders_gift_id_foreign` (`gift_id`);

--
-- Indexes for table `product_reviews`
--
ALTER TABLE `product_reviews`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_reviews_creator_id_foreign` (`creator_id`),
  ADD KEY `product_reviews_product_id_foreign` (`product_id`);

--
-- Indexes for table `product_selected_filter_options`
--
ALTER TABLE `product_selected_filter_options`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_selected_filter_options_product_id_foreign` (`product_id`),
  ADD KEY `product_selected_filter_options_filter_option_id_foreign` (`filter_option_id`);

--
-- Indexes for table `product_selected_specifications`
--
ALTER TABLE `product_selected_specifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_selected_specifications_creator_id_foreign` (`creator_id`),
  ADD KEY `product_selected_specifications_product_id_foreign` (`product_id`),
  ADD KEY `product_selected_specifications_product_specification_id_foreign` (`product_specification_id`);

--
-- Indexes for table `product_selected_specification_multi_values`
--
ALTER TABLE `product_selected_specification_multi_values`
  ADD PRIMARY KEY (`id`),
  ADD KEY `selected_specification_id` (`selected_specification_id`),
  ADD KEY `specification_multi_value_id` (`specification_multi_value_id`);

--
-- Indexes for table `product_selected_specification_translations`
--
ALTER TABLE `product_selected_specification_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_selected_specification_id_translations` (`product_selected_specification_id`),
  ADD KEY `product_selected_specification_translations_locale_index` (`locale`);

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

--
-- Indexes for table `product_specification_categories`
--
ALTER TABLE `product_specification_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_specification_categories_specification_id_foreign` (`specification_id`),
  ADD KEY `product_specification_categories_category_id_foreign` (`category_id`);

--
-- Indexes for table `product_specification_multi_values`
--
ALTER TABLE `product_specification_multi_values`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_specification_multi_values_specification_id_foreign` (`specification_id`);

--
-- Indexes for table `product_specification_multi_value_translations`
--
ALTER TABLE `product_specification_multi_value_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_specification_multi_value_id` (`product_specification_multi_value_id`),
  ADD KEY `product_specification_multi_value_translations_locale_index` (`locale`);

--
-- Indexes for table `product_specification_translations`
--
ALTER TABLE `product_specification_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_specification_id` (`product_specification_id`),
  ADD KEY `product_specification_translations_locale_index` (`locale`);

--
-- Indexes for table `product_translations`
--
ALTER TABLE `product_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `product_id` (`product_id`),
  ADD KEY `product_translations_locale_index` (`locale`);

--
-- Indexes for table `promotions`
--
ALTER TABLE `promotions`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `promotion_translations`
--
ALTER TABLE `promotion_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `promotion_translations_promotion_id_foreign` (`promotion_id`),
  ADD KEY `promotion_translations_locale_index` (`locale`);

--
-- Indexes for table `purchases`
--
ALTER TABLE `purchases`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `purchases_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `purchases_user_id_foreign` (`user_id`) USING BTREE;

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

--
-- Indexes for table `purchase_notification_histories`
--
ALTER TABLE `purchase_notification_histories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purchase_notification_id_history` (`purchase_notification_id`),
  ADD KEY `purchase_notification_histories_user_id_foreign` (`user_id`);

--
-- Indexes for table `purchase_notification_roles_groups_contents`
--
ALTER TABLE `purchase_notification_roles_groups_contents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purchase_notification_id_role_group` (`purchase_notification_id`),
  ADD KEY `purchase_notification_roles_groups_contents_role_id_foreign` (`role_id`),
  ADD KEY `purchase_notification_roles_groups_contents_group_id_foreign` (`group_id`),
  ADD KEY `purchase_notification_roles_groups_contents_webinar_id_foreign` (`webinar_id`),
  ADD KEY `purchase_notification_roles_groups_contents_bundle_id_foreign` (`bundle_id`),
  ADD KEY `purchase_notification_roles_groups_contents_product_id_foreign` (`product_id`);

--
-- Indexes for table `purchase_notification_translations`
--
ALTER TABLE `purchase_notification_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `purchase_notification_id_trans` (`purchase_notification_id`),
  ADD KEY `purchase_notification_translations_locale_index` (`locale`);

--
-- Indexes for table `quizzes`
--
ALTER TABLE `quizzes`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `quizzes_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `quizzes_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `quizzes_chapter_id_foreign` (`chapter_id`);

--
-- Indexes for table `quizzes_questions`
--
ALTER TABLE `quizzes_questions`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `quizzes_questions_quiz_id_foreign` (`quiz_id`) USING BTREE,
  ADD KEY `quizzes_questions_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `quizzes_questions_answers`
--
ALTER TABLE `quizzes_questions_answers`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `quizzes_questions_answers_question_id_foreign` (`question_id`) USING BTREE,
  ADD KEY `quizzes_questions_answers_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `quizzes_questions_answer_translations`
--
ALTER TABLE `quizzes_questions_answer_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `quizzes_questions_answer_id` (`quizzes_questions_answer_id`),
  ADD KEY `quizzes_questions_answer_translations_locale_index` (`locale`);

--
-- Indexes for table `quizzes_results`
--
ALTER TABLE `quizzes_results`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `quizzes_results_quiz_id_foreign` (`quiz_id`) USING BTREE,
  ADD KEY `quizzes_results_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `quiz_question_translations`
--
ALTER TABLE `quiz_question_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `quiz_question_translations_quiz_question_id_foreign` (`quizzes_question_id`),
  ADD KEY `quiz_question_translations_locale_index` (`locale`);

--
-- Indexes for table `quiz_translations`
--
ALTER TABLE `quiz_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `quiz_translations_quiz_id_foreign` (`quiz_id`),
  ADD KEY `quiz_translations_locale_index` (`locale`);

--
-- Indexes for table `rating`
--
ALTER TABLE `rating`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `rating_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `rating_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `rating_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `regions`
--
ALTER TABLE `regions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `regions_country_id_foreign` (`country_id`),
  ADD KEY `regions_province_id_foreign` (`province_id`),
  ADD KEY `regions_city_id_foreign` (`city_id`);

--
-- Indexes for table `registration_packages`
--
ALTER TABLE `registration_packages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `registration_packages_role_index` (`role`);

--
-- Indexes for table `registration_packages_translations`
--
ALTER TABLE `registration_packages_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `registration_package` (`registration_package_id`),
  ADD KEY `registration_packages_translations_locale_index` (`locale`);

--
-- Indexes for table `related_courses`
--
ALTER TABLE `related_courses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `related_courses_creator_id_foreign` (`creator_id`),
  ADD KEY `related_courses_course_id_foreign` (`course_id`);

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

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

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `role_translations`
--
ALTER TABLE `role_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `role_translations_role_id_foreign` (`role_id`),
  ADD KEY `role_translations_locale_index` (`locale`);

--
-- Indexes for table `sales`
--
ALTER TABLE `sales`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `sales_order_id_foreign` (`order_id`) USING BTREE,
  ADD KEY `sales_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `sales_meeting_id_foreign` (`meeting_id`) USING BTREE,
  ADD KEY `sales_ticket_id_foreign` (`ticket_id`) USING BTREE,
  ADD KEY `sales_buyer_id_foreign` (`buyer_id`) USING BTREE,
  ADD KEY `sales_seller_id_foreign` (`seller_id`) USING BTREE,
  ADD KEY `sales_promotion_id_foreign` (`promotion_id`) USING BTREE,
  ADD KEY `sales_installment_payment_id_foreign` (`installment_payment_id`);

--
-- Indexes for table `sales_log`
--
ALTER TABLE `sales_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sales_status_sale_id_foreign` (`sale_id`);

--
-- Indexes for table `sections`
--
ALTER TABLE `sections`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `selected_installments`
--
ALTER TABLE `selected_installments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `selected_installments_user_id_foreign` (`user_id`),
  ADD KEY `selected_installments_installment_id_foreign` (`installment_id`),
  ADD KEY `selected_installments_installment_order_id_foreign` (`installment_order_id`);

--
-- Indexes for table `selected_installment_steps`
--
ALTER TABLE `selected_installment_steps`
  ADD PRIMARY KEY (`id`),
  ADD KEY `selected_installment_steps_selected_installment_id_foreign` (`selected_installment_id`),
  ADD KEY `selected_installment_steps_installment_step_id_foreign` (`installment_step_id`);

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

--
-- Indexes for table `setting_translations`
--
ALTER TABLE `setting_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `setting_translations_setting_id_foreign` (`setting_id`),
  ADD KEY `setting_translations_locale_index` (`locale`);

--
-- Indexes for table `special_offers`
--
ALTER TABLE `special_offers`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `special_offers_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `special_offers_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `special_offers_bundle_id_foreign` (`bundle_id`),
  ADD KEY `special_offers_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `special_offers_registration_package_id_foreign` (`registration_package_id`);

--
-- Indexes for table `subscribes`
--
ALTER TABLE `subscribes`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `subscribe_reminds`
--
ALTER TABLE `subscribe_reminds`
  ADD PRIMARY KEY (`id`),
  ADD KEY `subscribe_reminds_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `subscribe_reminds_user_id_foreign` (`user_id`);

--
-- Indexes for table `subscribe_translations`
--
ALTER TABLE `subscribe_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `subscribe_translations_subscribe_id_foreign` (`subscribe_id`),
  ADD KEY `subscribe_translations_locale_index` (`locale`);

--
-- Indexes for table `subscribe_uses`
--
ALTER TABLE `subscribe_uses`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `subscribe_uses_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `subscribe_uses_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `subscribe_uses_subscribe_id_foreign` (`subscribe_id`) USING BTREE,
  ADD KEY `subscribe_uses_sale_id_foreign` (`sale_id`) USING BTREE,
  ADD KEY `subscribe_uses_bundle_id_foreign` (`bundle_id`),
  ADD KEY `subscribe_uses_installment_order_id_foreign` (`installment_order_id`);

--
-- Indexes for table `supports`
--
ALTER TABLE `supports`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `supports_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `supports_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `supports_department_id_foreign` (`department_id`) USING BTREE;

--
-- Indexes for table `support_conversations`
--
ALTER TABLE `support_conversations`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `support_conversations_support_id_foreign` (`support_id`) USING BTREE,
  ADD KEY `support_conversations_sender_id_foreign` (`sender_id`) USING BTREE,
  ADD KEY `support_conversations_supporter_id_foreign` (`supporter_id`) USING BTREE;

--
-- Indexes for table `support_departments`
--
ALTER TABLE `support_departments`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `support_department_translations`
--
ALTER TABLE `support_department_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `support_department_id` (`support_department_id`),
  ADD KEY `support_department_translations_locale_index` (`locale`);

--
-- Indexes for table `tags`
--
ALTER TABLE `tags`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `tags_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `tags_bundle_id_foreign` (`bundle_id`),
  ADD KEY `tags_upcoming_course_id_foreign` (`upcoming_course_id`);

--
-- Indexes for table `testimonials`
--
ALTER TABLE `testimonials`
  ADD PRIMARY KEY (`id`) USING BTREE;

--
-- Indexes for table `testimonial_translations`
--
ALTER TABLE `testimonial_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `testimonial_translations_testimonial_id_foreign` (`testimonial_id`),
  ADD KEY `testimonial_translations_locale_index` (`locale`);

--
-- Indexes for table `text_lessons`
--
ALTER TABLE `text_lessons`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `text_lessons_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `text_lessons_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `text_lessons_chapter_id_foreign` (`chapter_id`);

--
-- Indexes for table `text_lessons_attachments`
--
ALTER TABLE `text_lessons_attachments`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `text_lessons_attachments_text_lesson_id_foreign` (`text_lesson_id`) USING BTREE,
  ADD KEY `text_lessons_attachments_file_id_foreign` (`file_id`) USING BTREE;

--
-- Indexes for table `text_lesson_translations`
--
ALTER TABLE `text_lesson_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `text_lesson_id` (`text_lesson_id`),
  ADD KEY `text_lesson_translations_locale_index` (`locale`);

--
-- Indexes for table `tickets`
--
ALTER TABLE `tickets`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `tickets_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `tickets_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `tickets_bundle_id_foreign` (`bundle_id`);

--
-- Indexes for table `ticket_translations`
--
ALTER TABLE `ticket_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `ticket_translations_ticket_id_foreign` (`ticket_id`),
  ADD KEY `ticket_translations_locale_index` (`locale`);

--
-- Indexes for table `ticket_users`
--
ALTER TABLE `ticket_users`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `ticket_users_ticket_id_foreign` (`ticket_id`) USING BTREE,
  ADD KEY `ticket_users_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `trend_categories`
--
ALTER TABLE `trend_categories`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `trend_categories_category_id_index` (`category_id`) USING BTREE;

--
-- Indexes for table `upcoming_courses`
--
ALTER TABLE `upcoming_courses`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `upcoming_courses_slug_unique` (`slug`),
  ADD KEY `upcoming_courses_creator_id_foreign` (`creator_id`),
  ADD KEY `upcoming_courses_teacher_id_foreign` (`teacher_id`),
  ADD KEY `upcoming_courses_category_id_foreign` (`category_id`),
  ADD KEY `upcoming_courses_webinar_id_foreign` (`webinar_id`);

--
-- Indexes for table `upcoming_course_filter_option`
--
ALTER TABLE `upcoming_course_filter_option`
  ADD PRIMARY KEY (`id`),
  ADD KEY `upcoming_course_filter_option_upcoming_course_id_foreign` (`upcoming_course_id`),
  ADD KEY `upcoming_course_filter_option_filter_option_id_foreign` (`filter_option_id`);

--
-- Indexes for table `upcoming_course_followers`
--
ALTER TABLE `upcoming_course_followers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `upcoming_course_followers_upcoming_course_id_foreign` (`upcoming_course_id`),
  ADD KEY `upcoming_course_followers_user_id_foreign` (`user_id`);

--
-- Indexes for table `upcoming_course_reports`
--
ALTER TABLE `upcoming_course_reports`
  ADD PRIMARY KEY (`id`),
  ADD KEY `upcoming_course_reports_upcoming_course_id_foreign` (`upcoming_course_id`),
  ADD KEY `upcoming_course_reports_user_id_foreign` (`user_id`);

--
-- Indexes for table `upcoming_course_translations`
--
ALTER TABLE `upcoming_course_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `upcoming_course_translations_upcoming_course_id_foreign` (`upcoming_course_id`),
  ADD KEY `upcoming_course_translations_locale_index` (`locale`);

--
-- Indexes for table `users_badges`
--
ALTER TABLE `users_badges`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `users_badges_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `users_badges_badge_id_foreign` (`badge_id`) USING BTREE;

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

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

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

--
-- Indexes for table `users_occupations`
--
ALTER TABLE `users_occupations`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `users_occupations_user_id_foreign` (`user_id`) USING BTREE,
  ADD KEY `users_occupations_category_id_foreign` (`category_id`) USING BTREE;

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

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

--
-- Indexes for table `user_bank_specifications`
--
ALTER TABLE `user_bank_specifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_bank_specifications_user_bank_id_foreign` (`user_bank_id`);

--
-- Indexes for table `user_bank_specification_translations`
--
ALTER TABLE `user_bank_specification_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_bank_specification_id` (`user_bank_specification_id`),
  ADD KEY `user_bank_specification_translations_locale_index` (`locale`);

--
-- Indexes for table `user_bank_translations`
--
ALTER TABLE `user_bank_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_bank_translations_user_bank_id_foreign` (`user_bank_id`),
  ADD KEY `user_bank_translations_locale_index` (`locale`);

--
-- Indexes for table `user_commissions`
--
ALTER TABLE `user_commissions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_commissions_user_id_foreign` (`user_id`),
  ADD KEY `user_commissions_user_group_id_foreign` (`user_group_id`);

--
-- Indexes for table `user_form_fields`
--
ALTER TABLE `user_form_fields`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_form_fields_user_id_foreign` (`user_id`),
  ADD KEY `user_form_fields_become_instructor_id_foreign` (`become_instructor_id`),
  ADD KEY `user_form_fields_form_field_id_foreign` (`form_field_id`);

--
-- Indexes for table `user_selected_banks`
--
ALTER TABLE `user_selected_banks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_selected_banks_user_bank_id_foreign` (`user_bank_id`),
  ADD KEY `user_selected_banks_user_id_foreign` (`user_id`);

--
-- Indexes for table `user_selected_bank_specifications`
--
ALTER TABLE `user_selected_bank_specifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_selected_bank_id_specifications` (`user_selected_bank_id`),
  ADD KEY `user_bank_specification_id_specifications` (`user_bank_specification_id`);

--
-- Indexes for table `verifications`
--
ALTER TABLE `verifications`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `verifications_user_id_foreign` (`user_id`) USING BTREE;

--
-- Indexes for table `waitlists`
--
ALTER TABLE `waitlists`
  ADD PRIMARY KEY (`id`),
  ADD KEY `waitlists_webinar_id_foreign` (`webinar_id`),
  ADD KEY `waitlists_user_id_foreign` (`user_id`);

--
-- Indexes for table `webinars`
--
ALTER TABLE `webinars`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD UNIQUE KEY `webinars_slug_unique` (`slug`) USING BTREE,
  ADD KEY `webinars_teacher_id_foreign` (`teacher_id`) USING BTREE,
  ADD KEY `webinars_category_id_foreign` (`category_id`) USING BTREE,
  ADD KEY `webinars_slug_index` (`slug`) USING BTREE,
  ADD KEY `webinars_creator_id_foreign` (`creator_id`) USING BTREE;

--
-- Indexes for table `webinar_assignments`
--
ALTER TABLE `webinar_assignments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_assignments_creator_id_foreign` (`creator_id`),
  ADD KEY `webinar_assignments_webinar_id_foreign` (`webinar_id`),
  ADD KEY `webinar_assignments_chapter_id_foreign` (`chapter_id`);

--
-- Indexes for table `webinar_assignment_attachments`
--
ALTER TABLE `webinar_assignment_attachments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_assignment_attachments_assignment_id_foreign` (`assignment_id`);

--
-- Indexes for table `webinar_assignment_history`
--
ALTER TABLE `webinar_assignment_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_assignment_history_instructor_id_foreign` (`instructor_id`),
  ADD KEY `webinar_assignment_history_student_id_foreign` (`student_id`),
  ADD KEY `webinar_assignment_history_assignment_id_foreign` (`assignment_id`);

--
-- Indexes for table `webinar_assignment_history_messages`
--
ALTER TABLE `webinar_assignment_history_messages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_assignment_history_id` (`assignment_history_id`);

--
-- Indexes for table `webinar_assignment_translations`
--
ALTER TABLE `webinar_assignment_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_assignment_id_translate_foreign` (`webinar_assignment_id`),
  ADD KEY `webinar_assignment_translations_locale_index` (`locale`);

--
-- Indexes for table `webinar_chapter_items`
--
ALTER TABLE `webinar_chapter_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_chapter_items_chapter_id_foreign` (`chapter_id`),
  ADD KEY `user_id` (`user_id`);

--
-- Indexes for table `webinar_chapter_translations`
--
ALTER TABLE `webinar_chapter_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_chapter_id` (`webinar_chapter_id`),
  ADD KEY `webinar_chapter_translations_locale_index` (`locale`);

--
-- Indexes for table `webinar_extra_descriptions`
--
ALTER TABLE `webinar_extra_descriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_extra_descriptions_creator_id_foreign` (`creator_id`),
  ADD KEY `webinar_extra_descriptions_webinar_id_foreign` (`webinar_id`),
  ADD KEY `webinar_extra_descriptions_upcoming_course_id_foreign` (`upcoming_course_id`);

--
-- Indexes for table `webinar_extra_description_translations`
--
ALTER TABLE `webinar_extra_description_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_extra_description_id_foreign` (`webinar_extra_description_id`),
  ADD KEY `webinar_extra_description_translations_locale_index` (`locale`);

--
-- Indexes for table `webinar_filter_option`
--
ALTER TABLE `webinar_filter_option`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `webinar_filter_option_filter_option_id_foreign` (`filter_option_id`) USING BTREE,
  ADD KEY `webinar_filter_option_webinar_id_foreign` (`webinar_id`) USING BTREE;

--
-- Indexes for table `webinar_partner_teacher`
--
ALTER TABLE `webinar_partner_teacher`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `webinar_partner_teacher_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `webinar_partner_teacher_teacher_id_foreign` (`teacher_id`) USING BTREE;

--
-- Indexes for table `webinar_reports`
--
ALTER TABLE `webinar_reports`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `webinar_reports_webinar_id_foreign` (`webinar_id`) USING BTREE;

--
-- Indexes for table `webinar_reviews`
--
ALTER TABLE `webinar_reviews`
  ADD PRIMARY KEY (`id`) USING BTREE,
  ADD KEY `webinar_reviews_webinar_id_foreign` (`webinar_id`) USING BTREE,
  ADD KEY `webinar_reviews_creator_id_foreign` (`creator_id`) USING BTREE,
  ADD KEY `webinar_reviews_bundle_id_foreign` (`bundle_id`);

--
-- Indexes for table `webinar_translations`
--
ALTER TABLE `webinar_translations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `webinar_translations_webinar_id_foreign` (`webinar_id`),
  ADD KEY `webinar_translations_locale_index` (`locale`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `abandoned_cart_rules`
--
ALTER TABLE `abandoned_cart_rules`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `abandoned_cart_rule_histories`
--
ALTER TABLE `abandoned_cart_rule_histories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `abandoned_cart_rule_specification_items`
--
ALTER TABLE `abandoned_cart_rule_specification_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `abandoned_cart_rule_translations`
--
ALTER TABLE `abandoned_cart_rule_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `abandoned_cart_rule_users_groups`
--
ALTER TABLE `abandoned_cart_rule_users_groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `accounting`
--
ALTER TABLE `accounting`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=837;

--
-- AUTO_INCREMENT for table `advertising_banners`
--
ALTER TABLE `advertising_banners`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `advertising_banners_translations`
--
ALTER TABLE `advertising_banners_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `affiliates`
--
ALTER TABLE `affiliates`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `affiliates_codes`
--
ALTER TABLE `affiliates_codes`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `ai_contents`
--
ALTER TABLE `ai_contents`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `ai_content_templates`
--
ALTER TABLE `ai_content_templates`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `ai_content_template_translations`
--
ALTER TABLE `ai_content_template_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `badges`
--
ALTER TABLE `badges`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;

--
-- AUTO_INCREMENT for table `badge_translations`
--
ALTER TABLE `badge_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `become_instructors`
--
ALTER TABLE `become_instructors`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `blog`
--
ALTER TABLE `blog`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `blog_categories`
--
ALTER TABLE `blog_categories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT for table `blog_category_translations`
--
ALTER TABLE `blog_category_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `blog_translations`
--
ALTER TABLE `blog_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `bundles`
--
ALTER TABLE `bundles`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `bundle_filter_option`
--
ALTER TABLE `bundle_filter_option`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=52;

--
-- AUTO_INCREMENT for table `bundle_translations`
--
ALTER TABLE `bundle_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `bundle_webinars`
--
ALTER TABLE `bundle_webinars`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `cart`
--
ALTER TABLE `cart`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=213;

--
-- AUTO_INCREMENT for table `cart_discounts`
--
ALTER TABLE `cart_discounts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `cart_discount_translations`
--
ALTER TABLE `cart_discount_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `cashback_rules`
--
ALTER TABLE `cashback_rules`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `cashback_rule_specification_items`
--
ALTER TABLE `cashback_rule_specification_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `cashback_rule_translations`
--
ALTER TABLE `cashback_rule_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `cashback_rule_users_groups`
--
ALTER TABLE `cashback_rule_users_groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=613;

--
-- AUTO_INCREMENT for table `category_translations`
--
ALTER TABLE `category_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;

--
-- AUTO_INCREMENT for table `certificates`
--
ALTER TABLE `certificates`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `certificates_templates`
--
ALTER TABLE `certificates_templates`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `certificate_template_translations`
--
ALTER TABLE `certificate_template_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `comments`
--
ALTER TABLE `comments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `comments_reports`
--
ALTER TABLE `comments_reports`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `contacts`
--
ALTER TABLE `contacts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `content_delete_requests`
--
ALTER TABLE `content_delete_requests`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `course_learning_last_views`
--
ALTER TABLE `course_learning_last_views`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `course_noticeboards`
--
ALTER TABLE `course_noticeboards`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `course_noticeboard_status`
--
ALTER TABLE `course_noticeboard_status`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=51;

--
-- AUTO_INCREMENT for table `course_personal_notes`
--
ALTER TABLE `course_personal_notes`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `currencies`
--
ALTER TABLE `currencies`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `delete_account_requests`
--
ALTER TABLE `delete_account_requests`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `discounts`
--
ALTER TABLE `discounts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `discount_bundles`
--
ALTER TABLE `discount_bundles`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `discount_categories`
--
ALTER TABLE `discount_categories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `discount_courses`
--
ALTER TABLE `discount_courses`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `discount_groups`
--
ALTER TABLE `discount_groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `discount_users`
--
ALTER TABLE `discount_users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

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

--
-- AUTO_INCREMENT for table `faqs`
--
ALTER TABLE `faqs`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;

--
-- AUTO_INCREMENT for table `faq_translations`
--
ALTER TABLE `faq_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;

--
-- AUTO_INCREMENT for table `favorites`
--
ALTER TABLE `favorites`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `feature_webinars`
--
ALTER TABLE `feature_webinars`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `feature_webinar_translations`
--
ALTER TABLE `feature_webinar_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `files`
--
ALTER TABLE `files`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=96;

--
-- AUTO_INCREMENT for table `file_translations`
--
ALTER TABLE `file_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;

--
-- AUTO_INCREMENT for table `filters`
--
ALTER TABLE `filters`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1848;

--
-- AUTO_INCREMENT for table `filter_options`
--
ALTER TABLE `filter_options`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9293;

--
-- AUTO_INCREMENT for table `filter_option_translations`
--
ALTER TABLE `filter_option_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1227;

--
-- AUTO_INCREMENT for table `filter_translations`
--
ALTER TABLE `filter_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=278;

--
-- AUTO_INCREMENT for table `floating_bars`
--
ALTER TABLE `floating_bars`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `floating_bar_translations`
--
ALTER TABLE `floating_bar_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `follows`
--
ALTER TABLE `follows`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `forms`
--
ALTER TABLE `forms`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `form_fields`
--
ALTER TABLE `form_fields`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `form_field_options`
--
ALTER TABLE `form_field_options`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `form_field_option_translations`
--
ALTER TABLE `form_field_option_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `form_field_translations`
--
ALTER TABLE `form_field_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `form_roles_users_groups`
--
ALTER TABLE `form_roles_users_groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `form_submissions`
--
ALTER TABLE `form_submissions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `form_submission_items`
--
ALTER TABLE `form_submission_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;

--
-- AUTO_INCREMENT for table `form_translations`
--
ALTER TABLE `form_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `forums`
--
ALTER TABLE `forums`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `forum_featured_topics`
--
ALTER TABLE `forum_featured_topics`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `forum_recommended_topics`
--
ALTER TABLE `forum_recommended_topics`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `forum_recommended_topic_items`
--
ALTER TABLE `forum_recommended_topic_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55;

--
-- AUTO_INCREMENT for table `forum_topic_attachments`
--
ALTER TABLE `forum_topic_attachments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `forum_topic_bookmarks`
--
ALTER TABLE `forum_topic_bookmarks`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `forum_topic_likes`
--
ALTER TABLE `forum_topic_likes`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `forum_topic_reports`
--
ALTER TABLE `forum_topic_reports`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `forum_translations`
--
ALTER TABLE `forum_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `gifts`
--
ALTER TABLE `gifts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `groups`
--
ALTER TABLE `groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `groups_registration_packages`
--
ALTER TABLE `groups_registration_packages`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `group_users`
--
ALTER TABLE `group_users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;

--
-- AUTO_INCREMENT for table `home_page_statistics`
--
ALTER TABLE `home_page_statistics`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `home_page_statistic_translations`
--
ALTER TABLE `home_page_statistic_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `home_sections`
--
ALTER TABLE `home_sections`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT for table `installments`
--
ALTER TABLE `installments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `installment_orders`
--
ALTER TABLE `installment_orders`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `installment_order_attachments`
--
ALTER TABLE `installment_order_attachments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `installment_order_payments`
--
ALTER TABLE `installment_order_payments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `installment_reminders`
--
ALTER TABLE `installment_reminders`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `installment_specification_items`
--
ALTER TABLE `installment_specification_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `installment_steps`
--
ALTER TABLE `installment_steps`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `installment_step_translations`
--
ALTER TABLE `installment_step_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `installment_translations`
--
ALTER TABLE `installment_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `installment_user_groups`
--
ALTER TABLE `installment_user_groups`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ip_restrictions`
--
ALTER TABLE `ip_restrictions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `jazzcash_transactions`
--
ALTER TABLE `jazzcash_transactions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `meetings`
--
ALTER TABLE `meetings`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;

--
-- AUTO_INCREMENT for table `meeting_times`
--
ALTER TABLE `meeting_times`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=174;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=577;

--
-- AUTO_INCREMENT for table `navbar_buttons`
--
ALTER TABLE `navbar_buttons`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `navbar_button_translations`
--
ALTER TABLE `navbar_button_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

--
-- AUTO_INCREMENT for table `newsletters`
--
ALTER TABLE `newsletters`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `newsletters_history`
--
ALTER TABLE `newsletters_history`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `noticeboards`
--
ALTER TABLE `noticeboards`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `noticeboards_status`
--
ALTER TABLE `noticeboards_status`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `notifications`
--
ALTER TABLE `notifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2320;

--
-- AUTO_INCREMENT for table `notifications_status`
--
ALTER TABLE `notifications_status`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=346;

--
-- AUTO_INCREMENT for table `notification_templates`
--
ALTER TABLE `notification_templates`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=123;

--
-- AUTO_INCREMENT for table `offline_banks`
--
ALTER TABLE `offline_banks`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `offline_bank_specifications`
--
ALTER TABLE `offline_bank_specifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `offline_bank_specification_translations`
--
ALTER TABLE `offline_bank_specification_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

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

--
-- AUTO_INCREMENT for table `offline_payments`
--
ALTER TABLE `offline_payments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;

--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=710;

--
-- AUTO_INCREMENT for table `order_items`
--
ALTER TABLE `order_items`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=708;

--
-- AUTO_INCREMENT for table `pages`
--
ALTER TABLE `pages`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `page_translations`
--
ALTER TABLE `page_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `payouts`
--
ALTER TABLE `payouts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18733;

--
-- AUTO_INCREMENT for table `prerequisites`
--
ALTER TABLE `prerequisites`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `product_badges`
--
ALTER TABLE `product_badges`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `product_badge_contents`
--
ALTER TABLE `product_badge_contents`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `product_badge_translations`
--
ALTER TABLE `product_badge_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `product_category_translations`
--
ALTER TABLE `product_category_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `product_discounts`
--
ALTER TABLE `product_discounts`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `product_faqs`
--
ALTER TABLE `product_faqs`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `product_faq_translations`
--
ALTER TABLE `product_faq_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `product_files`
--
ALTER TABLE `product_files`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `product_file_translations`
--
ALTER TABLE `product_file_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `product_filters`
--
ALTER TABLE `product_filters`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `product_filter_options`
--
ALTER TABLE `product_filter_options`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `product_filter_option_translations`
--
ALTER TABLE `product_filter_option_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `product_filter_translations`
--
ALTER TABLE `product_filter_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `product_media`
--
ALTER TABLE `product_media`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=80;

--
-- AUTO_INCREMENT for table `product_orders`
--
ALTER TABLE `product_orders`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT for table `product_reviews`
--
ALTER TABLE `product_reviews`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `product_selected_filter_options`
--
ALTER TABLE `product_selected_filter_options`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=95;

--
-- AUTO_INCREMENT for table `product_selected_specifications`
--
ALTER TABLE `product_selected_specifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `product_selected_specification_multi_values`
--
ALTER TABLE `product_selected_specification_multi_values`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

--
-- AUTO_INCREMENT for table `product_selected_specification_translations`
--
ALTER TABLE `product_selected_specification_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

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

--
-- AUTO_INCREMENT for table `product_specification_categories`
--
ALTER TABLE `product_specification_categories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;

--
-- AUTO_INCREMENT for table `product_specification_multi_values`
--
ALTER TABLE `product_specification_multi_values`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `product_specification_multi_value_translations`
--
ALTER TABLE `product_specification_multi_value_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `product_specification_translations`
--
ALTER TABLE `product_specification_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `product_translations`
--
ALTER TABLE `product_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `promotions`
--
ALTER TABLE `promotions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `promotion_translations`
--
ALTER TABLE `promotion_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `purchases`
--
ALTER TABLE `purchases`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `purchase_notifications`
--
ALTER TABLE `purchase_notifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `purchase_notification_histories`
--
ALTER TABLE `purchase_notification_histories`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `purchase_notification_roles_groups_contents`
--
ALTER TABLE `purchase_notification_roles_groups_contents`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=91;

--
-- AUTO_INCREMENT for table `purchase_notification_translations`
--
ALTER TABLE `purchase_notification_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `quizzes`
--
ALTER TABLE `quizzes`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT for table `quizzes_questions`
--
ALTER TABLE `quizzes_questions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;

--
-- AUTO_INCREMENT for table `quizzes_questions_answers`
--
ALTER TABLE `quizzes_questions_answers`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=215;

--
-- AUTO_INCREMENT for table `quizzes_questions_answer_translations`
--
ALTER TABLE `quizzes_questions_answer_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=145;

--
-- AUTO_INCREMENT for table `quizzes_results`
--
ALTER TABLE `quizzes_results`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56;

--
-- AUTO_INCREMENT for table `quiz_question_translations`
--
ALTER TABLE `quiz_question_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=58;

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

--
-- AUTO_INCREMENT for table `rating`
--
ALTER TABLE `rating`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `regions`
--
ALTER TABLE `regions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

--
-- AUTO_INCREMENT for table `registration_packages`
--
ALTER TABLE `registration_packages`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `registration_packages_translations`
--
ALTER TABLE `registration_packages_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `related_courses`
--
ALTER TABLE `related_courses`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `rewards`
--
ALTER TABLE `rewards`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `rewards_accounting`
--
ALTER TABLE `rewards_accounting`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=220;

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

--
-- AUTO_INCREMENT for table `role_translations`
--
ALTER TABLE `role_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `sales`
--
ALTER TABLE `sales`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=283;

--
-- AUTO_INCREMENT for table `sales_log`
--
ALTER TABLE `sales_log`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=141;

--
-- AUTO_INCREMENT for table `sections`
--
ALTER TABLE `sections`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=100304;

--
-- AUTO_INCREMENT for table `selected_installments`
--
ALTER TABLE `selected_installments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `selected_installment_steps`
--
ALTER TABLE `selected_installment_steps`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70;

--
-- AUTO_INCREMENT for table `setting_translations`
--
ALTER TABLE `setting_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=84;

--
-- AUTO_INCREMENT for table `special_offers`
--
ALTER TABLE `special_offers`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `subscribes`
--
ALTER TABLE `subscribes`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `subscribe_reminds`
--
ALTER TABLE `subscribe_reminds`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `subscribe_translations`
--
ALTER TABLE `subscribe_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `subscribe_uses`
--
ALTER TABLE `subscribe_uses`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `supports`
--
ALTER TABLE `supports`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=35;

--
-- AUTO_INCREMENT for table `support_conversations`
--
ALTER TABLE `support_conversations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=64;

--
-- AUTO_INCREMENT for table `support_departments`
--
ALTER TABLE `support_departments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `support_department_translations`
--
ALTER TABLE `support_department_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `tags`
--
ALTER TABLE `tags`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6700;

--
-- AUTO_INCREMENT for table `testimonials`
--
ALTER TABLE `testimonials`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `testimonial_translations`
--
ALTER TABLE `testimonial_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `text_lessons`
--
ALTER TABLE `text_lessons`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `text_lessons_attachments`
--
ALTER TABLE `text_lessons_attachments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT for table `text_lesson_translations`
--
ALTER TABLE `text_lesson_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `tickets`
--
ALTER TABLE `tickets`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=40;

--
-- AUTO_INCREMENT for table `ticket_translations`
--
ALTER TABLE `ticket_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT for table `ticket_users`
--
ALTER TABLE `ticket_users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

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

--
-- AUTO_INCREMENT for table `upcoming_courses`
--
ALTER TABLE `upcoming_courses`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `upcoming_course_filter_option`
--
ALTER TABLE `upcoming_course_filter_option`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=53;

--
-- AUTO_INCREMENT for table `upcoming_course_followers`
--
ALTER TABLE `upcoming_course_followers`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `upcoming_course_reports`
--
ALTER TABLE `upcoming_course_reports`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `upcoming_course_translations`
--
ALTER TABLE `upcoming_course_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `users_badges`
--
ALTER TABLE `users_badges`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `users_cookie_security`
--
ALTER TABLE `users_cookie_security`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `users_manual_purchase`
--
ALTER TABLE `users_manual_purchase`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users_metas`
--
ALTER TABLE `users_metas`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;

--
-- AUTO_INCREMENT for table `users_occupations`
--
ALTER TABLE `users_occupations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1072;

--
-- AUTO_INCREMENT for table `users_registration_packages`
--
ALTER TABLE `users_registration_packages`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `user_banks`
--
ALTER TABLE `user_banks`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `user_bank_specifications`
--
ALTER TABLE `user_bank_specifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `user_bank_specification_translations`
--
ALTER TABLE `user_bank_specification_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `user_bank_translations`
--
ALTER TABLE `user_bank_translations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `user_commissions`
--
ALTER TABLE `user_commissions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_form_fields`
--
ALTER TABLE `user_form_fields`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_selected_banks`
--
ALTER TABLE `user_selected_banks`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_selected_bank_specifications`
--
ALTER TABLE `user_selected_bank_specifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `verifications`
--
ALTER TABLE `verifications`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=99;

--
-- AUTO_INCREMENT for table `waitlists`
--
ALTER TABLE `waitlists`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `webinars`
--
ALTER TABLE `webinars`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2028;

--
-- AUTO_INCREMENT for table `webinar_assignments`
--
ALTER TABLE `webinar_assignments`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `webinar_assignment_attachments`
--
ALTER TABLE `webinar_assignment_attachments`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

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

--
-- AUTO_INCREMENT for table `webinar_assignment_history_messages`
--
ALTER TABLE `webinar_assignment_history_messages`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `webinar_assignment_translations`
--
ALTER TABLE `webinar_assignment_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `webinar_chapter_items`
--
ALTER TABLE `webinar_chapter_items`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=219;

--
-- AUTO_INCREMENT for table `webinar_chapter_translations`
--
ALTER TABLE `webinar_chapter_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=47;

--
-- AUTO_INCREMENT for table `webinar_extra_descriptions`
--
ALTER TABLE `webinar_extra_descriptions`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT for table `webinar_extra_description_translations`
--
ALTER TABLE `webinar_extra_description_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT for table `webinar_filter_option`
--
ALTER TABLE `webinar_filter_option`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11721;

--
-- AUTO_INCREMENT for table `webinar_partner_teacher`
--
ALTER TABLE `webinar_partner_teacher`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=122;

--
-- AUTO_INCREMENT for table `webinar_reports`
--
ALTER TABLE `webinar_reports`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `webinar_reviews`
--
ALTER TABLE `webinar_reviews`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT for table `webinar_translations`
--
ALTER TABLE `webinar_translations`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=180;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `abandoned_cart_rules`
--
ALTER TABLE `abandoned_cart_rules`
  ADD CONSTRAINT `abandoned_cart_rules_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `abandoned_cart_rule_specification_items`
--
ALTER TABLE `abandoned_cart_rule_specification_items`
  ADD CONSTRAINT `abandoned_cart_rule_id_foreign` FOREIGN KEY (`abandoned_cart_rule_id`) REFERENCES `abandoned_cart_rules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_instructor_id_foreign` FOREIGN KEY (`instructor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_specification_items_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `abandoned_cart_rule_translations`
--
ALTER TABLE `abandoned_cart_rule_translations`
  ADD CONSTRAINT `abandoned_cart_rule_id_trans` FOREIGN KEY (`abandoned_cart_rule_id`) REFERENCES `abandoned_cart_rules` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `abandoned_cart_rule_users_groups`
--
ALTER TABLE `abandoned_cart_rule_users_groups`
  ADD CONSTRAINT `abandoned_cart_rule_id` FOREIGN KEY (`abandoned_cart_rule_id`) REFERENCES `abandoned_cart_rules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_users_groups_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `abandoned_cart_rule_users_groups_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `accounting`
--
ALTER TABLE `accounting`
  ADD CONSTRAINT `accounting_installment_payment_id_foreign` FOREIGN KEY (`installment_payment_id`) REFERENCES `installment_order_payments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `advertising_banners_translations`
--
ALTER TABLE `advertising_banners_translations`
  ADD CONSTRAINT `advertising_banners_translations_advertising_banner_id_foreign` FOREIGN KEY (`advertising_banner_id`) REFERENCES `advertising_banners` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `affiliates`
--
ALTER TABLE `affiliates`
  ADD CONSTRAINT `affiliates_affiliate_user_id_foreign` FOREIGN KEY (`affiliate_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `affiliates_referred_user_id_foreign` FOREIGN KEY (`referred_user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `affiliates_codes`
--
ALTER TABLE `affiliates_codes`
  ADD CONSTRAINT `affiliates_codes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_contents`
--
ALTER TABLE `ai_contents`
  ADD CONSTRAINT `ai_contents_service_id_foreign` FOREIGN KEY (`service_id`) REFERENCES `ai_content_templates` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ai_contents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ai_content_template_translations`
--
ALTER TABLE `ai_content_template_translations`
  ADD CONSTRAINT `ai_content_template_id_trans` FOREIGN KEY (`ai_content_template_id`) REFERENCES `ai_content_templates` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `badge_translations`
--
ALTER TABLE `badge_translations`
  ADD CONSTRAINT `badge_translations_badge_id_foreign` FOREIGN KEY (`badge_id`) REFERENCES `badges` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `become_instructors`
--
ALTER TABLE `become_instructors`
  ADD CONSTRAINT `become_instructors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog`
--
ALTER TABLE `blog`
  ADD CONSTRAINT `blog_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `blog_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_category_translations`
--
ALTER TABLE `blog_category_translations`
  ADD CONSTRAINT `blog_category_translations_blog_category_id_foreign` FOREIGN KEY (`blog_category_id`) REFERENCES `blog_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `blog_translations`
--
ALTER TABLE `blog_translations`
  ADD CONSTRAINT `blog_translations_blog_id_foreign` FOREIGN KEY (`blog_id`) REFERENCES `blog` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `bundles`
--
ALTER TABLE `bundles`
  ADD CONSTRAINT `bundles_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `bundles_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `bundles_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `bundle_filter_option`
--
ALTER TABLE `bundle_filter_option`
  ADD CONSTRAINT `bundle_filter_option_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `bundle_filter_option_filter_option_id_foreign` FOREIGN KEY (`filter_option_id`) REFERENCES `filter_options` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `bundle_translations`
--
ALTER TABLE `bundle_translations`
  ADD CONSTRAINT `bundle_translations_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `bundle_webinars`
--
ALTER TABLE `bundle_webinars`
  ADD CONSTRAINT `bundle_webinars_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `bundle_webinars_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cart`
--
ALTER TABLE `cart`
  ADD CONSTRAINT `cart_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_gift_id_foreign` FOREIGN KEY (`gift_id`) REFERENCES `gifts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_installment_payment_id_foreign` FOREIGN KEY (`installment_payment_id`) REFERENCES `installment_order_payments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_product_discount_id_foreign` FOREIGN KEY (`product_discount_id`) REFERENCES `product_discounts` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `cart_product_order_id_foreign` FOREIGN KEY (`product_order_id`) REFERENCES `product_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_promotion_id_foreign` FOREIGN KEY (`promotion_id`) REFERENCES `promotions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_reserve_meeting_id_foreign` FOREIGN KEY (`reserve_meeting_id`) REFERENCES `reserve_meetings` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_special_offer_id_foreign` FOREIGN KEY (`special_offer_id`) REFERENCES `special_offers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cart_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cart_discounts`
--
ALTER TABLE `cart_discounts`
  ADD CONSTRAINT `cart_discounts_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cart_discount_translations`
--
ALTER TABLE `cart_discount_translations`
  ADD CONSTRAINT `cart_discount_translations_cart_discount_id_foreign` FOREIGN KEY (`cart_discount_id`) REFERENCES `cart_discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cashback_rule_specification_items`
--
ALTER TABLE `cashback_rule_specification_items`
  ADD CONSTRAINT `cashback_rule_specification_items_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_cashback_rule_id_foreign` FOREIGN KEY (`cashback_rule_id`) REFERENCES `cashback_rules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_instructor_id_foreign` FOREIGN KEY (`instructor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_specification_items_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `rules_registration_package_id` FOREIGN KEY (`registration_package_id`) REFERENCES `registration_packages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cashback_rule_translations`
--
ALTER TABLE `cashback_rule_translations`
  ADD CONSTRAINT `cashback_rule_translations_cashback_rule_id_foreign` FOREIGN KEY (`cashback_rule_id`) REFERENCES `cashback_rules` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `cashback_rule_users_groups`
--
ALTER TABLE `cashback_rule_users_groups`
  ADD CONSTRAINT `cashback_rule_users_groups_cashback_rule_id_foreign` FOREIGN KEY (`cashback_rule_id`) REFERENCES `cashback_rules` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_users_groups_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `cashback_rule_users_groups_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `category_translations`
--
ALTER TABLE `category_translations`
  ADD CONSTRAINT `category_translations_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `certificates`
--
ALTER TABLE `certificates`
  ADD CONSTRAINT `certificates_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `certificates_quiz_id_foreign` FOREIGN KEY (`quiz_id`) REFERENCES `quizzes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `certificates_quiz_result_id_foreign` FOREIGN KEY (`quiz_result_id`) REFERENCES `quizzes_results` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `certificates_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `certificates_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `certificate_template_translations`
--
ALTER TABLE `certificate_template_translations`
  ADD CONSTRAINT `certificate_template_id` FOREIGN KEY (`certificate_template_id`) REFERENCES `certificates_templates` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `comments`
--
ALTER TABLE `comments`
  ADD CONSTRAINT `comments_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_ibfk_1` FOREIGN KEY (`blog_id`) REFERENCES `blog` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_reply_id_foreign` FOREIGN KEY (`reply_id`) REFERENCES `comments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_review_id_foreign` FOREIGN KEY (`review_id`) REFERENCES `webinar_reviews` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `comments_reports`
--
ALTER TABLE `comments_reports`
  ADD CONSTRAINT `comments_reports_comment_id_foreign` FOREIGN KEY (`comment_id`) REFERENCES `comments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `comments_reports_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `content_delete_requests`
--
ALTER TABLE `content_delete_requests`
  ADD CONSTRAINT `content_delete_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_learning_last_views`
--
ALTER TABLE `course_learning_last_views`
  ADD CONSTRAINT `course_learning_last_views_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `course_learning_last_views_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_noticeboards`
--
ALTER TABLE `course_noticeboards`
  ADD CONSTRAINT `course_noticeboards_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `course_noticeboards_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_noticeboard_status`
--
ALTER TABLE `course_noticeboard_status`
  ADD CONSTRAINT `course_noticeboard_status_noticeboard_id_foreign` FOREIGN KEY (`noticeboard_id`) REFERENCES `course_noticeboards` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `course_personal_notes`
--
ALTER TABLE `course_personal_notes`
  ADD CONSTRAINT `course_personal_notes_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `course_personal_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `delete_account_requests`
--
ALTER TABLE `delete_account_requests`
  ADD CONSTRAINT `delete_account_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discounts`
--
ALTER TABLE `discounts`
  ADD CONSTRAINT `discounts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_bundles`
--
ALTER TABLE `discount_bundles`
  ADD CONSTRAINT `discount_bundles_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_bundles_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_categories`
--
ALTER TABLE `discount_categories`
  ADD CONSTRAINT `discount_categories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_categories_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_courses`
--
ALTER TABLE `discount_courses`
  ADD CONSTRAINT `discount_courses_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_courses_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_groups`
--
ALTER TABLE `discount_groups`
  ADD CONSTRAINT `discount_groups_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_groups_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `discount_users`
--
ALTER TABLE `discount_users`
  ADD CONSTRAINT `discount_users_discount_id_foreign` FOREIGN KEY (`discount_id`) REFERENCES `discounts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `discount_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `faqs`
--
ALTER TABLE `faqs`
  ADD CONSTRAINT `faqs_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `faqs_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `faqs_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `faqs_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `faq_translations`
--
ALTER TABLE `faq_translations`
  ADD CONSTRAINT `faq_translations_faq_id_foreign` FOREIGN KEY (`faq_id`) REFERENCES `faqs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `favorites`
--
ALTER TABLE `favorites`
  ADD CONSTRAINT `favorites_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `favorites_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `favorites_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `favorites_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `feature_webinars`
--
ALTER TABLE `feature_webinars`
  ADD CONSTRAINT `feature_webinars_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `feature_webinar_translations`
--
ALTER TABLE `feature_webinar_translations`
  ADD CONSTRAINT `feature_webinar_translations_feature_webinar_id_foreign` FOREIGN KEY (`feature_webinar_id`) REFERENCES `feature_webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `files`
--
ALTER TABLE `files`
  ADD CONSTRAINT `files_chapter_id_foreign` FOREIGN KEY (`chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `files_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `files_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `file_translations`
--
ALTER TABLE `file_translations`
  ADD CONSTRAINT `file_translations_file_id_foreign` FOREIGN KEY (`file_id`) REFERENCES `files` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `filters`
--
ALTER TABLE `filters`
  ADD CONSTRAINT `filters_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `filter_options`
--
ALTER TABLE `filter_options`
  ADD CONSTRAINT `filter_options_filter_id_foreign` FOREIGN KEY (`filter_id`) REFERENCES `filters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `filter_option_translations`
--
ALTER TABLE `filter_option_translations`
  ADD CONSTRAINT `filter_option_translations_filter_option_id_foreign` FOREIGN KEY (`filter_option_id`) REFERENCES `filter_options` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `filter_translations`
--
ALTER TABLE `filter_translations`
  ADD CONSTRAINT `filter_translations_filter_id_foreign` FOREIGN KEY (`filter_id`) REFERENCES `filters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `floating_bar_translations`
--
ALTER TABLE `floating_bar_translations`
  ADD CONSTRAINT `floating_bar_translations_floating_bar_id_foreign` FOREIGN KEY (`floating_bar_id`) REFERENCES `floating_bars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `follows`
--
ALTER TABLE `follows`
  ADD CONSTRAINT `follows_follower_foreign` FOREIGN KEY (`follower`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `follows_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_fields`
--
ALTER TABLE `form_fields`
  ADD CONSTRAINT `form_fields_form_id_foreign` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_field_options`
--
ALTER TABLE `form_field_options`
  ADD CONSTRAINT `form_field_options_form_field_id_foreign` FOREIGN KEY (`form_field_id`) REFERENCES `form_fields` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_field_option_translations`
--
ALTER TABLE `form_field_option_translations`
  ADD CONSTRAINT `form_field_option_id_trans` FOREIGN KEY (`form_field_option_id`) REFERENCES `form_field_options` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_field_translations`
--
ALTER TABLE `form_field_translations`
  ADD CONSTRAINT `form_field_translations_form_field_id_foreign` FOREIGN KEY (`form_field_id`) REFERENCES `form_fields` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_roles_users_groups`
--
ALTER TABLE `form_roles_users_groups`
  ADD CONSTRAINT `form_roles_users_groups_form_id_foreign` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `form_roles_users_groups_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `form_roles_users_groups_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `form_roles_users_groups_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_submissions`
--
ALTER TABLE `form_submissions`
  ADD CONSTRAINT `form_submissions_form_id_foreign` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `form_submissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_submission_items`
--
ALTER TABLE `form_submission_items`
  ADD CONSTRAINT `form_submission_items_form_field_id_foreign` FOREIGN KEY (`form_field_id`) REFERENCES `form_fields` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `form_submission_items_submission_id_foreign` FOREIGN KEY (`submission_id`) REFERENCES `form_submissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `form_translations`
--
ALTER TABLE `form_translations`
  ADD CONSTRAINT `form_translations_form_id_foreign` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forums`
--
ALTER TABLE `forums`
  ADD CONSTRAINT `forums_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forums_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_featured_topics`
--
ALTER TABLE `forum_featured_topics`
  ADD CONSTRAINT `forum_featured_topics_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_recommended_topic_items`
--
ALTER TABLE `forum_recommended_topic_items`
  ADD CONSTRAINT `forum_recommended_topic_items_recommended_topic_id_foreign` FOREIGN KEY (`recommended_topic_id`) REFERENCES `forum_recommended_topics` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_recommended_topic_items_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_topic_attachments`
--
ALTER TABLE `forum_topic_attachments`
  ADD CONSTRAINT `forum_topic_attachments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_attachments_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_topic_bookmarks`
--
ALTER TABLE `forum_topic_bookmarks`
  ADD CONSTRAINT `forum_topic_bookmarks_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_bookmarks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_topic_likes`
--
ALTER TABLE `forum_topic_likes`
  ADD CONSTRAINT `forum_topic_likes_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_likes_topic_post_id_foreign` FOREIGN KEY (`topic_post_id`) REFERENCES `forum_topic_posts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_likes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_topic_reports`
--
ALTER TABLE `forum_topic_reports`
  ADD CONSTRAINT `forum_topic_reports_topic_id_foreign` FOREIGN KEY (`topic_id`) REFERENCES `forum_topics` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_reports_topic_post_id_foreign` FOREIGN KEY (`topic_post_id`) REFERENCES `forum_topic_posts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `forum_topic_reports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `forum_translations`
--
ALTER TABLE `forum_translations`
  ADD CONSTRAINT `forum_translations_forum_id_foreign` FOREIGN KEY (`forum_id`) REFERENCES `forums` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `gifts`
--
ALTER TABLE `gifts`
  ADD CONSTRAINT `gifts_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `gifts_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `gifts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `gifts_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `groups`
--
ALTER TABLE `groups`
  ADD CONSTRAINT `groups_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `groups_registration_packages`
--
ALTER TABLE `groups_registration_packages`
  ADD CONSTRAINT `groups_registration_packages_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `group_users`
--
ALTER TABLE `group_users`
  ADD CONSTRAINT `group_users_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `group_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `home_page_statistic_translations`
--
ALTER TABLE `home_page_statistic_translations`
  ADD CONSTRAINT `home_page_statistic_id` FOREIGN KEY (`home_page_statistic_id`) REFERENCES `home_page_statistics` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_orders`
--
ALTER TABLE `installment_orders`
  ADD CONSTRAINT `installment_orders_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_registration_package_id_foreign` FOREIGN KEY (`registration_package_id`) REFERENCES `registration_packages` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_orders_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_product_order_id` FOREIGN KEY (`product_order_id`) REFERENCES `product_orders` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_order_attachments`
--
ALTER TABLE `installment_order_attachments`
  ADD CONSTRAINT `installment_order_id_attachment` FOREIGN KEY (`installment_order_id`) REFERENCES `installment_orders` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_order_payments`
--
ALTER TABLE `installment_order_payments`
  ADD CONSTRAINT `installment_order_id` FOREIGN KEY (`installment_order_id`) REFERENCES `installment_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_order_payments_sale_id_foreign` FOREIGN KEY (`sale_id`) REFERENCES `sales` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_order_payments_selected_installment_step_id_foreign` FOREIGN KEY (`selected_installment_step_id`) REFERENCES `selected_installment_steps` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_reminders`
--
ALTER TABLE `installment_reminders`
  ADD CONSTRAINT `installment_reminders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_specification_items`
--
ALTER TABLE `installment_specification_items`
  ADD CONSTRAINT `installment_specification_items_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_instructor_id_foreign` FOREIGN KEY (`instructor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_registration_package_id_foreign` FOREIGN KEY (`registration_package_id`) REFERENCES `registration_packages` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_specification_items_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_steps`
--
ALTER TABLE `installment_steps`
  ADD CONSTRAINT `installment_steps_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_step_translations`
--
ALTER TABLE `installment_step_translations`
  ADD CONSTRAINT `installment_step_translations_installment_step_id_foreign` FOREIGN KEY (`installment_step_id`) REFERENCES `installment_steps` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_translations`
--
ALTER TABLE `installment_translations`
  ADD CONSTRAINT `installment_translations_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `installment_user_groups`
--
ALTER TABLE `installment_user_groups`
  ADD CONSTRAINT `installment_user_groups_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `installment_user_groups_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `meetings`
--
ALTER TABLE `meetings`
  ADD CONSTRAINT `meetings_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `meeting_times`
--
ALTER TABLE `meeting_times`
  ADD CONSTRAINT `meeting_times_meeting_id_foreign` FOREIGN KEY (`meeting_id`) REFERENCES `meetings` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `navbar_buttons`
--
ALTER TABLE `navbar_buttons`
  ADD CONSTRAINT `navbar_buttons_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `navbar_button_translations`
--
ALTER TABLE `navbar_button_translations`
  ADD CONSTRAINT `navbar_button_translations_navbar_button_id_foreign` FOREIGN KEY (`navbar_button_id`) REFERENCES `navbar_buttons` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `noticeboards`
--
ALTER TABLE `noticeboards`
  ADD CONSTRAINT `noticeboards_instructor_id_foreign` FOREIGN KEY (`instructor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `noticeboards_organ_id_foreign` FOREIGN KEY (`organ_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `noticeboards_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `noticeboards_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `noticeboards_status`
--
ALTER TABLE `noticeboards_status`
  ADD CONSTRAINT `noticeboards_status_noticeboard_id_foreign` FOREIGN KEY (`noticeboard_id`) REFERENCES `noticeboards` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `notifications`
--
ALTER TABLE `notifications`
  ADD CONSTRAINT `notifications_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `notifications_ibfk_1` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `notifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `notifications_status`
--
ALTER TABLE `notifications_status`
  ADD CONSTRAINT `notifications_status_notification_id_foreign` FOREIGN KEY (`notification_id`) REFERENCES `notifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `offline_bank_specifications`
--
ALTER TABLE `offline_bank_specifications`
  ADD CONSTRAINT `offline_bank_specifications_offline_bank_id_foreign` FOREIGN KEY (`offline_bank_id`) REFERENCES `offline_banks` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `offline_bank_specification_translations`
--
ALTER TABLE `offline_bank_specification_translations`
  ADD CONSTRAINT `offline_bank_specification_id` FOREIGN KEY (`offline_bank_specification_id`) REFERENCES `offline_bank_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `offline_bank_translations`
--
ALTER TABLE `offline_bank_translations`
  ADD CONSTRAINT `offline_bank_translations_offline_bank_id_foreign` FOREIGN KEY (`offline_bank_id`) REFERENCES `offline_banks` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `offline_payments`
--
ALTER TABLE `offline_payments`
  ADD CONSTRAINT `offline_payments_offline_bank_id_foreign` FOREIGN KEY (`offline_bank_id`) REFERENCES `offline_banks` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `offline_payments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
  ADD CONSTRAINT `orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `order_items`
--
ALTER TABLE `order_items`
  ADD CONSTRAINT `order_items_gift_id_foreign` FOREIGN KEY (`gift_id`) REFERENCES `gifts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `page_translations`
--
ALTER TABLE `page_translations`
  ADD CONSTRAINT `page_translations_page_id_foreign` FOREIGN KEY (`page_id`) REFERENCES `pages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payouts`
--
ALTER TABLE `payouts`
  ADD CONSTRAINT `payout_user_selected_bank_id` FOREIGN KEY (`user_selected_bank_id`) REFERENCES `user_selected_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `payouts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `permissions`
--
ALTER TABLE `permissions`
  ADD CONSTRAINT `permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `permissions_section_id_foreign` FOREIGN KEY (`section_id`) REFERENCES `sections` (`id`);

--
-- Constraints for table `prerequisites`
--
ALTER TABLE `prerequisites`
  ADD CONSTRAINT `prerequisite_id` FOREIGN KEY (`prerequisite_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `prerequisites_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `products`
--
ALTER TABLE `products`
  ADD CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `products_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_badge_contents`
--
ALTER TABLE `product_badge_contents`
  ADD CONSTRAINT `product_badge_contents_product_badge_id_foreign` FOREIGN KEY (`product_badge_id`) REFERENCES `product_badges` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_badge_translations`
--
ALTER TABLE `product_badge_translations`
  ADD CONSTRAINT `product_badge_translations_product_badge_id_foreign` FOREIGN KEY (`product_badge_id`) REFERENCES `product_badges` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_category_translations`
--
ALTER TABLE `product_category_translations`
  ADD CONSTRAINT `product_category_id` FOREIGN KEY (`product_category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_discounts`
--
ALTER TABLE `product_discounts`
  ADD CONSTRAINT `product_discounts_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_discounts_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_faqs`
--
ALTER TABLE `product_faqs`
  ADD CONSTRAINT `product_faqs_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_faqs_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_faq_translations`
--
ALTER TABLE `product_faq_translations`
  ADD CONSTRAINT `product_faq_id` FOREIGN KEY (`product_faq_id`) REFERENCES `product_faqs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_files`
--
ALTER TABLE `product_files`
  ADD CONSTRAINT `file_creator_id` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `file_product_id` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_file_translations`
--
ALTER TABLE `product_file_translations`
  ADD CONSTRAINT `product_file_id` FOREIGN KEY (`product_file_id`) REFERENCES `product_files` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_filters`
--
ALTER TABLE `product_filters`
  ADD CONSTRAINT `product_filters_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_filter_options`
--
ALTER TABLE `product_filter_options`
  ADD CONSTRAINT `product_filter_options_filter_id_foreign` FOREIGN KEY (`filter_id`) REFERENCES `product_filters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_filter_option_translations`
--
ALTER TABLE `product_filter_option_translations`
  ADD CONSTRAINT `product_filter_option_id` FOREIGN KEY (`product_filter_option_id`) REFERENCES `product_filter_options` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_filter_translations`
--
ALTER TABLE `product_filter_translations`
  ADD CONSTRAINT `product_filter_id` FOREIGN KEY (`product_filter_id`) REFERENCES `product_filters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_media`
--
ALTER TABLE `product_media`
  ADD CONSTRAINT `media_creator_id` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `media_product_id` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_orders`
--
ALTER TABLE `product_orders`
  ADD CONSTRAINT `product_orders_gift_id_foreign` FOREIGN KEY (`gift_id`) REFERENCES `gifts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_orders_installment_order_id_foreign` FOREIGN KEY (`installment_order_id`) REFERENCES `installment_orders` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_reviews`
--
ALTER TABLE `product_reviews`
  ADD CONSTRAINT `product_reviews_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_reviews_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_selected_filter_options`
--
ALTER TABLE `product_selected_filter_options`
  ADD CONSTRAINT `product_selected_filter_options_filter_option_id_foreign` FOREIGN KEY (`filter_option_id`) REFERENCES `product_filter_options` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_selected_filter_options_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_selected_specifications`
--
ALTER TABLE `product_selected_specifications`
  ADD CONSTRAINT `product_selected_specifications_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_selected_specifications_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_selected_specifications_product_specification_id_foreign` FOREIGN KEY (`product_specification_id`) REFERENCES `product_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_selected_specification_multi_values`
--
ALTER TABLE `product_selected_specification_multi_values`
  ADD CONSTRAINT `selected_specification_id` FOREIGN KEY (`selected_specification_id`) REFERENCES `product_selected_specifications` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `specification_multi_value_id` FOREIGN KEY (`specification_multi_value_id`) REFERENCES `product_specification_multi_values` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_selected_specification_translations`
--
ALTER TABLE `product_selected_specification_translations`
  ADD CONSTRAINT `product_selected_specification_id_translations` FOREIGN KEY (`product_selected_specification_id`) REFERENCES `product_selected_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_specification_categories`
--
ALTER TABLE `product_specification_categories`
  ADD CONSTRAINT `product_specification_categories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_specification_categories_specification_id_foreign` FOREIGN KEY (`specification_id`) REFERENCES `product_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_specification_multi_values`
--
ALTER TABLE `product_specification_multi_values`
  ADD CONSTRAINT `product_specification_multi_values_specification_id_foreign` FOREIGN KEY (`specification_id`) REFERENCES `product_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_specification_multi_value_translations`
--
ALTER TABLE `product_specification_multi_value_translations`
  ADD CONSTRAINT `product_specification_multi_value_id` FOREIGN KEY (`product_specification_multi_value_id`) REFERENCES `product_specification_multi_values` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_specification_translations`
--
ALTER TABLE `product_specification_translations`
  ADD CONSTRAINT `product_specification_id` FOREIGN KEY (`product_specification_id`) REFERENCES `product_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_translations`
--
ALTER TABLE `product_translations`
  ADD CONSTRAINT `product_id` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `promotion_translations`
--
ALTER TABLE `promotion_translations`
  ADD CONSTRAINT `promotion_translations_promotion_id_foreign` FOREIGN KEY (`promotion_id`) REFERENCES `promotions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `purchases`
--
ALTER TABLE `purchases`
  ADD CONSTRAINT `purchases_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchases_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `purchase_notification_histories`
--
ALTER TABLE `purchase_notification_histories`
  ADD CONSTRAINT `purchase_notification_histories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_id_history` FOREIGN KEY (`purchase_notification_id`) REFERENCES `purchase_notifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `purchase_notification_roles_groups_contents`
--
ALTER TABLE `purchase_notification_roles_groups_contents`
  ADD CONSTRAINT `purchase_notification_id_role_group` FOREIGN KEY (`purchase_notification_id`) REFERENCES `purchase_notifications` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_roles_groups_contents_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_roles_groups_contents_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_roles_groups_contents_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_roles_groups_contents_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `purchase_notification_roles_groups_contents_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `purchase_notification_translations`
--
ALTER TABLE `purchase_notification_translations`
  ADD CONSTRAINT `purchase_notification_id_trans` FOREIGN KEY (`purchase_notification_id`) REFERENCES `purchase_notifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quizzes`
--
ALTER TABLE `quizzes`
  ADD CONSTRAINT `quizzes_chapter_id_foreign` FOREIGN KEY (`chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `quizzes_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `quizzes_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quizzes_questions`
--
ALTER TABLE `quizzes_questions`
  ADD CONSTRAINT `quizzes_questions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `quizzes_questions_quiz_id_foreign` FOREIGN KEY (`quiz_id`) REFERENCES `quizzes` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quizzes_questions_answers`
--
ALTER TABLE `quizzes_questions_answers`
  ADD CONSTRAINT `quizzes_questions_answers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `quizzes_questions_answers_question_id_foreign` FOREIGN KEY (`question_id`) REFERENCES `quizzes_questions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quizzes_questions_answer_translations`
--
ALTER TABLE `quizzes_questions_answer_translations`
  ADD CONSTRAINT `quizzes_questions_answer_id` FOREIGN KEY (`quizzes_questions_answer_id`) REFERENCES `quizzes_questions_answers` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quizzes_results`
--
ALTER TABLE `quizzes_results`
  ADD CONSTRAINT `quizzes_results_quiz_id_foreign` FOREIGN KEY (`quiz_id`) REFERENCES `quizzes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `quizzes_results_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quiz_question_translations`
--
ALTER TABLE `quiz_question_translations`
  ADD CONSTRAINT `quiz_question_translations_quiz_question_id_foreign` FOREIGN KEY (`quizzes_question_id`) REFERENCES `quizzes_questions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `quiz_translations`
--
ALTER TABLE `quiz_translations`
  ADD CONSTRAINT `quiz_translations_quiz_id_foreign` FOREIGN KEY (`quiz_id`) REFERENCES `quizzes` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `rating`
--
ALTER TABLE `rating`
  ADD CONSTRAINT `rating_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `rating_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `rating_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `regions`
--
ALTER TABLE `regions`
  ADD CONSTRAINT `regions_city_id_foreign` FOREIGN KEY (`city_id`) REFERENCES `regions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `regions_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `regions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `regions_province_id_foreign` FOREIGN KEY (`province_id`) REFERENCES `regions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `registration_packages_translations`
--
ALTER TABLE `registration_packages_translations`
  ADD CONSTRAINT `registration_package` FOREIGN KEY (`registration_package_id`) REFERENCES `registration_packages` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `related_courses`
--
ALTER TABLE `related_courses`
  ADD CONSTRAINT `related_courses_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `related_courses_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `rewards_accounting`
--
ALTER TABLE `rewards_accounting`
  ADD CONSTRAINT `rewards_accounting_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_translations`
--
ALTER TABLE `role_translations`
  ADD CONSTRAINT `role_translations_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sales`
--
ALTER TABLE `sales`
  ADD CONSTRAINT `sales_installment_payment_id_foreign` FOREIGN KEY (`installment_payment_id`) REFERENCES `installment_order_payments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sales_log`
--
ALTER TABLE `sales_log`
  ADD CONSTRAINT `sales_status_sale_id_foreign` FOREIGN KEY (`sale_id`) REFERENCES `sales` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `selected_installments`
--
ALTER TABLE `selected_installments`
  ADD CONSTRAINT `selected_installments_installment_id_foreign` FOREIGN KEY (`installment_id`) REFERENCES `installments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `selected_installments_installment_order_id_foreign` FOREIGN KEY (`installment_order_id`) REFERENCES `installment_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `selected_installments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `selected_installment_steps`
--
ALTER TABLE `selected_installment_steps`
  ADD CONSTRAINT `selected_installment_steps_installment_step_id_foreign` FOREIGN KEY (`installment_step_id`) REFERENCES `installment_steps` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `selected_installment_steps_selected_installment_id_foreign` FOREIGN KEY (`selected_installment_id`) REFERENCES `selected_installments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `setting_translations`
--
ALTER TABLE `setting_translations`
  ADD CONSTRAINT `setting_translations_setting_id_foreign` FOREIGN KEY (`setting_id`) REFERENCES `settings` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `special_offers`
--
ALTER TABLE `special_offers`
  ADD CONSTRAINT `special_offers_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `special_offers_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `special_offers_registration_package_id_foreign` FOREIGN KEY (`registration_package_id`) REFERENCES `registration_packages` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `special_offers_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `special_offers_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `subscribe_reminds`
--
ALTER TABLE `subscribe_reminds`
  ADD CONSTRAINT `subscribe_reminds_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_reminds_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `subscribe_translations`
--
ALTER TABLE `subscribe_translations`
  ADD CONSTRAINT `subscribe_translations_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `subscribe_uses`
--
ALTER TABLE `subscribe_uses`
  ADD CONSTRAINT `subscribe_uses_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_uses_installment_order_id_foreign` FOREIGN KEY (`installment_order_id`) REFERENCES `installment_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_uses_sale_id_foreign` FOREIGN KEY (`sale_id`) REFERENCES `sales` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_uses_subscribe_id_foreign` FOREIGN KEY (`subscribe_id`) REFERENCES `subscribes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_uses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `subscribe_uses_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `supports`
--
ALTER TABLE `supports`
  ADD CONSTRAINT `supports_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `supports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `supports_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `support_conversations`
--
ALTER TABLE `support_conversations`
  ADD CONSTRAINT `support_conversations_sender_id_foreign` FOREIGN KEY (`sender_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `support_conversations_support_id_foreign` FOREIGN KEY (`support_id`) REFERENCES `supports` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `support_department_translations`
--
ALTER TABLE `support_department_translations`
  ADD CONSTRAINT `support_department_id` FOREIGN KEY (`support_department_id`) REFERENCES `support_departments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tags`
--
ALTER TABLE `tags`
  ADD CONSTRAINT `tags_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tags_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tags_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `testimonial_translations`
--
ALTER TABLE `testimonial_translations`
  ADD CONSTRAINT `testimonial_translations_testimonial_id_foreign` FOREIGN KEY (`testimonial_id`) REFERENCES `testimonials` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `text_lessons`
--
ALTER TABLE `text_lessons`
  ADD CONSTRAINT `text_lessons_chapter_id_foreign` FOREIGN KEY (`chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `text_lessons_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `text_lessons_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `text_lessons_attachments`
--
ALTER TABLE `text_lessons_attachments`
  ADD CONSTRAINT `text_lessons_attachments_file_id_foreign` FOREIGN KEY (`file_id`) REFERENCES `files` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `text_lessons_attachments_text_lesson_id_foreign` FOREIGN KEY (`text_lesson_id`) REFERENCES `text_lessons` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `text_lesson_translations`
--
ALTER TABLE `text_lesson_translations`
  ADD CONSTRAINT `text_lesson_id` FOREIGN KEY (`text_lesson_id`) REFERENCES `text_lessons` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tickets`
--
ALTER TABLE `tickets`
  ADD CONSTRAINT `tickets_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tickets_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tickets_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ticket_translations`
--
ALTER TABLE `ticket_translations`
  ADD CONSTRAINT `ticket_translations_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `ticket_users`
--
ALTER TABLE `ticket_users`
  ADD CONSTRAINT `ticket_users_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `ticket_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `trend_categories`
--
ALTER TABLE `trend_categories`
  ADD CONSTRAINT `trend_categories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `upcoming_courses`
--
ALTER TABLE `upcoming_courses`
  ADD CONSTRAINT `upcoming_courses_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_courses_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_courses_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_courses_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `upcoming_course_filter_option`
--
ALTER TABLE `upcoming_course_filter_option`
  ADD CONSTRAINT `upcoming_course_filter_option_filter_option_id_foreign` FOREIGN KEY (`filter_option_id`) REFERENCES `filter_options` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_course_filter_option_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `upcoming_course_followers`
--
ALTER TABLE `upcoming_course_followers`
  ADD CONSTRAINT `upcoming_course_followers_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_course_followers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `upcoming_course_reports`
--
ALTER TABLE `upcoming_course_reports`
  ADD CONSTRAINT `upcoming_course_reports_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `upcoming_course_reports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `upcoming_course_translations`
--
ALTER TABLE `upcoming_course_translations`
  ADD CONSTRAINT `upcoming_course_translations_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users_badges`
--
ALTER TABLE `users_badges`
  ADD CONSTRAINT `users_badges_badge_id_foreign` FOREIGN KEY (`badge_id`) REFERENCES `badges` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `users_badges_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users_cookie_security`
--
ALTER TABLE `users_cookie_security`
  ADD CONSTRAINT `users_cookie_security_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users_metas`
--
ALTER TABLE `users_metas`
  ADD CONSTRAINT `users_metas_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users_occupations`
--
ALTER TABLE `users_occupations`
  ADD CONSTRAINT `users_occupations_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `users_occupations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users_registration_packages`
--
ALTER TABLE `users_registration_packages`
  ADD CONSTRAINT `users_registration_packages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_bank_specifications`
--
ALTER TABLE `user_bank_specifications`
  ADD CONSTRAINT `user_bank_specifications_user_bank_id_foreign` FOREIGN KEY (`user_bank_id`) REFERENCES `user_banks` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_bank_specification_translations`
--
ALTER TABLE `user_bank_specification_translations`
  ADD CONSTRAINT `user_bank_specification_id` FOREIGN KEY (`user_bank_specification_id`) REFERENCES `user_bank_specifications` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_bank_translations`
--
ALTER TABLE `user_bank_translations`
  ADD CONSTRAINT `user_bank_translations_user_bank_id_foreign` FOREIGN KEY (`user_bank_id`) REFERENCES `user_banks` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_commissions`
--
ALTER TABLE `user_commissions`
  ADD CONSTRAINT `user_commissions_user_group_id_foreign` FOREIGN KEY (`user_group_id`) REFERENCES `groups` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_commissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_form_fields`
--
ALTER TABLE `user_form_fields`
  ADD CONSTRAINT `user_form_fields_become_instructor_id_foreign` FOREIGN KEY (`become_instructor_id`) REFERENCES `become_instructors` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_form_fields_form_field_id_foreign` FOREIGN KEY (`form_field_id`) REFERENCES `form_fields` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_form_fields_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_selected_banks`
--
ALTER TABLE `user_selected_banks`
  ADD CONSTRAINT `user_selected_banks_user_bank_id_foreign` FOREIGN KEY (`user_bank_id`) REFERENCES `user_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_selected_banks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_selected_bank_specifications`
--
ALTER TABLE `user_selected_bank_specifications`
  ADD CONSTRAINT `user_bank_specification_id_specifications` FOREIGN KEY (`user_bank_specification_id`) REFERENCES `user_bank_specifications` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `user_selected_bank_id_specifications` FOREIGN KEY (`user_selected_bank_id`) REFERENCES `user_selected_banks` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `verifications`
--
ALTER TABLE `verifications`
  ADD CONSTRAINT `verifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `waitlists`
--
ALTER TABLE `waitlists`
  ADD CONSTRAINT `waitlists_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `waitlists_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinars`
--
ALTER TABLE `webinars`
  ADD CONSTRAINT `webinars_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinars_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinars_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_assignments`
--
ALTER TABLE `webinar_assignments`
  ADD CONSTRAINT `webinar_assignments_chapter_id_foreign` FOREIGN KEY (`chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_assignments_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_assignments_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_assignment_attachments`
--
ALTER TABLE `webinar_assignment_attachments`
  ADD CONSTRAINT `webinar_assignment_attachments_assignment_id_foreign` FOREIGN KEY (`assignment_id`) REFERENCES `webinar_assignments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_assignment_history`
--
ALTER TABLE `webinar_assignment_history`
  ADD CONSTRAINT `webinar_assignment_history_assignment_id_foreign` FOREIGN KEY (`assignment_id`) REFERENCES `webinar_assignments` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_assignment_history_instructor_id_foreign` FOREIGN KEY (`instructor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_assignment_history_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_assignment_history_messages`
--
ALTER TABLE `webinar_assignment_history_messages`
  ADD CONSTRAINT `webinar_assignment_history_id` FOREIGN KEY (`assignment_history_id`) REFERENCES `webinar_assignment_history` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_assignment_translations`
--
ALTER TABLE `webinar_assignment_translations`
  ADD CONSTRAINT `webinar_assignment_id_translate_foreign` FOREIGN KEY (`webinar_assignment_id`) REFERENCES `webinar_assignments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_chapter_items`
--
ALTER TABLE `webinar_chapter_items`
  ADD CONSTRAINT `user_id` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_chapter_items_chapter_id_foreign` FOREIGN KEY (`chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_chapter_translations`
--
ALTER TABLE `webinar_chapter_translations`
  ADD CONSTRAINT `webinar_chapter_id` FOREIGN KEY (`webinar_chapter_id`) REFERENCES `webinar_chapters` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_extra_descriptions`
--
ALTER TABLE `webinar_extra_descriptions`
  ADD CONSTRAINT `webinar_extra_descriptions_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_extra_descriptions_upcoming_course_id_foreign` FOREIGN KEY (`upcoming_course_id`) REFERENCES `upcoming_courses` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_extra_descriptions_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_extra_description_translations`
--
ALTER TABLE `webinar_extra_description_translations`
  ADD CONSTRAINT `webinar_extra_description_id_foreign` FOREIGN KEY (`webinar_extra_description_id`) REFERENCES `webinar_extra_descriptions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_filter_option`
--
ALTER TABLE `webinar_filter_option`
  ADD CONSTRAINT `webinar_filter_option_filter_option_id_foreign` FOREIGN KEY (`filter_option_id`) REFERENCES `filter_options` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_filter_option_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_partner_teacher`
--
ALTER TABLE `webinar_partner_teacher`
  ADD CONSTRAINT `webinar_partner_teacher_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_partner_teacher_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_reports`
--
ALTER TABLE `webinar_reports`
  ADD CONSTRAINT `webinar_reports_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_reviews`
--
ALTER TABLE `webinar_reviews`
  ADD CONSTRAINT `webinar_reviews_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `bundles` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_reviews_creator_id_foreign` FOREIGN KEY (`creator_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `webinar_reviews_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `webinar_translations`
--
ALTER TABLE `webinar_translations`
  ADD CONSTRAINT `webinar_translations_webinar_id_foreign` FOREIGN KEY (`webinar_id`) REFERENCES `webinars` (`id`) ON DELETE CASCADE;
COMMIT;

