-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `omnipe_dev`
--

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

--
-- Table structure for table `appointments`
--

CREATE TABLE IF NOT EXISTS `appointments` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `provider_id` bigint UNSIGNED NOT NULL,
  `member_id` int DEFAULT NULL,
  `status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `appointments_provider_id_foreign` (`provider_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `appointments`
--

INSERT INTO `appointments` (`id`, `type`, `date`, `time`, `provider_id`, `member_id`, `status`, `created_at`, `updated_at`, `user_id`) VALUES
(1, 'Clinics Therapy', '2025-03-10', '11:27:00', 1, 1, 'Pending', '2025-03-05 17:57:21', '2025-03-05 17:57:21', NULL),
(3, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:10:08', '2025-03-07 13:10:08', NULL),
(4, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:12:00', '2025-03-07 13:12:00', NULL),
(5, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:12:30', '2025-03-07 13:12:30', NULL),
(6, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:19:07', '2025-03-07 13:19:07', NULL),
(7, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:19:27', '2025-03-07 13:19:27', NULL),
(8, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 13:54:44', '2025-03-07 13:54:44', NULL),
(9, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-07 14:03:26', '2025-03-07 14:03:26', NULL),
(10, 'default', '2025-03-10', '10:00:00', 1, 13, 'pending', '2025-03-16 08:28:05', '2025-03-16 08:28:05', NULL);

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

--
-- Table structure for table `attendees`
--

CREATE TABLE IF NOT EXISTS `attendees` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `booking_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `attendees_booking_id_foreign` (`booking_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendees`
--

INSERT INTO `attendees` (`id`, `booking_id`, `name`, `email`, `created_at`, `updated_at`) VALUES
(1, 2, 'Prem', 'prem@momentpay.in', '2025-02-28 18:59:55', '2025-02-28 18:59:55'),
(2, 2, 'Prem', 'prem@omnipe.com', '2025-02-28 18:59:55', '2025-02-28 18:59:55'),
(3, 3, 'Prem', 'prem@momentpay.in', '2025-02-28 19:14:29', '2025-02-28 19:14:29'),
(4, 4, 'Prem', 'prem@momentpay.in', '2025-02-28 19:18:39', '2025-02-28 19:18:39'),
(5, 5, 'Prem', 'prem@momentpay.in', '2025-02-28 19:26:04', '2025-02-28 19:26:04'),
(6, 6, 'Prem', 'prem@momentpay.in', '2025-02-28 19:26:42', '2025-02-28 19:26:42'),
(7, 7, 'Prem', 'prem@momentpay.in', '2025-03-01 05:12:40', '2025-03-01 05:12:40'),
(8, 8, 'Prem', 'prem@momentpay.in', '2025-03-01 05:22:44', '2025-03-01 05:22:44'),
(9, 9, 'Prem', 'prem@momentpay.in', '2025-03-01 05:24:09', '2025-03-01 05:24:09'),
(10, 10, 'Prem', 'prem@momentpay.in', '2025-03-01 05:24:56', '2025-03-01 05:24:56'),
(11, 11, 'Prem', 'prem@momentpay.in', '2025-03-01 05:26:42', '2025-03-01 05:26:42'),
(12, 12, 'Prem', 'prem@momentpay.in', '2025-03-01 05:36:26', '2025-03-01 05:36:26'),
(13, 13, 'Prem', 'prem@momentpay.in', '2025-03-01 05:47:57', '2025-03-01 05:47:57'),
(14, 14, 'Prem', 'prem@momentpay.in', '2025-03-01 05:50:33', '2025-03-01 05:50:33'),
(15, 15, 'Prem', 'prem@momentpay.in', '2025-03-01 05:51:02', '2025-03-01 05:51:02'),
(16, 16, 'Prem', 'prem@momentpay.in', '2025-03-01 06:00:53', '2025-03-01 06:00:53'),
(17, 17, 'Prem', 'prem@momentpay.in', '2025-03-01 06:04:17', '2025-03-01 06:04:17'),
(18, 18, 'Prem', 'prem@momentpay.in', '2025-03-01 06:04:49', '2025-03-01 06:04:49'),
(19, 19, 'Prem', 'prem@momentpay.in', '2025-03-01 06:06:25', '2025-03-01 06:06:25'),
(20, 20, 'Prem', 'prem@momentpay.in', '2025-03-01 06:06:54', '2025-03-01 06:06:54'),
(21, 21, 'Prem', 'prem@dataaegis.com', '2025-03-12 16:43:25', '2025-03-12 16:43:25'),
(22, 22, 'Prem', 'prem@dataaegis.com', '2025-03-12 16:47:04', '2025-03-12 16:47:04'),
(23, 23, 'Prem', 'prem@dataaegis.com', '2025-03-12 16:50:40', '2025-03-12 16:50:40'),
(24, 24, 'Prem', 'prem@dataaegis.com', '2025-03-12 16:52:20', '2025-03-12 16:52:20'),
(25, 25, 'Prem', 'prem@dataaegis.com', '2025-03-12 16:52:43', '2025-03-12 16:52:43'),
(26, 26, 'Prem', 'prem_cse@msn.com', '2025-03-12 17:47:03', '2025-03-12 17:47:03'),
(27, 27, 'Prem', 'prem@dataaegis.com', '2025-03-13 06:50:49', '2025-03-13 06:50:49'),
(28, 27, 'Prem', 'prem@gmail.com', '2025-03-13 06:50:49', '2025-03-13 06:50:49');

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

--
-- Table structure for table `banks`
--

CREATE TABLE IF NOT EXISTS `banks` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `banks_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `banks`
--

INSERT INTO `banks` (`id`, `currency_id`, `name`, `code`, `created_at`, `updated_at`) VALUES
(1, 7, 'DodgerBlueBank LTD', 'YJ', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(2, 6, 'MediumTurquoiseBank LTD', 'ce', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(3, 6, 'PeachPuffBank LTD', '9F', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(4, 5, 'SeaGreenBank LTD', 'y7', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(5, 5, 'MediumTurquoiseBank LTD', 'LJ', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(6, 6, 'DarkRedBank LTD', 'dE', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(7, 2, 'SteelBlueBank LTD', 'tc', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(8, 4, 'OliveBank LTD', '4F', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(9, 4, 'MediumSpringGreenBank LTD', 'LY', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(10, 4, 'AquaBank LTD', 'J9', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(11, 7, 'WhiteBank LTD', 'wO', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(12, 5, 'GoldBank LTD', 'Mh', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(13, 6, 'SaddleBrownBank LTD', 'Pw', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(14, 5, 'BlanchedAlmondBank LTD', '47', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(15, 5, 'LawnGreenBank LTD', 'LR', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(16, 6, 'ChocolateBank LTD', 'ny', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(17, 2, 'PeachPuffBank LTD', 'Q0', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(18, 7, 'SkyBlueBank LTD', 'tg', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(19, 5, 'MediumVioletRedBank LTD', 'i3', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(20, 1, 'DarkGreenBank LTD', 'VH', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(21, 4, 'DarkSeaGreenBank LTD', 'fu', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(22, 1, 'GoldBank LTD', 'md', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(23, 2, 'DarkSeaGreenBank LTD', '5j', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(24, 4, 'SiennaBank LTD', '4C', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(25, 5, 'SalmonBank LTD', 'Yx', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(26, 6, 'LightSkyBlueBank LTD', 'pI', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(27, 5, 'DarkGrayBank LTD', 'xw', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(28, 2, 'DarkBlueBank LTD', 'X0', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(29, 6, 'DarkRedBank LTD', 'ty', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(30, 4, 'HotPinkBank LTD', 'mU', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(31, 5, 'SiennaBank LTD', '0R', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(32, 2, 'SeaShellBank LTD', 'wU', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(33, 5, 'WhiteSmokeBank LTD', 'Sx', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(34, 6, 'AquamarineBank LTD', 'dp', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(35, 1, 'LightBlueBank LTD', 'tM', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(36, 4, 'SandyBrownBank LTD', '7n', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(37, 4, 'DarkMagentaBank LTD', 'dI', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(38, 7, 'BurlyWoodBank LTD', 'Vw', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(39, 4, 'LightCyanBank LTD', '5T', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(40, 7, 'DarkMagentaBank LTD', 'Nu', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(41, 5, 'AquaBank LTD', 'Rg', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(42, 1, 'AntiqueWhiteBank LTD', 'Dl', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(43, 4, 'AquaBank LTD', '5i', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(44, 2, 'LawnGreenBank LTD', 'vd', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(45, 5, 'LemonChiffonBank LTD', '9q', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(46, 4, 'CornsilkBank LTD', 'Rh', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(47, 1, 'ForestGreenBank LTD', 'Yq', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(48, 6, 'GrayBank LTD', '4g', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(49, 4, 'DarkKhakiBank LTD', 'Cu', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(50, 7, 'CrimsonBank LTD', 'Nr', '2025-02-03 05:03:13', '2025-02-03 05:03:13');

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

--
-- Table structure for table `bookings`
--

CREATE TABLE IF NOT EXISTS `bookings` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `event_id` bigint UNSIGNED NOT NULL,
  `ticket_id` bigint UNSIGNED NOT NULL,
  `attendee_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attendee_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` int NOT NULL,
  `total_price` decimal(10,2) NOT NULL,
  `booking_status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `payment_status` enum('pending','paid','failed','refunded') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `payment_method` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ticket_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ticket_code` (`ticket_code`),
  KEY `bookings_event_id_foreign` (`event_id`),
  KEY `bookings_ticket_id_foreign` (`ticket_id`),
  KEY `fk_bookings_user` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `bookings`
--

INSERT INTO `bookings` (`id`, `event_id`, `ticket_id`, `attendee_name`, `attendee_email`, `quantity`, `total_price`, `booking_status`, `created_at`, `updated_at`, `user_id`, `payment_status`, `payment_method`, `ticket_code`) VALUES
(1, 1, 1, 'Prem Gupta', 'prem@momentpay.in', 1, 500.00, 'pending', '2025-02-28 16:51:46', '2025-02-28 16:51:46', NULL, 'pending', NULL, NULL),
(2, 1, 1, '', '', 2, 1000.00, 'pending', '2025-02-28 18:59:55', '2025-02-28 18:59:55', NULL, 'pending', NULL, NULL),
(3, 1, 1, '', '', 1, 500.00, 'pending', '2025-02-28 19:14:29', '2025-02-28 19:14:29', NULL, 'pending', NULL, NULL),
(4, 1, 1, '', '', 1, 500.00, 'pending', '2025-02-28 19:18:39', '2025-02-28 19:18:39', NULL, 'pending', NULL, NULL),
(5, 1, 1, '', '', 1, 500.00, 'pending', '2025-02-28 19:26:04', '2025-02-28 19:26:04', NULL, 'pending', NULL, NULL),
(6, 1, 1, '', '', 1, 500.00, 'pending', '2025-02-28 19:26:42', '2025-02-28 19:26:42', NULL, 'pending', NULL, NULL),
(7, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:12:40', '2025-03-01 05:12:40', NULL, 'pending', NULL, NULL),
(8, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:22:44', '2025-03-01 05:22:44', NULL, 'pending', NULL, NULL),
(9, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:24:09', '2025-03-01 05:24:09', NULL, 'pending', NULL, NULL),
(10, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:24:56', '2025-03-01 05:24:56', NULL, 'pending', NULL, NULL),
(11, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:26:42', '2025-03-01 05:26:42', NULL, 'pending', NULL, NULL),
(12, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:36:26', '2025-03-01 05:36:26', NULL, 'pending', NULL, NULL),
(13, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:47:57', '2025-03-01 05:47:57', NULL, 'pending', NULL, NULL),
(14, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:50:33', '2025-03-01 05:50:33', NULL, 'pending', NULL, NULL),
(15, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 05:51:02', '2025-03-01 05:51:02', NULL, 'pending', NULL, NULL),
(16, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 06:00:53', '2025-03-01 06:00:53', NULL, 'pending', NULL, NULL),
(17, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 06:04:17', '2025-03-01 06:04:17', NULL, 'pending', NULL, NULL),
(18, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 06:04:49', '2025-03-01 06:04:49', NULL, 'pending', NULL, NULL),
(19, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 06:06:25', '2025-03-01 06:06:25', NULL, 'pending', NULL, NULL),
(20, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-01 06:06:54', '2025-03-01 06:06:54', NULL, 'pending', NULL, NULL),
(21, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 16:43:25', '2025-03-12 16:43:25', NULL, 'pending', NULL, NULL),
(22, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 16:47:04', '2025-03-12 16:47:04', NULL, 'pending', NULL, NULL),
(23, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 16:50:40', '2025-03-12 16:50:40', NULL, 'pending', NULL, NULL),
(24, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 16:52:20', '2025-03-12 16:52:20', NULL, 'pending', NULL, NULL),
(25, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 16:52:43', '2025-03-12 16:52:43', NULL, 'pending', NULL, NULL),
(26, 1, 1, '', '', 1, 500.00, 'pending', '2025-03-12 17:47:03', '2025-03-12 17:47:03', NULL, 'pending', NULL, NULL),
(27, 1, 1, '', '', 2, 1000.00, 'pending', '2025-03-13 06:50:49', '2025-03-13 06:50:49', NULL, 'pending', NULL, NULL);

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

--
-- Table structure for table `chit_products`
--

CREATE TABLE IF NOT EXISTS `chit_products` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `chit_provider_id` bigint UNSIGNED NOT NULL,
  `chit_amount` decimal(15,2) NOT NULL,
  `installment_amount` decimal(15,2) NOT NULL,
  `duration_months` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `chit_products_chit_provider_id_foreign` (`chit_provider_id`)
) ENGINE=MyISAM AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chit_products`
--

INSERT INTO `chit_products` (`id`, `name`, `chit_provider_id`, `chit_amount`, `installment_amount`, `duration_months`, `created_at`, `updated_at`) VALUES
(1, 'A2/136/2021/14', 10, 300000.00, 6000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(2, 'A2/142/2021/16', 10, 300000.00, 6000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(3, 'A2/145/2022/4', 10, 300000.00, 6000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(4, 'A2/145/2022/43', 10, 300000.00, 6000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(5, 'A2/147/2022/45', 10, 3000000.00, 60000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(6, 'A2/147/2022/46', 10, 3000000.00, 60000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(7, 'A2/153/2022/26', 10, 250000.00, 5000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(8, 'A2/153/2022/29', 10, 250000.00, 5000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12'),
(9, 'A2/153/2022/43', 10, 250000.00, 5000.00, 50, '2025-03-27 16:41:12', '2025-03-27 16:41:12');

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

--
-- Table structure for table `chit_providers`
--

CREATE TABLE IF NOT EXISTS `chit_providers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner_id` bigint UNSIGNED NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ext_css` text COLLATE utf8mb4_unicode_ci,
  `ext_javascript` text COLLATE utf8mb4_unicode_ci,
  `ext_html` text COLLATE utf8mb4_unicode_ci,
  `ext_header_html` text COLLATE utf8mb4_unicode_ci,
  `ext_footer_html` text COLLATE utf8mb4_unicode_ci,
  `currency_id` bigint UNSIGNED NOT NULL,
  `chit_products_json` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chit_providers`
--

INSERT INTO `chit_providers` (`id`, `name`, `owner_id`, `address`, `logo`, `ext_css`, `ext_javascript`, `ext_html`, `ext_header_html`, `ext_footer_html`, `currency_id`, `chit_products_json`, `created_at`, `updated_at`) VALUES
(2, 'Shriram Chits', 3, 'Chennai, Tamil Nadu', '/epay/uploads/chits/shriram_logo.png', NULL, NULL, NULL, '<div class=\"custom-header d-flex align-items-center justify-content-between mb-4\" style=\"max-height: 50px;\">\n    <?php \n        $host = $_SERVER[\'HTTP_HOST\']; // Get current host\n        $parts = explode(\'.\', $host);\n        $logoName = (count($parts) > 2) ? $parts[0] : \'default-logo\';\n		$logoPath = asset(\'uploads/\' . $logoName . \'.png\');\n    ?>\n    \n    <!-- Logo on the left -->\n    <div class=\"logo-container\">\n		            <img src=\"<?php echo $logoPath; ?>\" alt=\"bank\" style=\"max-height: 50px;\">\n    </div>\n\n    <!-- Navigation on the right -->\n    <nav>\n        <ul class=\"list-inline mb-0\">\n            <li class=\"list-inline-item\"><a href=\"/\">Home</a></li>\n            <li class=\"list-inline-item\"><a href=\"/about\">About</a></li>\n            <li class=\"list-inline-item\"><a href=\"/contact\">Contact</a></li>\n        </ul>\n    </nav>\n</div>', '<div class=\"custom-footer text-center mt-5 pt-4 border-top\">\n    <p>&copy; <?php echo date(\'Y\'); ?> <?php echo (isset($school) ? $school->name : \'School\'); ?>. All rights reserved.</p>\n    <ul class=\"list-inline\">\n        <li class=\"list-inline-item\"><a href=\"/privacy\">Privacy Policy</a></li>\n        <li class=\"list-inline-item\"><a href=\"/terms\">Terms of Service</a></li>\n    </ul>\n</div>', 5, '[{\"amount\": 100000, \"duration\": 20, \"product_name\": \"Gold Chit\", \"monthly_installment\": 5000}, {\"amount\": 50000, \"duration\": 15, \"product_name\": \"Silver Chit\", \"monthly_installment\": 3333}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(3, 'Margadarsi Chits', 3, 'Hyderabad, Telangana', '/epay/uploads/chits/magardasichits_logo.png', NULL, NULL, NULL, ' <div class=\"custom-header d-flex align-items-center justify-content-between mb-4\" style=\"max-height: 50px;\">\n    <?php\n        $host = $_SERVER[\'HTTP_HOST\'];\n        $parts = explode(\'.\', $host);\n        $logoName = (count($parts) > 2) ? $parts[0] : \'default-logo\';\n\n        if ($logoName == \'chitA\') { // Example for a specific chit provider\n            $logoPath = \'/images/logo_chitA.png\';\n        } else {\n            $logoPath = (isset($chitprovider) && !empty($chitprovider->logo))\n                ? Storage::url($chitprovider->logo)\n                : asset(\'/epay/uploads/default.png\');\n        }\n    ?>\n\n    <!-- Logo on the left -->\n    <div class=\"logo-container\">\n        <img src=\"<?php echo $logoPath; ?>\" alt=\"<?php echo (isset($chitprovider) ? $chitprovider->name : \'Chit Provider\'); ?>\" style=\"max-height: 50px;\">\n    </div>\n\n    <!-- Navigation on the right -->\n    <nav>\n        <ul class=\"list-inline mb-0\">\n            <li class=\"list-inline-item\"><a href=\"/\">Home</a></li>\n            <li class=\"list-inline-item\"><a href=\"/about\">About</a></li>\n            <li class=\"list-inline-item\"><a href=\"/contact\">Contact</a></li>\n        </ul>\n    </nav>\n</div>\n | <div class=\"custom-footer text-center mt-5 pt-4 border-top\">\n    <p>&copy; <?php echo date(\'Y\'); ?> <?php echo (isset($school) ? $school->name : \'School\'); ?>. All rights reserved.</p>\n    <ul class=\"list-inline\">\n        <li class=\"list-inline-item\"><a href=\"/privacy\">Privacy Policy</a></li>\n        <li class=\"list-inline-item\"><a href=\"/terms\">Terms of Service</a></li>\n    </ul>\n</div>', NULL, 5, '[{\"amount\": 75000, \"duration\": 25, \"product_name\": \"Regular Chit\", \"monthly_installment\": 3000}, {\"amount\": 200000, \"duration\": 40, \"product_name\": \"Elite Chit\", \"monthly_installment\": 5000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(4, 'Kapil Chits', 3, 'Hyderabad, Telangana', '/epay/uploads/chits/kapilchits_logo.jpg', NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 60000, \"duration\": 20, \"product_name\": \"Standard Chit\", \"monthly_installment\": 3000}, {\"amount\": 150000, \"duration\": 30, \"product_name\": \"Premium Chit\", \"monthly_installment\": 5000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(5, 'Sree Gokulam Chits', 4, 'Chennai, Tamil Nadu', '/epay/uploads/chits/gokulam_logo.png', NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 100000, \"duration\": 24, \"product_name\": \"Business Chit\", \"monthly_installment\": 4167}, {\"amount\": 80000, \"duration\": 20, \"product_name\": \"Family Chit\", \"monthly_installment\": 4000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(6, 'Balussery Chits', 5, 'Kozhikode, Kerala', '/epay/uploads/chits/balusarreys_logo.png', NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 50000, \"duration\": 12, \"product_name\": \"Saving Chit\", \"monthly_installment\": 4167}, {\"amount\": 120000, \"duration\": 24, \"product_name\": \"Investment Chit\", \"monthly_installment\": 5000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(7, 'Purasawalkam Santhatha Sanga Nidhi', 6, 'Chennai, Tamil Nadu', NULL, NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 40000, \"duration\": 12, \"product_name\": \"Personal Chit\", \"monthly_installment\": 3333}, {\"amount\": 150000, \"duration\": 36, \"product_name\": \"Enterprise Chit\", \"monthly_installment\": 4167}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(8, 'Geethanjali Chits', 7, 'Bangalore, Karnataka', NULL, NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 30000, \"duration\": 10, \"product_name\": \"Daily Chit\", \"monthly_installment\": 3000}, {\"amount\": 100000, \"duration\": 25, \"product_name\": \"Weekly Chit\", \"monthly_installment\": 4000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(9, 'Ujjivan Chits', 8, 'Pune, Maharashtra', '/epay/uploads/chits/ujjivan_logo.png', NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 25000, \"duration\": 10, \"product_name\": \"Micro Finance Chit\", \"monthly_installment\": 2500}, {\"amount\": 300000, \"duration\": 50, \"product_name\": \"Corporate Chit\", \"monthly_installment\": 6000}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(10, 'Muthoot Chits', 9, 'Kochi, Kerala', '/epay/uploads/chits/muthooth_logo.jpg', NULL, NULL, NULL, '<div class=\"custom-header d-flex align-items-center justify-content-between mb-4\" style=\"max-height: 50px;\">\n    <?php \n        $host = $_SERVER[\'HTTP_HOST\']; // Get current host\n        $parts = explode(\'.\', $host);\n        $logoName = (count($parts) > 2) ? $parts[0] : \'default-logo\';\n		$logoPath = asset(\'uploads/\' . $logoName . \'.png\');\n    ?>\n    \n    <!-- Logo on the left -->\n    <div class=\"logo-container\">\n		            <img src=\"<?php echo $logoPath; ?>\" alt=\"bank\" style=\"max-height: 50px;\">\n    </div>\n\n    <!-- Navigation on the right -->\n    <nav>\n        <ul class=\"list-inline mb-0\">\n            <li class=\"list-inline-item\"><a href=\"/\">Home</a></li>\n            <li class=\"list-inline-item\"><a href=\"/about\">About</a></li>\n            <li class=\"list-inline-item\"><a href=\"/contact\">Contact</a></li>\n        </ul>\n    </nav>\n</div>', '<div class=\"custom-footer text-center mt-5 pt-4 border-top\">\n    <p>&copy; <?php echo date(\'Y\'); ?> <?php echo (isset($school) ? $school->name : \'School\'); ?>. All rights reserved.</p>\n    <ul class=\"list-inline\">\n        <li class=\"list-inline-item\"><a href=\"/privacy\">Privacy Policy</a></li>\n        <li class=\"list-inline-item\"><a href=\"/terms\">Terms of Service</a></li>\n    </ul>\n</div>', 5, '[{\"amount\": 100000, \"duration\": 20, \"product_name\": \"Gold Loan Chit\", \"monthly_installment\": 5000}, {\"amount\": 75000, \"duration\": 18, \"product_name\": \"Home Needs Chit\", \"monthly_installment\": 4167}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18'),
(11, 'Manappuram Chits', 10, 'Thrissur, Kerala', '/epay/uploads/chits/Machits_logo.png', NULL, NULL, NULL, NULL, NULL, 5, '[{\"amount\": 50000, \"duration\": 12, \"product_name\": \"Fast Chit\", \"monthly_installment\": 4167}, {\"amount\": 200000, \"duration\": 36, \"product_name\": \"Premium Chit\", \"monthly_installment\": 5555}]', '2025-03-15 12:14:18', '2025-03-15 12:14:18');

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

--
-- Table structure for table `chit_subscribers`
--

CREATE TABLE IF NOT EXISTS `chit_subscribers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mobile_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subscriber_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subscriber_other_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `chit_location` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `chit_subscriber_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_paid_amount` decimal(8,2) DEFAULT NULL,
  `chit_subscriber_monthly_due` decimal(8,2) NOT NULL DEFAULT '0.00',
  `chat_subscriber_due` decimal(8,2) NOT NULL DEFAULT '0.00',
  `chat_subscriber_penalty_due` decimal(8,2) NOT NULL DEFAULT '0.00',
  `chat_subscriber_advance_due` decimal(8,2) NOT NULL DEFAULT '0.00',
  `other_due` decimal(8,2) NOT NULL DEFAULT '0.00',
  `total_due_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `chit_provider_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `chit_subscribers_email_unique` (`email`),
  UNIQUE KEY `chit_subscribers_chit_subscriber_number_unique` (`chit_subscriber_number`),
  KEY `chit_subscribers_chit_provider_id_foreign` (`chit_provider_id`)
) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chit_subscribers`
--

INSERT INTO `chit_subscribers` (`id`, `name`, `mobile_number`, `email`, `subscriber_name`, `subscriber_other_name`, `chit_location`, `chit_subscriber_number`, `class`, `total_paid_amount`, `chit_subscriber_monthly_due`, `chat_subscriber_due`, `chat_subscriber_penalty_due`, `chat_subscriber_advance_due`, `other_due`, `total_due_amount`, `chit_provider_id`, `created_at`, `updated_at`) VALUES
(2, 'Ravi Kumar', '919343712136', 'ravi.kumar@example.com', 'Ravi Kumar', NULL, 'Hyderabad', 'CS1001', 'Gold Chit', NULL, 5000.00, 0.00, 0.00, 0.00, 0.00, 5000.00, 2, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(3, 'Sanjay Sharma', '9823456789', 'sanjay.sharma@example.com', 'Sanjay Sharma', NULL, 'Bangalore', 'CS1002', 'Elite Chit', 8920.00, 0.00, 0.00, 0.00, 0.00, 0.00, -8920.00, 2, '2025-03-15 12:32:53', '2025-03-19 00:28:13'),
(4, 'Pooja Reddy', '9871234567', 'pooja.reddy@example.com', 'Pooja Reddy', NULL, 'Chennai', 'CS1003', 'Regular Chit', NULL, 4000.00, 0.00, 0.00, 1000.00, 0.00, 3000.00, 3, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(5, 'Amit Verma', '9887766554', 'amit.verma@example.com', 'Amit Verma', NULL, 'Mumbai', 'CS1004', 'Investment Chit', NULL, 8000.00, 5000.00, 0.00, 0.00, 0.00, 13000.00, 4, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(6, 'Deepika Nair', '9865321470', 'deepika.nair@example.com', 'Deepika Nair', NULL, 'Kochi', 'CS1005', 'Family Chit', NULL, 3500.00, 0.00, 0.00, 0.00, 0.00, 3500.00, 5, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(7, 'Rajesh Iyer', '9898765432', 'rajesh.iyer@example.com', 'Rajesh Iyer', NULL, 'Pune', 'CS1006', 'Micro Finance Chit', NULL, 3000.00, 1500.00, 200.00, 0.00, 0.00, 4700.00, 6, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(8, 'Anjali Das', '9845623178', 'anjali.das@example.com', 'Anjali Das', NULL, 'Delhi', 'CS1007', 'Premium Chit', NULL, 9000.00, 0.00, 0.00, 500.00, 0.00, 8500.00, 7, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(9, 'Vikram Choudhary', '9832145678', 'vikram.choudhary@example.com', 'Vikram Choudhary', NULL, 'Jaipur', 'CS1008', 'Home Needs Chit', NULL, 7000.00, 1000.00, 100.00, 0.00, 500.00, 8600.00, 8, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(10, 'Neha Kapoor', '9812345678', 'neha.kapoor@example.com', 'Neha Kapoor', NULL, 'Noida', 'CS1009', 'Daily Chit', NULL, 2500.00, 0.00, 0.00, 500.00, 0.00, 2000.00, 9, '2025-03-15 12:32:53', '2025-03-15 12:32:53'),
(11, 'Surya Prakash', '9876545678', 'surya.prakash@example.com', 'Surya Prakash', NULL, 'Nagpur', 'CS1010', 'Fast Chit', NULL, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 10, '2025-03-15 12:32:53', '2025-03-27 23:12:28'),
(12, 'Ravi Kumar', '9876543210', 'ravi.kumar@dataaegis.com', 'Ravi Kumar', NULL, 'Hyderabad', 'CS1011', 'Gold Chit', NULL, 5000.00, 0.00, 0.00, 0.00, 0.00, 5000.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(13, 'Sanjay Sharma', '9823456789', 'sanjay.sharma@dataaegis.com', 'Sanjay Sharma', NULL, 'Bangalore', 'CS1012', 'Elite Chit', NULL, 6000.00, 2000.00, 500.00, 0.00, 0.00, 8500.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(14, 'Pooja Reddy', '9871234567', 'pooja.reddy@dataaegis.com', 'Pooja Reddy', NULL, 'Chennai', 'CS1013', 'Regular Chit', NULL, 4000.00, 0.00, 0.00, 1000.00, 0.00, 3000.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(15, 'Amit Verma', '9887766554', 'amit.verma@dataaegis.com', 'Amit Verma', NULL, 'Mumbai', 'CS1014', 'Investment Chit', NULL, 8000.00, 5000.00, 0.00, 0.00, 0.00, 13000.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(16, 'Deepika Nair', '9865321470', 'deepika.nair@dataaegis.com', 'Deepika Nair', NULL, 'Kochi', 'CS1015', 'Family Chit', NULL, 3500.00, 0.00, 0.00, 0.00, 0.00, 3500.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(17, 'Rajesh Iyer', '9898765432', 'rajesh.iyer@dataaegis.com', 'Rajesh Iyer', NULL, 'Pune', 'CS1016', 'Micro Finance Chit', NULL, 3000.00, 1500.00, 200.00, 0.00, 0.00, 4700.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(18, 'Anjali Das', '9845623178', 'anjali.das@dataaegis.com', 'Anjali Das', NULL, 'Delhi', 'CS1017', 'Premium Chit', NULL, 9000.00, 0.00, 0.00, 500.00, 0.00, 8500.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(19, 'Vikram Choudhary', '9832145678', 'vikram.choudhary@dataaegis.com', 'Vikram Choudhary', NULL, 'Jaipur', 'CS1018', 'Home Needs Chit', NULL, 7000.00, 1000.00, 100.00, 0.00, 500.00, 8600.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(20, 'Neha Kapoor', '9812345678', 'neha.kapoor@dataaegis.com', 'Neha Kapoor', NULL, 'Noida', 'CS1019', 'Daily Chit', NULL, 2500.00, 0.00, 0.00, 500.00, 0.00, 2000.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01'),
(21, 'Surya Prakash', '9876545678', 'surya.prakash@dataaegis.com', 'Surya Prakash', NULL, 'Nagpur', 'CS1020', 'Fast Chit', NULL, 5500.00, 500.00, 0.00, 0.00, 0.00, 6000.00, 10, '2025-03-28 04:55:01', '2025-03-28 04:55:01');

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

--
-- Table structure for table `chit_subscriber_orders`
--

CREATE TABLE IF NOT EXISTS `chit_subscriber_orders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `chit_subscriber_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payas_as` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trx` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoice` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `chit_subscriber_orders_chit_subscriber_id_foreign` (`chit_subscriber_id`),
  KEY `chit_subscriber_orders_user_id_foreign` (`user_id`),
  KEY `chit_subscriber_orders_currency_id_foreign` (`currency_id`),
  KEY `chit_subscriber_orders_gateway_id_foreign` (`gateway_id`)
) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chit_subscriber_orders`
--

INSERT INTO `chit_subscriber_orders` (`id`, `chit_subscriber_id`, `user_id`, `amount`, `currency_id`, `gateway_id`, `status`, `payas_as`, `name`, `email`, `phone`, `trx`, `invoice`, `created_at`, `updated_at`) VALUES
(1, 2, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', '9343712136', NULL, NULL, '2025-03-15 07:46:39', '2025-03-15 07:47:11'),
(2, 2, 3, 300.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', '9343712136', NULL, NULL, '2025-03-15 07:48:34', '2025-03-15 07:49:03'),
(3, 2, 3, 5000.00, 5, 15, 'pending', 'chitsubscriber', 'Ravi Kumar', 'ravi.kumar@example.com', NULL, NULL, NULL, '2025-03-16 07:22:23', '2025-03-16 07:22:23'),
(4, 2, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Ravi Kumar', 'ravi.kumar@example.com', '9343712136', NULL, NULL, '2025-03-16 07:25:00', '2025-03-16 07:25:31'),
(5, 2, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', '9343712136', NULL, NULL, '2025-03-17 01:12:35', '2025-03-17 01:12:40'),
(6, 2, 3, 8500.00, 5, 15, 'pending', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', NULL, NULL, NULL, '2025-03-17 06:14:20', '2025-03-17 06:14:20'),
(7, 2, 3, 8500.00, 5, 15, 'pending', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', NULL, NULL, NULL, '2025-03-17 06:16:00', '2025-03-17 06:16:00'),
(8, 2, 3, 8500.00, 5, 15, 'pending', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', NULL, NULL, NULL, '2025-03-17 06:16:59', '2025-03-17 06:16:59'),
(9, 2, 3, 8500.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', '9343712136', NULL, NULL, '2025-03-17 06:18:18', '2025-03-17 06:18:47'),
(10, 2, 3, 8500.00, 5, 15, 'pending', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', NULL, NULL, NULL, '2025-03-17 23:41:06', '2025-03-17 23:41:06'),
(11, 2, 3, 170.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 11:59:06', '2025-03-18 11:59:31'),
(12, 2, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:03:42', '2025-03-18 12:04:14'),
(13, 2, 3, 300.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:07:20', '2025-03-18 12:07:47'),
(14, 3, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:13:12', '2025-03-18 12:13:37'),
(15, 3, 3, 200.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:15:04', '2025-03-18 12:15:37'),
(16, 3, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:17:22', '2025-03-18 12:17:48'),
(17, 3, 3, 300.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:20:07', '2025-03-18 12:20:35'),
(18, 3, 3, 100.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:27:48', '2025-03-18 12:28:26'),
(19, 3, 3, 8500.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 12:56:29', '2025-03-18 12:56:57'),
(20, 3, 3, 167.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 13:07:20', '2025-03-18 13:07:48'),
(21, 3, 3, 167.00, 5, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 13:13:59', '2025-03-18 13:14:36'),
(22, 3, 3, 858.60, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:24:28', '2025-03-18 22:24:56'),
(23, 3, 3, 771.40, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:30:04', '2025-03-18 22:30:51'),
(24, 3, 3, 693.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:33:44', '2025-03-18 22:34:14'),
(25, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:37:39', '2025-03-18 22:38:26'),
(26, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:39:40', '2025-03-18 22:40:16'),
(27, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:41:32', '2025-03-18 22:42:02'),
(28, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:51:12', '2025-03-18 22:51:46'),
(29, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 22:54:05', '2025-03-18 22:54:33'),
(30, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-18 23:36:22', '2025-03-18 23:36:28'),
(31, 3, 3, 6263.00, 0, 15, '1', 'chitsubscriber', 'Sanjay Sharma', 'sanjay.sharma@example.com', 'N/A', NULL, NULL, '2025-03-19 00:27:43', '2025-03-19 00:28:13'),
(32, 11, 3, 6000.00, 5, 15, '1', 'chitsubscriber', 'Ripple', 'ripplefactordemo@gmail.com', '9876545678', 'QkaEXR8kVJcH', 'INV17431369123421', '2025-03-27 23:11:52', '2025-03-27 23:12:28');

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

--
-- Table structure for table `contact_mails`
--

CREATE TABLE IF NOT EXISTS `contact_mails` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `first_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `contact_mails`
--

INSERT INTO `contact_mails` (`id`, `first_name`, `last_name`, `email`, `phone`, `message`, `created_at`, `updated_at`) VALUES
(1, 'GeorgePOiltDU', 'GeorgePOiltDU', 'ocopesuq299@gmail.com', '84562847528', 'Hola, volia saber el seu preu.', '2025-02-26 13:59:55', '2025-02-26 13:59:55'),
(2, 'RaymondzesMW', 'RaymondzesMW', 'raymondbitolve@gmail.com', '84457488679', 'Hey there! omnipe.com \r\n \r\n \r\n  \r\n \r\n \r\n \r\nThe cost of sending one million messages is $59. \r\n \r\nThis letter is automatically generated. \r\n \r\nContact us. \r\nTelegram - https://t.me/FeedbackFormEU \r\nSkype  live:contactform_18 \r\nWhatsApp - +375259112693 \r\nWhatsApp  https://wa.me/+375259112693 \r\nWe only use chat for communication.', '2025-02-27 07:35:43', '2025-02-27 07:35:43'),
(3, 'Mike Jonas Meyer\r\nKY', 'Mike Jonas Meyer\r\nKY', 'mike@monkeydigital.co', '89828328981', 'Hey, \r\n \r\nThis is Mike from Monkey Digital, \r\nI am reaching out regarding a exciting collaboration. \r\n \r\nHow would you like to show our banners on your site and redirect via your custom affiliate link towards hot-selling products from our platform? \r\n \r\nThis way, you earn a solid 35% residual income, every month from any sales that are made from your website. \r\n \r\nThink about it, everyone require SEO, so this is a huge opportunity. \r\n \r\nWe already have over 12,000 affiliates and our payments are processed every month. \r\nRecently, we reached $27280 in affiliate earnings to our affiliates. \r\n \r\nIf this sounds good, kindly chat with us here: \r\nhttps://monkeydigital.co/affiliates-whatsapp/ \r\n \r\nOr sign up today: \r\nhttps://www.monkeydigital.co/join-our-affiliate-program/ \r\n \r\nBest Regards, \r\nMike Jonas Meyer\r\n \r\nPhone/whatsapp: +1 (775) 314-7914', '2025-02-27 08:14:38', '2025-02-27 08:14:38'),
(4, 'GeorgePOiltDU', 'GeorgePOiltDU', 'ocopesuq299@gmail.com', '81564542968', 'হাই, আমি আপনার মূল্য জানতে চেয়েছিলাম.', '2025-02-27 21:13:11', '2025-02-27 21:13:11'),
(5, 'RoyPOiltGM', 'StevenPOiltGM', 'aferinohis056@gmail.com', '83734375594', 'Sawubona, bengifuna ukwazi intengo yakho.', '2025-02-28 17:06:23', '2025-02-28 17:06:23'),
(6, 'DuweewShougLT', 'DuweewShougLT', 'rew33@donetsk365.ru', '84427159538', '[url=https://domcoffee.site]fuck off bitch  щдюхи вонючие пезды [/url] \r\ndomcoffee.site  <a href=https://domcoffee.site> щдюхи вонючие пезды</a> \r\n+zwz4753674   <a href=https://domcoffee.site> fucking porno video</a> \r\n+zwz4753674', '2025-03-01 11:41:20', '2025-03-01 11:41:20'),
(7, 'Mike Werner Schulz\r\nAH', 'Mike Werner Schulz\r\nAH', 'info@professionalseocleanup.com', '89348685665', 'Hi there, \r\n \r\nWhile checking your omnipe.com for its ranks, I have noticed that \r\nthere are some toxic links pointing towards it. \r\n \r\nGrab your free clean up and improve ranks in no time \r\nhttps://www.professionalseocleanup.com/ \r\n \r\nAsk us how we do it: \r\nhttps://www.professionalseocleanup.com/whatsapp/ \r\n \r\nRegards \r\nMike Werner Schulz\r\n \r\nPhone: +1 (855) 221-7591', '2025-03-01 14:53:11', '2025-03-01 14:53:11'),
(8, 'JohnPOiltUN', 'JohnPOiltUN', 'yawiviseya67@gmail.com', '81764899298', 'Hi, ego volo scire vestri pretium.', '2025-03-01 20:12:56', '2025-03-01 20:12:56'),
(9, 'AmandasurrysembGB', 'AmandasurrysemaGB', 'amandaCektoithb@gmail.com', '82631797448', 'I’m waiting for your message! Come say hi!  \r\n \r\nMessage me there! ---> https://rb.gy/44z0k7?NefRoare', '2025-03-02 16:43:59', '2025-03-02 16:43:59'),
(10, 'TedPOiltLW', 'TedPOiltLW', 'ocopesuq299@gmail.com', '84263651756', 'Здравейте, исках да знам цената ви.', '2025-03-02 22:36:14', '2025-03-02 22:36:14'),
(11, 'TedPOiltLW', 'TedPOiltLW', 'ocopesuq299@gmail.com', '86238975617', 'Hallo, ek wou jou prys ken.', '2025-03-03 02:49:38', '2025-03-03 02:49:38'),
(12, 'JohnPOiltUN', 'JohnPOiltUN', 'yawiviseya67@gmail.com', '81224313652', 'Hai, saya ingin tahu harga Anda.', '2025-03-05 10:00:56', '2025-03-05 10:00:56'),
(13, 'LincolnNeebySE', 'LincolnNeebySE', 'nomin.momin+244d5@mail.ru', '81448981654', 'Nfwhdkjdwj rdqskwjfej wkdwodkwkifjejr okeowjrfiejfiej rowjedowkrfiejfi jrowkorwkjrfejfi jorkdworefoijfeijfowek okdwofjiejgierjfoe omnipe.com', '2025-03-05 20:28:11', '2025-03-05 20:28:11'),
(14, 'HeZowcahKT', 'HeZowcahKT', 'brosjonson@mail.ru', '84963271327', 'I was tired of fake profiles and complicated dating sites. Finally found a site that shows real girls from my city  - https://t.me/+ijV3M3OHHIowNzcx \r\n \r\nHeZowcah', '2025-03-06 01:28:01', '2025-03-06 01:28:01'),
(15, 'Amandasurrysem3GB', 'Amandasurrysem2GB', 'amandaCektoithc@gmail.com', '85717637996', '\"I adore spontaneous decisions — join me at https://rb.gy/44z0k7?NefRoare ?\"', '2025-03-06 08:08:12', '2025-03-06 08:08:12'),
(16, 'JamesPOiltGM', 'JasonPOiltGM', 'aferinohis056@gmail.com', '82529169389', 'Sawubona, bengifuna ukwazi intengo yakho.', '2025-03-08 17:55:25', '2025-03-08 17:55:25'),
(17, 'Mike Maximilian Goossens\r\nCV', 'Mike Maximilian Goossens\r\nCV', 'info@digital-x-press.com', '85666836732', 'Greetings, \r\n \r\nI know that many find it challenging to grasp that SEO requires time and a strategic monthly approach. \r\n \r\nUnfortunately, very few webmasters have the willingness to witness the gradual yet powerful gains that can elevate their business. \r\n \r\nWith frequent SEO changes, a steady, long-term strategy is essential for getting a high return on investment. \r\n \r\nIf you agree this as the most effective method, partner with us! \r\n \r\nExplore Our SEO Growth Packages \r\nhttps://www.digital-x-press.com/unbeatable-seo/ \r\n \r\nChat With Us on WhatsApp \r\nhttps://www.digital-x-press.com/whatsapp-us/ \r\n \r\nWe provide exceptional value for your SEO spend, and you will be glad choosing us as your digital agency. \r\n \r\nBest regards, \r\nDigital X SEO Experts \r\nPhone/WhatsApp: +1 (844) 754-1148', '2025-03-09 14:22:37', '2025-03-09 14:22:37'),
(18, 'MartinfoeliKV', 'MartinfoeliKV', 'lucy.stuart11@gmail.com', '85278447982', 'VERY DEPRAVED WOMEN WANT TO MEET FOR SEX ONLY ON THIS DATING SITE https://www.webshoptrustmark.fr/Change/en?returnUrl=https%3A%2F%2Ftelegra.ph%2Fbhw-03-02%3F6083?4r3zi8b9 \r\n \r\n \r\n \r\n \r\na8ju9t5y1d0t9b5i \r\ns6bf7z8i5x0z8t5z \r\nu3dz1q1t7b5y1e9z \r\nv8qp1f0j2l2q0m2g', '2025-03-11 15:40:32', '2025-03-11 15:40:32'),
(19, 'Mike Mark Johansen\r\nRD', 'Mike Mark Johansen\r\nRD', 'info@strictlydigital.net', '88927526153', 'Hello, \r\n \r\nGetting some collection of links linking to omnipe.com may result in 0 value or worse for your business. \r\n \r\nIt really doesn’t matter the total inbound links you have, what is key is the number of search terms those platforms rank for. \r\n \r\nThat is the key factor. \r\nNot the fake Domain Authority or ahrefs DR score. \r\nAnyone can manipulate those. \r\nBUT the amount of Google-ranked terms the websites that link to you contain. \r\nThat’s it. \r\n \r\nMake sure these backlinks point to your website and your site will see real growth! \r\n \r\nWe are providing this exclusive SEO package here: \r\nhttps://www.strictlydigital.net/product/semrush-backlinks/ \r\n \r\nIn doubt, or want clarification, reach out here: \r\nhttps://www.strictlydigital.net/whatsapp-us/ \r\n \r\nSincerely, \r\nMike Mark Johansen\r\n \r\nstrictlydigital.net \r\nPhone/WhatsApp: +1 (877) 566-3738', '2025-03-11 19:23:57', '2025-03-11 19:23:57'),
(20, 'IslaPOiltJA', 'IslaPOiltJA', 'duqotayowud23@gmail.com', '89431793851', 'Hæ, ég vildi vita verð þitt.', '2025-03-12 10:55:30', '2025-03-12 10:55:30'),
(21, 'GeorgePOiltDU', 'GeorgePOiltDU', 'ocopesuq299@gmail.com', '81796587971', 'Aloha, makemake wau eʻike i kāu kumukūʻai.', '2025-03-13 09:41:43', '2025-03-13 09:41:43');

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

--
-- Table structure for table `currencies`
--

CREATE TABLE IF NOT EXISTS `currencies` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `country_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` double NOT NULL,
  `symbol` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `position` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `is_default` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `currencies_name_unique` (`name`),
  UNIQUE KEY `currencies_code_unique` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `currencies`
--

INSERT INTO `currencies` (`id`, `name`, `country_name`, `code`, `rate`, `symbol`, `position`, `status`, `is_default`, `created_at`, `updated_at`) VALUES
(1, 'US Dollar', 'United State', 'USD', 1, '$', 'left', 1, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(2, 'Euro', 'Euro', 'EUR', 1, '€', 'left', 1, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(4, 'Indian Rupee', 'India', 'INR', 1, '₹', 'left', 1, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(5, 'Indian Rupees', 'India', 'Rs', 1, '₹', 'left', 0, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(6, 'Malaysian Ringgit', 'Malaysia', 'MYR', 1, 'RM', 'left', 1, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(7, 'Omani rial', 'Saudi Arab', 'OMR', 1, 'ر.ع.', 'right', 1, 0, '2022-08-07 19:04:59', '2025-08-14 03:07:08'),
(8, 'UAE', 'United Arab Emirates', 'UAE', 1, 'AED', 'left', 1, 1, '2025-08-14 03:06:57', '2025-08-14 03:07:08');

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

--
-- Table structure for table `deposits`
--

CREATE TABLE IF NOT EXISTS `deposits` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `total_amount` double DEFAULT NULL,
  `status` int DEFAULT NULL,
  `payment_status` int DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `meta` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `deposits_user_id_foreign` (`user_id`),
  KEY `deposits_gateway_id_foreign` (`gateway_id`),
  KEY `deposits_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `document_annotations`
--

CREATE TABLE IF NOT EXISTS `document_annotations` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `annotation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kyc_request_id` bigint UNSIGNED NOT NULL,
  `field_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('note','approval','rejection','question') COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` json DEFAULT NULL,
  `dimensions` json DEFAULT NULL,
  `page` int DEFAULT NULL,
  `created_by` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `document_annotations_annotation_id_unique` (`annotation_id`),
  KEY `document_annotations_created_by_foreign` (`created_by`),
  KEY `document_annotations_kyc_request_id_field_name_index` (`kyc_request_id`,`field_name`),
  KEY `document_annotations_kyc_request_id_document_id_index` (`kyc_request_id`,`document_id`),
  KEY `document_annotations_type_index` (`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `donationorders`
--

CREATE TABLE IF NOT EXISTS `donationorders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `is_anonymous` int NOT NULL DEFAULT '0',
  `data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` int NOT NULL DEFAULT '1',
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `donor_id` bigint UNSIGNED DEFAULT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `donation_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `donationorders_donor_id_foreign` (`donor_id`),
  KEY `donationorders_user_id_foreign` (`user_id`),
  KEY `donationorders_gateway_id_foreign` (`gateway_id`),
  KEY `donationorders_currency_id_foreign` (`currency_id`),
  KEY `donationorders_donation_id_foreign` (`donation_id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `donationorders`
--

INSERT INTO `donationorders` (`id`, `invoice_no`, `trx`, `amount`, `charge`, `rate`, `is_anonymous`, `data`, `status`, `name`, `email`, `donor_id`, `user_id`, `gateway_id`, `currency_id`, `donation_id`, `created_at`, `updated_at`) VALUES
(1, '0000001', 'pay_PzztC56kHy44C4', 960, 40, 1, 0, NULL, 1, 'Prem Kumar', 'prem_cse@msn.com', NULL, 3, 5, 5, 1, '2025-02-25 15:44:45', '2025-02-25 15:44:45'),
(4, '0000004', 'pay_Q01mIWOXOAfLrz', 288, 12, 1, 0, NULL, 1, 'Aneesh Ashok', 'prem@dataaegis.com', NULL, 3, 5, 5, 1, '2025-02-25 17:35:35', '2025-02-25 17:35:35'),
(5, '0000005', NULL, 960, 40, 1, 0, NULL, 1, 'vikas', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-09 12:16:31', '2025-03-09 12:16:31'),
(6, '0000006', NULL, 960, 40, 1, 0, NULL, 1, 'vikas', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-09 12:22:28', '2025-03-09 12:22:28'),
(7, '0000007', NULL, 960, 40, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-09 15:32:33', '2025-03-09 15:32:33'),
(8, '0000008', NULL, 960, 40, 1, 0, NULL, 1, 'prasnana', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-09 15:33:47', '2025-03-09 15:33:47'),
(9, '0000009', NULL, 960, 40, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 06:52:43', '2025-03-10 06:52:43'),
(10, '0000010', NULL, 960, 40, 1, 0, NULL, 1, 'prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 06:55:48', '2025-03-10 06:55:48'),
(11, '0000011', NULL, 96, 4, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:12:21', '2025-03-10 07:12:21'),
(12, '0000012', NULL, 48, 2, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:13:34', '2025-03-10 07:13:34'),
(13, '0000013', NULL, 48, 2, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:28:52', '2025-03-10 07:28:52'),
(14, '0000014', NULL, 48, 2, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:33:11', '2025-03-10 07:33:11'),
(15, '0000015', NULL, 48, 2, 1, 0, NULL, 1, 'prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:40:06', '2025-03-10 07:40:06'),
(16, '0000016', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 07:50:42', '2025-03-10 07:50:42'),
(17, '0000017', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 09:59:15', '2025-03-10 09:59:15'),
(18, '0000018', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 10:05:15', '2025-03-10 10:05:15'),
(19, '0000019', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 10:15:55', '2025-03-10 10:15:55'),
(20, '0000020', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Arpitha', 'arpitha@dataaegis.com', NULL, 3, 15, 5, 1, '2025-03-10 10:21:40', '2025-03-10 10:21:40'),
(21, '0000021', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 10:22:45', '2025-03-10 10:22:45'),
(22, '0000022', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 11:44:15', '2025-03-10 11:44:15'),
(23, '0000023', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'Prasanna', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 11:50:59', '2025-03-10 11:50:59'),
(24, '0000024', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'vikas', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-10 12:01:30', '2025-03-10 12:01:30'),
(25, '0000025', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'vikas', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-11 05:45:16', '2025-03-11 05:45:16'),
(26, '0000026', NULL, 1.92, 0.08, 1, 0, NULL, 1, 'vikas', 'prasanna2124@gmail.com', NULL, 3, 15, 5, 1, '2025-03-11 05:49:19', '2025-03-11 05:49:19'),
(27, '0000027', NULL, 96, 4, 1, 0, NULL, 1, 'Satish', 'satish@dataaegis.com', NULL, 3, 15, 5, 1, '2025-03-13 06:38:13', '2025-03-13 06:38:13');

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

--
-- Table structure for table `donations`
--

CREATE TABLE IF NOT EXISTS `donations` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `donations_uuid_unique` (`uuid`),
  KEY `donations_user_id_foreign` (`user_id`),
  KEY `donations_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `donations`
--

INSERT INTO `donations` (`id`, `uuid`, `user_id`, `currency_id`, `title`, `amount`, `image`, `description`, `status`, `created_at`, `updated_at`) VALUES
(1, 'aad45467-2b4a-4c88-87cf-cfe1abcb7c4a', 3, 5, 'Child Education', 100000, 'uploads/3/25/02/1740498477.jpeg', 'Empower a Child\'s Future Through Education\r\n\r\nAbout Us\r\nEducation is the key to a brighter future, yet millions of children worldwide lack access to quality learning opportunities due to financial constraints. Our \r\nChild Education Donation Portal is dedicated to bridging this gap by connecting generous donors with children in need, ensuring they receive the education they deserve.\r\nOur Mission\r\nWe believe that every child, regardless of their background, deserves a chance to learn, grow, and achieve their dreams. Our mission is to eliminate financial barriers and provide essential resources such as tuition fees, books, uniforms, and digital learning tools to underprivileged students.\r\n\r\n### How It Works\r\n1. **Donate** – Choose a child or a general fund to contribute to.\r\n2. **Track Progress** – Receive updates on how your donation is making an impact.\r\n3. **Spread the Word** – Encourage others to join the cause and support a child’s education.\r\n\r\n### Why Donate?\r\n- **Transform Lives**: Your contribution directly supports a child\'s educational journey.\r\n- **Transparency & Trust**: We ensure that every donation is used effectively and provide progress reports.\r\n- **Tax Benefits**: Donations may be eligible for tax deductions as per local regulations.\r\n\r\n### Get Involved\r\n- **Sponsor a Child** – Support a specific child’s education journey.\r\n- **One-Time or Recurring Donations** – Contribute as per your convenience.\r\n- **Corporate Sponsorships** – Partner with us to make a large-scale impact.\r\n\r\n### Join Us in Making a Difference\r\nYour support can change a child\'s life forever. Help us create a world where education is a right, not a privilege.\r\n\r\n**Donate Today and Be the Light in a Child’s Future!**', 1, '2025-02-25 15:41:35', '2025-03-01 18:01:42'),
(2, '9b7ebb60-7a00-4e88-a9c8-af1aa6574186', 3, 5, 'Kids Health', 50000, 'uploads/3/25/03/1741847772.jpeg', 'This is for create kids inneed', 1, '2025-03-13 06:36:12', '2025-03-13 06:36:12');

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

--
-- Table structure for table `events`
--

CREATE TABLE IF NOT EXISTS `events` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `event_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `event_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `start_time` datetime NOT NULL,
  `end_time` datetime NOT NULL,
  `venue_id` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `category_id` bigint UNSIGNED DEFAULT NULL,
  `image_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fk_events_category` (`category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `events`
--

INSERT INTO `events` (`id`, `event_name`, `event_description`, `start_time`, `end_time`, `venue_id`, `created_at`, `updated_at`, `category_id`, `image_url`) VALUES
(1, 'Demo', 'Demo App', '2025-02-28 20:50:00', '2025-03-31 20:50:00', 1, '2025-02-28 15:21:19', '2025-03-13 06:50:09', 1, 'https://r2imghtlak.mmtcdn.com/r2-mmt-htl-image/htl-imgs/20110515150723274-2cdfad6efb4911eb860f0a58a9feac02.jpg');

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

--
-- Table structure for table `event_categories`
--

CREATE TABLE IF NOT EXISTS `event_categories` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `category_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `event_categories`
--

INSERT INTO `event_categories` (`id`, `category_name`, `created_at`, `updated_at`) VALUES
(1, 'Seminar', '2025-02-28 15:19:01', '2025-02-28 15:19:01');

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

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE IF NOT EXISTS `failed_jobs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `gateways`
--

CREATE TABLE IF NOT EXISTS `gateways` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `logo` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `charge` double NOT NULL DEFAULT '0',
  `namespace` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `min_amount` double NOT NULL DEFAULT '1',
  `max_amount` double NOT NULL DEFAULT '1000',
  `is_auto` int NOT NULL DEFAULT '0',
  `image_accept` int DEFAULT NULL,
  `test_mode` int NOT NULL DEFAULT '0',
  `status` int NOT NULL DEFAULT '1',
  `phone_required` int NOT NULL DEFAULT '0',
  `data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `gateways_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `gateways`
--

INSERT INTO `gateways` (`id`, `name`, `logo`, `charge`, `namespace`, `min_amount`, `max_amount`, `is_auto`, `image_accept`, `test_mode`, `status`, `phone_required`, `data`, `currency_id`, `created_at`, `updated_at`) VALUES
(1, 'paypal', '/epay/uploads/payment-gateway/paypal.png', 2, 'App\\Lib\\Paypal', 1, 1000, 1, 0, 1, 0, 0, '{\"client_id\":\"\",\"client_secret\":\"\"}', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(2, 'stripe', '/epay/uploads/payment-gateway/stripe.png', 2, 'App\\Lib\\Stripe', 1, 1000, 1, 0, 1, 0, 0, '{\"publishable_key\":\"\",\"secret_key\":\"\"}', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(3, 'mollie', '/epay/uploads/payment-gateway/mollie.png', 2, 'App\\Lib\\Mollie', 1, 1000, 1, 0, 1, 0, 0, '{\"api_key\":\"\"}', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(4, 'paystack', '/epay/uploads/payment-gateway/paystack.png', 2, 'App\\Lib\\Paystack', 1, 1000, 1, 0, 1, 0, 0, '{\"public_key\":\"\",\"secret_key\":\"\"}', 5, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(5, 'razorpay', '/epay/uploads/payment-gateway/rajorpay.png', 0, 'App\\Lib\\Razorpay', 1, 1000, 1, NULL, 1, 0, 0, '{\"key_id\":\"rzp_test_UAD3ca1zq0I4qM\",\"key_secret\":\"LXBs7qHYBec5WPodoSv98SWg\"}', 4, '2025-02-03 05:03:13', '2025-02-14 08:11:43'),
(6, 'instamojo', '/epay/uploads/payment-gateway/instamojo.png', 2, 'App\\Lib\\Instamojo', 1, 1000, 1, 0, 1, 0, 1, '{\"x_api_key\":\"\",\"x_auth_token\":\"\"}', 4, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(7, 'toyyibpay', '/epay/uploads/payment-gateway/toyybipay.png', 2, 'App\\Lib\\Toyyibpay', 1, 1000, 1, 0, 1, 0, 1, '{\"user_secret_key\":\"\",\"cateogry_code\":\"\"}', 6, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(8, 'flutterwave', '/epay/uploads/payment-gateway/flutterwave.png', 2, 'App\\Lib\\Flutterwave', 1, 1000, 1, 0, 1, 0, 1, '{\"public_key\":\"\",\"secret_key\":\"\",\"encryption_key\":\"FLWSECK_TEST498417c2cc01\",\"payment_options\":\"card\"}', 5, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(9, 'payu', '/epay/uploads/payment-gateway/payu.png', 2, 'App\\Lib\\Payu', 1, 1000, 1, 0, 1, 0, 1, '{\"merchant_key\":\"\",\"merchant_salt\":\"\",\"auth_header\":\"\"}', 4, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(10, 'thawani', '/epay/uploads/payment-gateway/uhawan.png', 1, 'App\\Lib\\Thawani', 1, 1000, 1, 0, 1, 0, 1, '{\"secret_key\":\"\",\"publishable_key\":\"\"}', 7, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(11, 'mercadopago', '/epay/uploads/payment-gateway/mercado-pago.png', 2, 'App\\Lib\\Mercado', 1, 1000, 1, 0, 1, 0, 0, '{\"secret_key\":\"\",\"public_key\":\"\"}', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(12, 'manual', '/epay/uploads/payment-gateway/manual.png', 1, 'App\\Lib\\CustomGateway', 1, 1000, 0, 1, 1, 0, 0, '', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(13, 'From Wallet', '/epay/uploads/payment-gateway/mycredit.png', 0, 'App\\Lib\\Credit', 1, 1000, 1, 0, 0, 0, 0, '', 1, '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(14, 'worldline', '/epay/uploads/payment-gateway/worldline.png', 0, 'App\\Lib\\Worldline', 1, 100000, 1, NULL, 1, 1, 0, '{\"merchant_key\":\"T206030\",\"secret_key\":\"3976262521OAOQBJ\",\"encryption_key\":\"3976262521OAOQBJ\"}', 4, '2025-02-25 17:26:53', '2025-03-04 15:50:09'),
(15, 'momentPay', 'https://omnipe.com/uploads/omnipe/25/03/67c981015e44b0603251741259009.png', 0, 'App\\Lib\\Momentpay', 1, 100000, 1, NULL, 1, 1, 0, '{\"merchant_key\":\"T206030\",\"secret_key\":\"3976262521OAOQBJ\",\"encryption_key\":\"3976262521OAOQBJ\"}', 4, '2025-03-06 11:03:29', '2025-03-17 06:16:29');

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

--
-- Table structure for table `invoices`
--

CREATE TABLE IF NOT EXISTS `invoices` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `tax` double DEFAULT NULL,
  `discount` double DEFAULT NULL,
  `total` double DEFAULT NULL,
  `customer_email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `paid_at` timestamp NULL DEFAULT NULL,
  `is_paid` tinyint(1) NOT NULL DEFAULT '0',
  `is_sent` tinyint(1) NOT NULL DEFAULT '0',
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `owner_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `invoices_uuid_unique` (`uuid`),
  KEY `invoices_owner_id_foreign` (`owner_id`),
  KEY `invoices_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoices`
--

INSERT INTO `invoices` (`id`, `uuid`, `invoice_no`, `trx`, `charge`, `rate`, `tax`, `discount`, `total`, `customer_email`, `due_date`, `note`, `paid_at`, `is_paid`, `is_sent`, `name`, `email`, `owner_id`, `currency_id`, `created_at`, `updated_at`) VALUES
(1, 'a5fd71ee-8ad1-46a9-85a9-8a5de61a28dd', '987755', 'pay_Pzy59NPY6g3mqz', 18, 1, NULL, NULL, 900, 'prem_cse@msn.com', '2025-02-28', 'Please pay as expected', '2025-02-25 13:58:41', 1, 0, 'Prem Kumar', 'prem_cse@msn.com', 3, 5, '2025-02-25 13:47:06', '2025-02-25 13:58:41'),
(2, '8aed54b4-fd74-455d-8ab5-1209aa8a0f8c', '9877552', NULL, NULL, NULL, NULL, NULL, 500, 'prem_cse@msn.com', '2025-03-31', 'Please pay asap', NULL, 0, 0, NULL, NULL, 3, 5, '2025-03-02 06:09:36', '2025-03-02 06:10:10');

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

--
-- Table structure for table `invoice_items`
--

CREATE TABLE IF NOT EXISTS `invoice_items` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `invoice_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` double NOT NULL,
  `quantity` int NOT NULL DEFAULT '1',
  `subtotal` double DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `invoice_items_invoice_id_foreign` (`invoice_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invoice_items`
--

INSERT INTO `invoice_items` (`id`, `invoice_id`, `name`, `amount`, `quantity`, `subtotal`, `created_at`, `updated_at`) VALUES
(1, 1, 'Product Nemo', 900, 1, 900, '2025-02-25 13:47:06', '2025-02-25 13:47:06'),
(5, 2, 'Product-2', 100, 1, 100, '2025-03-02 06:10:10', '2025-03-02 06:10:10');

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

--
-- Table structure for table `jobs`
--

CREATE TABLE IF NOT EXISTS `jobs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint UNSIGNED NOT NULL,
  `reserved_at` int UNSIGNED DEFAULT NULL,
  `available_at` int UNSIGNED NOT NULL,
  `created_at` int UNSIGNED NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `kyc_methods`
--

CREATE TABLE IF NOT EXISTS `kyc_methods` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image_accept` tinyint(1) NOT NULL,
  `status` tinyint NOT NULL,
  `fields` json DEFAULT NULL,
  `step` tinyint UNSIGNED NOT NULL DEFAULT '2',
  `onboarding_type` enum('user','admin') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'user' COMMENT 'user=self-onboarding, admin=admin-managed onboarding',
  `conditional_logic_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `conditional_rules` json DEFAULT NULL,
  `field_validation_rules` json DEFAULT NULL,
  `ocr_enabled` tinyint(1) NOT NULL DEFAULT '0',
  `ocr_config` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `kyc_methods`
--

INSERT INTO `kyc_methods` (`id`, `title`, `image`, `image_accept`, `status`, `fields`, `step`, `onboarding_type`, `conditional_logic_enabled`, `conditional_rules`, `field_validation_rules`, `ocr_enabled`, `ocr_config`, `created_at`, `updated_at`) VALUES
(1, 'Identity Proof', 'http://localhost/epay_gw/uploads/1/25/05/6839c94ea57e53005251748617550.png', 1, 1, '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', 2, 'user', 0, NULL, NULL, 0, NULL, '2025-03-20 23:24:27', '2025-05-30 10:34:28'),
(2, 'Business Details', 'http://localhost/epay_gw/uploads/1/25/05/68395e37472963005251748590135.jpg', 1, 1, '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', 1, 'user', 0, NULL, NULL, 0, NULL, '2025-05-30 02:00:58', '2025-05-31 09:56:33'),
(4, 'Additional Information', 'http://localhost/epay_gw/uploads/1/25/05/6839dce0748643005251748622560.png', 1, 1, '[{\"type\": \"number\", \"label\": \"No Of Partners\"}, {\"type\": \"textarea\", \"label\": \"Partners Information\"}, {\"type\": \"textarea\", \"label\": \"Partner Address\"}]', 4, 'user', 0, NULL, NULL, 0, NULL, '2025-05-30 11:00:09', '2025-05-30 11:00:09'),
(5, 'Bank Steps', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', 3, 'user', 0, NULL, NULL, 0, NULL, '2025-05-30 11:54:17', '2025-05-30 11:54:17'),
(6, 'Signing', 'http://localhost/epay_gw/uploads/1/25/05/6839dce0748643005251748622560.png', 1, 1, '[{\"type\": \"file\", \"label\": \"Contracts\"}]', 5, 'user', 0, NULL, NULL, 0, NULL, '2025-06-14 06:35:25', '2025-06-14 11:37:11'),
(7, 'Initial Document Upload', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 1, 1, '[{\"type\": \"file\", \"label\": \"Copy of Trade License\"}, {\"type\": \"file\", \"label\": \"VAT Certificate (If Applicable)\"}, {\"type\": \"file\", \"label\": \"Passport, Visa, and Emirates ID (Authorized Signatory)\"}, {\"type\": \"file\", \"label\": \"Last 6 Months Bank Statement or Bank Letter\"}, {\"type\": \"file\", \"label\": \"Articles of Association (AOA) or MOA\"}, {\"type\": \"file\", \"label\": \"Passport, Visa, and Emirates ID (Shareholders)\"}, {\"type\": \"file\", \"label\": \"Notarized Power of Attorney\"}, {\"type\": \"file\", \"label\": \"E-Commerce Collateral/Security Deposit Proof\"}]', 1, 'admin', 0, NULL, NULL, 0, NULL, '2025-07-10 17:39:03', '2025-08-14 03:26:00'),
(8, 'Business Information', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"type\": \"text\", \"label\": \"Merchant\'s Legal Name\"}, {\"type\": \"text\", \"label\": \"Doing Business As\"}, {\"type\": \"text\", \"label\": \"Type of Entity\"}, {\"type\": \"text\", \"label\": \"Country of Incorporation\"}, {\"type\": \"text\", \"label\": \"Trade License Number\"}, {\"type\": \"text\", \"label\": \"Trade License Expiry Date\"}, {\"type\": \"text\", \"label\": \"Tax Registration Number\"}]', 4, 'admin', 0, NULL, NULL, 0, NULL, '2025-07-10 17:49:53', '2025-08-14 03:27:05'),
(9, 'Registered Address', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"type\": \"text\", \"label\": \"Street Name\"}, {\"type\": \"text\", \"label\": \"P.O. Box\"}, {\"type\": \"text\", \"label\": \"Emirate\"}, {\"type\": \"text\", \"label\": \"Telephone No.\"}, {\"type\": \"text\", \"label\": \"Website (if any)\"}]', 5, 'admin', 0, NULL, NULL, 0, NULL, '2025-07-10 17:51:23', '2025-08-14 03:26:41'),
(10, 'Authorized Signatory Details', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"type\": \"text\", \"label\": \"Name\"}, {\"type\": \"text\", \"label\": \"Designation\"}, {\"type\": \"text\", \"label\": \"Mobile No.\"}, {\"type\": \"text\", \"label\": \"Email ID\"}, {\"type\": \"text\", \"label\": \"POA Applicable\"}, {\"type\": \"text\", \"label\": \"Passport No.\"}, {\"type\": \"text\", \"label\": \"Emirates ID\"}, {\"type\": \"text\", \"label\": \"Date of Birth\"}, {\"type\": \"text\", \"label\": \"Nationality\"}]', 6, 'admin', 0, NULL, NULL, 0, NULL, '2025-07-10 17:52:26', '2025-08-14 03:27:29'),
(11, 'Contact Person', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 0, '[{\"type\": \"text\", \"label\": \"Same as Authorized Signatory\"}, {\"type\": \"text\", \"label\": \"Name\"}, {\"type\": \"text\", \"label\": \"Designation\"}, {\"type\": \"text\", \"label\": \"Mobile No.\"}, {\"type\": \"text\", \"label\": \"Email ID\"}]', 5, 'admin', 0, NULL, NULL, 0, NULL, '2025-07-10 17:54:02', '2025-08-14 03:27:46'),
(12, 'Business Profile', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"name\": \"type_of_business_category\", \"type\": \"text\", \"label\": \"Type of Business Category\", \"required\": \"0\"}, {\"name\": \"business_subcategory\", \"type\": \"text\", \"label\": \"Business Sub-Category\", \"required\": \"0\"}, {\"name\": \"years_in_business\", \"type\": \"text\", \"label\": \"Years in Business\", \"required\": \"0\"}, {\"name\": \"annual_turnover\", \"type\": \"text\", \"label\": \"Annual Turnover\", \"required\": \"0\"}, {\"name\": \"no_of_employees\", \"type\": \"number\", \"label\": \"No. of Employees\", \"required\": \"0\"}, {\"name\": \"no_of_stores\", \"type\": \"number\", \"label\": \"No. of Stores\", \"required\": \"0\"}, {\"name\": \"store_address_same_as_registered\", \"type\": \"text\", \"label\": \"Store Address Same as Registered?\", \"required\": \"0\"}, {\"name\": \"average_transaction_amount_aed\", \"type\": \"number\", \"label\": \"Average Transaction Amount (AED)\", \"required\": \"0\"}]', 2, 'admin', 0, NULL, '{\"no_of_stores\": [\"numeric\"], \"no_of_employees\": [\"numeric\"], \"average_transaction_amount_aed\": [\"numeric\"]}', 0, '[]', '2025-07-10 17:54:57', '2025-08-18 11:46:48'),
(13, 'Bank Account for Settlement', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"name\": \"account_number\", \"type\": \"text\", \"label\": \"Account Number\", \"required\": \"0\"}, {\"name\": \"iban\", \"type\": \"text\", \"label\": \"IBAN\", \"required\": \"0\"}, {\"name\": \"bank_name\", \"type\": \"text\", \"label\": \"Bank Name\", \"required\": \"0\"}, {\"name\": \"bank_name\", \"type\": \"text\", \"label\": \"Bank Name\", \"required\": \"0\"}, {\"name\": \"account_type\", \"type\": \"select\", \"label\": \"Account type\", \"options\": [{\"label\": \"Saving\", \"value\": \"saving\"}, {\"label\": \"Current\", \"value\": \"current\"}], \"required\": \"0\"}]', 3, 'admin', 0, NULL, '[]', 0, '[]', '2025-07-10 17:56:00', '2025-08-18 11:55:16'),
(14, 'Business Registration (Conditional)', 'uploads/default.png', 1, 1, '[{\"name\": \"business_type\", \"type\": \"select\", \"label\": \"Business Type\", \"options\": [{\"label\": \"Individual\", \"value\": \"individual\"}, {\"label\": \"Partnership\", \"value\": \"partnership\"}, {\"label\": \"Corporation\", \"value\": \"corporation\"}, {\"label\": \"LLC\", \"value\": \"llc\"}], \"required\": true}, {\"name\": \"business_name\", \"type\": \"text\", \"label\": \"Business Name\", \"required\": true}, {\"name\": \"individual_name\", \"type\": \"text\", \"label\": \"Individual Full Name\", \"required\": true}, {\"name\": \"partnership_agreement\", \"type\": \"file\", \"label\": \"Partnership Agreement\", \"required\": true}, {\"name\": \"articles_incorporation\", \"type\": \"file\", \"label\": \"Articles of Incorporation\", \"required\": true}, {\"name\": \"operating_agreement\", \"type\": \"file\", \"label\": \"Operating Agreement\", \"required\": true}, {\"name\": \"partner_count\", \"type\": \"number\", \"label\": \"Number of Partners\", \"required\": true}, {\"name\": \"annual_revenue\", \"type\": \"select\", \"label\": \"Annual Revenue\", \"options\": [{\"label\": \"Under $100K\", \"value\": \"under_100k\"}, {\"label\": \"$100K - $500K\", \"value\": \"100k_500k\"}, {\"label\": \"$500K - $1M\", \"value\": \"500k_1m\"}, {\"label\": \"Over $1M\", \"value\": \"over_1m\"}], \"required\": true}, {\"name\": \"financial_statements\", \"type\": \"file\", \"label\": \"Financial Statements\", \"required\": true}]', 1, 'user', 1, '[{\"condition\": {\"field\": \"business_type\", \"value\": \"individual\", \"operator\": \"equals\"}, \"target_field\": \"individual_name\"}, {\"condition\": {\"field\": \"business_type\", \"value\": \"partnership\", \"operator\": \"equals\"}, \"target_field\": \"partnership_agreement\"}, {\"condition\": {\"field\": \"business_type\", \"value\": \"partnership\", \"operator\": \"equals\"}, \"target_field\": \"partner_count\"}, {\"condition\": {\"field\": \"business_type\", \"value\": \"corporation\", \"operator\": \"equals\"}, \"target_field\": \"articles_incorporation\"}, {\"condition\": {\"field\": \"business_type\", \"value\": \"llc\", \"operator\": \"equals\"}, \"target_field\": \"operating_agreement\"}, {\"condition\": {\"field\": \"annual_revenue\", \"value\": [\"500k_1m\", \"over_1m\"], \"operator\": \"in_array\"}, \"target_field\": \"financial_statements\"}]', '{\"business_name\": [\"required\", \"string\", \"max:255\"], \"business_type\": [\"required\", \"in:individual,partnership,corporation,llc\"], \"partner_count\": [\"required_if:business_type,partnership\", \"numeric\", \"min:2\"], \"annual_revenue\": [\"required\", \"in:under_100k,100k_500k,500k_1m,over_1m\"], \"individual_name\": [\"required_if:business_type,individual\", \"string\", \"max:255\"], \"operating_agreement\": [\"required_if:business_type,llc\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"], \"financial_statements\": [\"required_if:annual_revenue,500k_1m,over_1m\", \"file\", \"mimes:pdf,xlsx,xls\", \"max:20480\"], \"partnership_agreement\": [\"required_if:business_type,partnership\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"], \"articles_incorporation\": [\"required_if:business_type,corporation\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"]}', 0, NULL, '2025-08-17 04:30:18', '2025-08-17 04:30:18'),
(15, 'Customer Profile (Age-Based)', 'uploads/default.png', 1, 1, '[{\"name\": \"date_of_birth\", \"type\": \"date\", \"label\": \"Date of Birth\", \"required\": true}, {\"name\": \"age\", \"type\": \"number\", \"label\": \"Age\", \"required\": true}, {\"name\": \"employment_status\", \"type\": \"select\", \"label\": \"Employment Status\", \"options\": [{\"label\": \"Student\", \"value\": \"student\"}, {\"label\": \"Employed\", \"value\": \"employed\"}, {\"label\": \"Self-Employed\", \"value\": \"self_employed\"}, {\"label\": \"Retired\", \"value\": \"retired\"}, {\"label\": \"Unemployed\", \"value\": \"unemployed\"}], \"required\": true}, {\"name\": \"student_id\", \"type\": \"file\", \"label\": \"Student ID\", \"required\": true}, {\"name\": \"school_name\", \"type\": \"text\", \"label\": \"School Name\", \"required\": true}, {\"name\": \"guardian_contact\", \"type\": \"tel\", \"label\": \"Parent/Guardian Contact\", \"required\": true}, {\"name\": \"employment_certificate\", \"type\": \"file\", \"label\": \"Employment Certificate\", \"required\": true}, {\"name\": \"salary_slip\", \"type\": \"file\", \"label\": \"Salary Slip\", \"required\": true}, {\"name\": \"pension_documents\", \"type\": \"file\", \"label\": \"Pension Documents\", \"required\": true}]', 2, 'user', 1, '[{\"condition\": {\"field\": \"age\", \"value\": \"18\", \"operator\": \"less_than\"}, \"target_field\": \"guardian_contact\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"student\", \"operator\": \"equals\"}, \"target_field\": \"student_id\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"student\", \"operator\": \"equals\"}, \"target_field\": \"school_name\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": [\"employed\", \"self_employed\"], \"operator\": \"in_array\"}, \"target_field\": \"employment_certificate\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"employed\", \"operator\": \"equals\"}, \"target_field\": \"salary_slip\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"retired\", \"operator\": \"equals\"}, \"target_field\": \"pension_documents\"}]', '{\"age\": [\"required\", \"numeric\", \"min:16\", \"max:120\"], \"student_id\": [\"required_if:employment_status,student\", \"file\", \"mimes:jpg,jpeg,png,pdf\", \"max:5120\"], \"salary_slip\": [\"required_if:employment_status,employed\", \"file\", \"mimes:pdf,jpg,jpeg,png\", \"max:5120\"], \"school_name\": [\"required_if:employment_status,student\", \"string\", \"max:255\"], \"date_of_birth\": [\"required\", \"date\", \"before:today\"], \"guardian_contact\": [\"required_if:age,<,18\", \"string\", \"regex:/^[+]?[0-9\\\\s\\\\-\\\\(\\\\)]+$/\"], \"employment_status\": [\"required\", \"in:student,employed,self_employed,retired,unemployed\"], \"pension_documents\": [\"required_if:employment_status,retired\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"], \"employment_certificate\": [\"required_if:employment_status,employed,self_employed\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"]}', 0, NULL, '2025-08-17 04:30:18', '2025-08-17 04:30:18'),
(16, 'Contact Preferences', 'uploads/default.png', 0, 1, '[{\"name\": \"contact_method\", \"type\": \"radio\", \"label\": \"Preferred Contact Method\", \"options\": [{\"label\": \"Email\", \"value\": \"email\"}, {\"label\": \"Phone\", \"value\": \"phone\"}, {\"label\": \"Both\", \"value\": \"both\"}], \"required\": true}, {\"name\": \"email_address\", \"type\": \"email\", \"label\": \"Email Address\", \"required\": true}, {\"name\": \"phone_number\", \"type\": \"tel\", \"label\": \"Phone Number\", \"required\": true}, {\"name\": \"call_time\", \"type\": \"select\", \"label\": \"Best Time to Call\", \"options\": [{\"label\": \"Morning (9AM-12PM)\", \"value\": \"morning\"}, {\"label\": \"Afternoon (12PM-5PM)\", \"value\": \"afternoon\"}, {\"label\": \"Evening (5PM-8PM)\", \"value\": \"evening\"}], \"required\": true}]', 3, 'user', 1, '[{\"condition\": {\"field\": \"contact_method\", \"value\": [\"email\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"email_address\"}, {\"condition\": {\"field\": \"contact_method\", \"value\": [\"phone\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"phone_number\"}, {\"condition\": {\"field\": \"contact_method\", \"value\": [\"phone\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"call_time\"}]', '{\"call_time\": [\"required_if:contact_method,phone,both\", \"in:morning,afternoon,evening\"], \"phone_number\": [\"required_if:contact_method,phone,both\", \"string\", \"regex:/^[+]?[0-9\\\\s\\\\-\\\\(\\\\)]+$/\"], \"email_address\": [\"required_if:contact_method,email,both\", \"email\"], \"contact_method\": [\"required\", \"in:email,phone,both\"]}', 0, NULL, '2025-08-17 04:30:18', '2025-08-17 04:30:18'),
(17, 'Business Registration (Conditional)', 'uploads/default.png', 1, 1, '[{\"name\": \"business_type\", \"type\": \"select\", \"label\": \"Business Type\", \"options\": [{\"label\": \"Individual\", \"value\": \"individual\"}, {\"label\": \"Partnership\", \"value\": \"partnership\"}, {\"label\": \"Corporation\", \"value\": \"corporation\"}, {\"label\": \"LLC\", \"value\": \"llc\"}]}, {\"name\": \"business_name\", \"type\": \"text\", \"label\": \"Business Name\"}, {\"name\": \"individual_name\", \"type\": \"text\", \"label\": \"Individual Full Name\"}, {\"name\": \"partnership_agreement\", \"type\": \"file\", \"label\": \"Partnership Agreement\"}, {\"name\": \"articles_incorporation\", \"type\": \"file\", \"label\": \"Articles of Incorporation\"}, {\"name\": \"operating_agreement\", \"type\": \"file\", \"label\": \"Operating Agreement\"}, {\"name\": \"partner_count\", \"type\": \"number\", \"label\": \"Number of Partners\"}, {\"name\": \"annual_revenue\", \"type\": \"select\", \"label\": \"Annual Revenue\", \"options\": [{\"label\": \"Under $100K\", \"value\": \"under_100k\"}, {\"label\": \"$100K - $500K\", \"value\": \"100k_500k\"}, {\"label\": \"$500K - $1M\", \"value\": \"500k_1m\"}, {\"label\": \"Over $1M\", \"value\": \"over_1m\"}]}, {\"name\": \"financial_statements\", \"type\": \"file\", \"label\": \"Financial Statements\"}]', 1, 'user', 1, NULL, '{\"partner_count\": [\"numeric\"], \"operating_agreement\": [\"file\", \"max:10240\"], \"financial_statements\": [\"file\", \"max:10240\"], \"partnership_agreement\": [\"file\", \"max:10240\"], \"articles_incorporation\": [\"file\", \"max:10240\"]}', 0, '[]', '2025-08-17 04:30:43', '2025-08-18 10:52:33'),
(18, 'Customer Profile (Age-Based)', 'uploads/default.png', 1, 1, '[{\"name\": \"date_of_birth\", \"type\": \"date\", \"label\": \"Date of Birth\", \"required\": true}, {\"name\": \"age\", \"type\": \"number\", \"label\": \"Age\", \"required\": true}, {\"name\": \"employment_status\", \"type\": \"select\", \"label\": \"Employment Status\", \"options\": [{\"label\": \"Student\", \"value\": \"student\"}, {\"label\": \"Employed\", \"value\": \"employed\"}, {\"label\": \"Self-Employed\", \"value\": \"self_employed\"}, {\"label\": \"Retired\", \"value\": \"retired\"}, {\"label\": \"Unemployed\", \"value\": \"unemployed\"}], \"required\": true}, {\"name\": \"student_id\", \"type\": \"file\", \"label\": \"Student ID\", \"required\": true}, {\"name\": \"school_name\", \"type\": \"text\", \"label\": \"School Name\", \"required\": true}, {\"name\": \"guardian_contact\", \"type\": \"tel\", \"label\": \"Parent/Guardian Contact\", \"required\": true}, {\"name\": \"employment_certificate\", \"type\": \"file\", \"label\": \"Employment Certificate\", \"required\": true}, {\"name\": \"salary_slip\", \"type\": \"file\", \"label\": \"Salary Slip\", \"required\": true}, {\"name\": \"pension_documents\", \"type\": \"file\", \"label\": \"Pension Documents\", \"required\": true}]', 2, 'user', 1, '[{\"condition\": {\"field\": \"age\", \"value\": \"18\", \"operator\": \"less_than\"}, \"target_field\": \"guardian_contact\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"student\", \"operator\": \"equals\"}, \"target_field\": \"student_id\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"student\", \"operator\": \"equals\"}, \"target_field\": \"school_name\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": [\"employed\", \"self_employed\"], \"operator\": \"in_array\"}, \"target_field\": \"employment_certificate\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"employed\", \"operator\": \"equals\"}, \"target_field\": \"salary_slip\"}, {\"condition\": {\"field\": \"employment_status\", \"value\": \"retired\", \"operator\": \"equals\"}, \"target_field\": \"pension_documents\"}]', '{\"age\": [\"required\", \"numeric\", \"min:16\", \"max:120\"], \"student_id\": [\"required_if:employment_status,student\", \"file\", \"mimes:jpg,jpeg,png,pdf\", \"max:5120\"], \"salary_slip\": [\"required_if:employment_status,employed\", \"file\", \"mimes:pdf,jpg,jpeg,png\", \"max:5120\"], \"school_name\": [\"required_if:employment_status,student\", \"string\", \"max:255\"], \"date_of_birth\": [\"required\", \"date\", \"before:today\"], \"guardian_contact\": [\"required_if:age,<,18\", \"string\", \"regex:/^[+]?[0-9\\\\s\\\\-\\\\(\\\\)]+$/\"], \"employment_status\": [\"required\", \"in:student,employed,self_employed,retired,unemployed\"], \"pension_documents\": [\"required_if:employment_status,retired\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"], \"employment_certificate\": [\"required_if:employment_status,employed,self_employed\", \"file\", \"mimes:pdf,doc,docx\", \"max:10240\"]}', 0, NULL, '2025-08-17 04:30:43', '2025-08-17 04:30:43'),
(19, 'Contact Preferences', 'uploads/default.png', 0, 1, '[{\"name\": \"contact_method\", \"type\": \"radio\", \"label\": \"Preferred Contact Method\", \"options\": [{\"label\": \"Email\", \"value\": \"email\"}, {\"label\": \"Phone\", \"value\": \"phone\"}, {\"label\": \"Both\", \"value\": \"both\"}], \"required\": true}, {\"name\": \"email_address\", \"type\": \"email\", \"label\": \"Email Address\", \"required\": true}, {\"name\": \"phone_number\", \"type\": \"tel\", \"label\": \"Phone Number\", \"required\": true}, {\"name\": \"call_time\", \"type\": \"select\", \"label\": \"Best Time to Call\", \"options\": [{\"label\": \"Morning (9AM-12PM)\", \"value\": \"morning\"}, {\"label\": \"Afternoon (12PM-5PM)\", \"value\": \"afternoon\"}, {\"label\": \"Evening (5PM-8PM)\", \"value\": \"evening\"}], \"required\": true}]', 3, 'user', 1, '[{\"condition\": {\"field\": \"contact_method\", \"value\": [\"email\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"email_address\"}, {\"condition\": {\"field\": \"contact_method\", \"value\": [\"phone\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"phone_number\"}, {\"condition\": {\"field\": \"contact_method\", \"value\": [\"phone\", \"both\"], \"operator\": \"in_array\"}, \"target_field\": \"call_time\"}]', '{\"call_time\": [\"required_if:contact_method,phone,both\", \"in:morning,afternoon,evening\"], \"phone_number\": [\"required_if:contact_method,phone,both\", \"string\", \"regex:/^[+]?[0-9\\\\s\\\\-\\\\(\\\\)]+$/\"], \"email_address\": [\"required_if:contact_method,email,both\", \"email\"], \"contact_method\": [\"required\", \"in:email,phone,both\"]}', 0, NULL, '2025-08-17 04:30:43', '2025-08-17 04:30:43'),
(22, 'Lead Form Extend', 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 0, 1, '[{\"name\": \"trade_license_number\", \"type\": \"text\", \"label\": \"Trade License Number\", \"required\": \"0\"}]', 19, 'admin', 0, NULL, '[]', 0, '[]', '2025-08-18 22:16:31', '2025-08-18 22:16:31');

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

--
-- Table structure for table `kyc_method_user`
--

CREATE TABLE IF NOT EXISTS `kyc_method_user` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `kyc_method_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `kyc_request_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `kyc_method_user_kyc_method_id_foreign` (`kyc_method_id`),
  KEY `kyc_method_user_user_id_foreign` (`user_id`),
  KEY `kyc_method_user_kyc_request_id_foreign` (`kyc_request_id`)
) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `kyc_method_user`
--

INSERT INTO `kyc_method_user` (`id`, `kyc_method_id`, `user_id`, `kyc_request_id`, `created_at`, `updated_at`) VALUES
(1, 2, 5, 1, NULL, NULL),
(2, 2, 5, 2, NULL, NULL),
(3, 2, 5, 3, NULL, NULL),
(4, 2, 5, 4, NULL, NULL),
(5, 2, 5, 5, NULL, NULL),
(6, 2, 5, 6, NULL, NULL),
(7, 2, 5, 7, NULL, NULL),
(8, 2, 5, 8, NULL, NULL),
(9, 2, 5, 9, NULL, NULL),
(10, 2, 5, 10, NULL, NULL),
(11, 1, 5, 11, NULL, NULL),
(12, 1, 5, 12, NULL, NULL),
(13, 2, 5, 14, NULL, NULL),
(14, 2, 5, 13, NULL, NULL),
(15, 1, 5, 16, NULL, NULL),
(16, 1, 5, 15, NULL, NULL),
(17, 2, 10, 18, NULL, NULL),
(18, 2, 10, 17, NULL, NULL),
(19, 1, 10, 19, NULL, NULL),
(20, 1, 10, 20, NULL, NULL),
(21, 1, 10, 21, NULL, NULL),
(22, 1, 10, 22, NULL, NULL),
(23, 5, 5, 23, NULL, NULL),
(24, 2, 5, 24, NULL, NULL),
(25, 2, 5, 25, NULL, NULL),
(26, 1, 5, 26, NULL, NULL),
(27, 1, 5, 27, NULL, NULL),
(28, 5, 5, 28, NULL, NULL),
(29, 2, 5, 30, NULL, NULL),
(30, 2, 5, 29, NULL, NULL),
(31, 1, 5, 31, NULL, NULL),
(32, 1, 5, 32, NULL, NULL),
(33, 5, 5, 33, NULL, NULL),
(34, 5, 5, 34, NULL, NULL),
(35, 5, 5, 35, NULL, NULL),
(36, 5, 5, 36, NULL, NULL),
(37, 2, 11, 37, NULL, NULL),
(38, 2, 11, 38, NULL, NULL),
(39, 1, 11, 39, NULL, NULL),
(40, 1, 11, 40, NULL, NULL),
(41, 5, 11, 41, NULL, NULL),
(42, 2, 5, 43, NULL, NULL),
(43, 2, 5, 42, NULL, NULL),
(44, 1, 5, 45, NULL, NULL),
(45, 1, 5, 44, NULL, NULL),
(46, 5, 5, 46, NULL, NULL),
(47, 2, 5, 47, NULL, NULL),
(48, 2, 5, 48, NULL, NULL),
(49, 1, 5, 49, NULL, NULL),
(50, 1, 5, 50, NULL, NULL),
(51, 4, 10, 52, NULL, NULL),
(52, 4, 10, 51, NULL, NULL),
(53, 6, 10, 54, NULL, NULL),
(54, 6, 10, 53, NULL, NULL),
(55, 6, 10, 55, NULL, NULL),
(56, 6, 10, 56, NULL, NULL),
(57, 6, 10, 58, NULL, NULL),
(58, 6, 10, 57, NULL, NULL),
(59, 6, 10, 59, NULL, NULL),
(60, 6, 10, 60, NULL, NULL),
(61, 6, 10, 61, NULL, NULL),
(62, 6, 10, 62, NULL, NULL),
(63, 6, 10, 63, NULL, NULL),
(64, 6, 10, 64, NULL, NULL),
(65, 1, 10, 66, NULL, NULL),
(66, 1, 10, 65, NULL, NULL),
(67, 5, 10, 67, NULL, NULL),
(68, 4, 10, 68, NULL, NULL),
(69, 4, 10, 69, NULL, NULL),
(70, 6, 10, 70, NULL, NULL),
(71, 6, 10, 71, NULL, NULL);

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

--
-- Table structure for table `kyc_requests`
--

CREATE TABLE IF NOT EXISTS `kyc_requests` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `kyc_method_id` bigint UNSIGNED NOT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0 for pending, 1 for approved, 2 for rejected',
  `rejected_at` date DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `data` json DEFAULT NULL,
  `fields` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `kyc_requests_user_id_foreign` (`user_id`),
  KEY `kyc_requests_kyc_method_id_foreign` (`kyc_method_id`)
) ENGINE=InnoDB AUTO_INCREMENT=72 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `kyc_requests`
--

INSERT INTO `kyc_requests` (`id`, `user_id`, `kyc_method_id`, `status`, `rejected_at`, `note`, `comment`, `data`, `fields`, `created_at`, `updated_at`) VALUES
(1, 5, 2, 0, NULL, '909809j', NULL, '{\"AOA\": \"uploads/5/25/05/1748601699.png\", \"MOA\": \"uploads/5/25/05/1748601699.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748601699.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:11:39', '2025-05-30 05:11:39'),
(2, 5, 2, 0, NULL, NULL, NULL, '{\"AOA\": \"uploads/5/25/05/1748602450.png\", \"MOA\": \"uploads/5/25/05/1748602450.png\", \"VAT Number\": \"oioiwwe\", \"Trade License\": \"uploads/5/25/05/1748602450.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:24:10', '2025-05-30 05:24:10'),
(3, 5, 2, 0, NULL, NULL, NULL, '{\"AOA\": \"uploads/5/25/05/1748602786.png\", \"MOA\": \"uploads/5/25/05/1748602786.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748602786.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:29:46', '2025-05-30 05:29:46'),
(4, 5, 2, 0, NULL, NULL, NULL, '{\"AOA\": \"uploads/5/25/05/1748602786.png\", \"MOA\": \"uploads/5/25/05/1748602786.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748602786.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:29:46', '2025-05-30 05:29:46'),
(5, 5, 2, 0, NULL, 'Notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748602911.png\", \"MOA\": \"uploads/5/25/05/1748602911.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748602911.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:31:51', '2025-05-30 05:31:51'),
(6, 5, 2, 0, NULL, 'Notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748602911.png\", \"MOA\": \"uploads/5/25/05/1748602911.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748602911.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:31:51', '2025-05-30 05:31:51'),
(7, 5, 2, 0, NULL, 'Notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748603014.png\", \"MOA\": \"uploads/5/25/05/1748603014.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748603014.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:33:34', '2025-05-30 05:33:34'),
(8, 5, 2, 0, NULL, 'Notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748603014.png\", \"MOA\": \"uploads/5/25/05/1748603014.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748603014.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 05:33:34', '2025-05-30 05:33:34'),
(9, 5, 2, 0, NULL, 'notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748604986.png\", \"MOA\": \"uploads/5/25/05/1748604986.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748604986.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 06:06:26', '2025-05-30 06:06:26'),
(10, 5, 2, 0, NULL, 'notes', NULL, '{\"AOA\": \"uploads/5/25/05/1748604986.png\", \"MOA\": \"uploads/5/25/05/1748604986.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748604986.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 06:06:26', '2025-05-30 06:06:26'),
(11, 5, 1, 0, NULL, NULL, NULL, '{\"ID Card\": \"uploads/5/25/05/1748605018.png\"}', '[{\"type\": \"file\", \"label\": \"ID Card\"}]', '2025-05-30 06:06:58', '2025-05-30 06:06:58'),
(12, 5, 1, 0, NULL, NULL, NULL, '{\"ID Card\": \"uploads/5/25/05/1748605018.png\"}', '[{\"type\": \"file\", \"label\": \"ID Card\"}]', '2025-05-30 06:06:58', '2025-05-30 06:06:58'),
(13, 5, 2, 0, NULL, NULL, NULL, '{\"AOA\": \"uploads/5/25/05/1748612050.png\", \"MOA\": \"uploads/5/25/05/1748612050.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748612050.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 08:04:10', '2025-05-30 08:04:10'),
(14, 5, 2, 0, NULL, NULL, NULL, '{\"AOA\": \"uploads/5/25/05/1748612050.png\", \"MOA\": \"uploads/5/25/05/1748612050.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748612050.jpg\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}]', '2025-05-30 08:04:10', '2025-05-30 08:04:10'),
(15, 5, 1, 0, NULL, 'Notes', NULL, '{\"Emirates Id Front\": \"uploads/5/25/05/1748620986.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}]', '2025-05-30 10:33:06', '2025-05-30 10:33:06'),
(16, 5, 1, 0, NULL, 'Notes', NULL, '{\"Emirates Id Front\": \"uploads/5/25/05/1748620986.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}]', '2025-05-30 10:33:06', '2025-05-30 10:33:06'),
(17, 10, 2, 0, NULL, 'Information to capture', NULL, '{\"AOA\": \"uploads/10/25/05/1748662451.png\", \"MOA\": \"uploads/10/25/05/1748662451.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/10/25/05/1748662451.jpg\", \"Business Address\": \"Abu dhabi\", \"Years (in Business)\": \"4\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"34000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-30 22:04:11', '2025-05-30 22:04:11'),
(18, 10, 2, 0, NULL, 'Information to capture', NULL, '{\"AOA\": \"uploads/10/25/05/1748662451.png\", \"MOA\": \"uploads/10/25/05/1748662451.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/10/25/05/1748662451.jpg\", \"Business Address\": \"Abu dhabi\", \"Years (in Business)\": \"4\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"34000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-30 22:04:11', '2025-05-30 22:04:11'),
(19, 10, 1, 0, NULL, NULL, NULL, '{\"Passport Back\": \"uploads/10/25/05/1748662482.png\", \"Passport Front\": \"uploads/10/25/05/1748662482.png\", \"Emirates Id Back\": \"uploads/10/25/05/1748662482.png\", \"Emirates Id Front\": \"uploads/10/25/05/1748662482.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-30 22:04:42', '2025-05-30 22:04:42'),
(20, 10, 1, 0, NULL, NULL, NULL, '{\"Passport Back\": \"uploads/10/25/05/1748662482.png\", \"Passport Front\": \"uploads/10/25/05/1748662482.png\", \"Emirates Id Back\": \"uploads/10/25/05/1748662482.png\", \"Emirates Id Front\": \"uploads/10/25/05/1748662482.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-30 22:04:42', '2025-05-30 22:04:42'),
(21, 10, 1, 0, NULL, NULL, NULL, '{\"Passport Back\": \"uploads/10/25/05/1748662483.png\", \"Passport Front\": \"uploads/10/25/05/1748662483.png\", \"Emirates Id Back\": \"uploads/10/25/05/1748662483.png\", \"Emirates Id Front\": \"uploads/10/25/05/1748662483.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-30 22:04:43', '2025-05-30 22:04:43'),
(22, 10, 1, 0, NULL, NULL, NULL, '{\"Passport Back\": \"uploads/10/25/05/1748662483.png\", \"Passport Front\": \"uploads/10/25/05/1748662483.png\", \"Emirates Id Back\": \"uploads/10/25/05/1748662483.png\", \"Emirates Id Front\": \"uploads/10/25/05/1748662483.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-30 22:04:43', '2025-05-30 22:04:43'),
(23, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 00:50:54', '2025-05-31 00:50:54'),
(24, 5, 2, 0, NULL, 'The expected volume as per current rate and it may change accodingly', NULL, '{\"AOA\": \"uploads/5/25/05/1748682825.png\", \"MOA\": \"uploads/5/25/05/1748682825.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748682825.jpg\", \"Business Address\": \"Abu Dhabi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 03:43:45', '2025-05-31 03:43:45'),
(25, 5, 2, 0, NULL, 'The expected volume as per current rate and it may change accodingly', NULL, '{\"AOA\": \"uploads/5/25/05/1748682825.png\", \"MOA\": \"uploads/5/25/05/1748682825.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748682825.jpg\", \"Business Address\": \"Abu Dhabi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 03:43:45', '2025-05-31 03:43:45'),
(26, 5, 1, 0, NULL, 'All the data as expected', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748682863.png\", \"Passport Front\": \"uploads/5/25/05/1748682863.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748682863.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748682863.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 03:44:23', '2025-05-31 03:44:23'),
(27, 5, 1, 0, NULL, 'All the data as expected', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748682863.png\", \"Passport Front\": \"uploads/5/25/05/1748682863.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748682863.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748682863.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 03:44:23', '2025-05-31 03:44:23'),
(28, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 03:45:19', '2025-05-31 03:45:19'),
(29, 5, 2, 0, NULL, 'Presented business for normal calculation', NULL, '{\"AOA\": \"uploads/5/25/05/1748683167.png\", \"MOA\": \"uploads/5/25/05/1748683167.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748683167.jpg\", \"Business Address\": \"Abu dhabhi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 03:49:27', '2025-05-31 03:49:27'),
(30, 5, 2, 0, NULL, 'Presented business for normal calculation', NULL, '{\"AOA\": \"uploads/5/25/05/1748683167.png\", \"MOA\": \"uploads/5/25/05/1748683167.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/5/25/05/1748683167.jpg\", \"Business Address\": \"Abu dhabhi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 03:49:27', '2025-05-31 03:49:27'),
(31, 5, 1, 0, NULL, 'Please let me know, if any other information needed', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748683208.png\", \"Passport Front\": \"uploads/5/25/05/1748683208.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748683208.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748683208.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 03:50:08', '2025-05-31 03:50:08'),
(32, 5, 1, 0, NULL, 'Please let me know, if any other information needed', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748683208.png\", \"Passport Front\": \"uploads/5/25/05/1748683208.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748683208.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748683208.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 03:50:08', '2025-05-31 03:50:08'),
(33, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 03:50:47', '2025-05-31 03:50:47'),
(34, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 03:52:54', '2025-05-31 03:52:54'),
(35, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 03:53:58', '2025-05-31 03:53:58'),
(36, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 04:27:52', '2025-05-31 04:27:52'),
(37, 11, 2, 0, NULL, 'This is estimated business', NULL, '{\"AOA\": \"uploads/11/25/05/1748686509.png\", \"MOA\": \"uploads/11/25/05/1748686509.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/11/25/05/1748686509.jpg\", \"Business Address\": \"Abu dhabi, Commercial Complex\", \"Years (in Business)\": \"1\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 04:45:09', '2025-05-31 04:45:09'),
(38, 11, 2, 0, NULL, 'This is estimated business', NULL, '{\"AOA\": \"uploads/11/25/05/1748686509.png\", \"MOA\": \"uploads/11/25/05/1748686509.png\", \"VAT Number\": \"0392-3092-23\", \"Trade License\": \"uploads/11/25/05/1748686509.jpg\", \"Business Address\": \"Abu dhabi, Commercial Complex\", \"Years (in Business)\": \"1\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"25000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 04:45:09', '2025-05-31 04:45:09'),
(39, 11, 1, 0, NULL, 'Images are not clear please let me know, if you need other images', NULL, '{\"Passport Back\": \"uploads/11/25/05/1748686562.png\", \"Passport Front\": \"uploads/11/25/05/1748686562.png\", \"Emirates Id Back\": \"uploads/11/25/05/1748686562.png\", \"Emirates Id Front\": \"uploads/11/25/05/1748686562.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 04:46:02', '2025-05-31 04:46:02'),
(40, 11, 1, 0, NULL, 'Images are not clear please let me know, if you need other images', NULL, '{\"Passport Back\": \"uploads/11/25/05/1748686562.png\", \"Passport Front\": \"uploads/11/25/05/1748686562.png\", \"Emirates Id Back\": \"uploads/11/25/05/1748686562.png\", \"Emirates Id Front\": \"uploads/11/25/05/1748686562.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 04:46:02', '2025-05-31 04:46:02'),
(41, 11, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 04:46:57', '2025-05-31 04:46:57'),
(42, 5, 2, 0, NULL, 'Business in North', NULL, '{\"AOA\": \"uploads/5/25/05/1748710107.png\", \"MOA\": \"uploads/5/25/05/1748710107.png\", \"VAT Number\": \"329000909022\", \"Trade License\": \"uploads/5/25/05/1748710107.png\", \"Business Address\": \"Commercial Complex, Abu Dhabi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"28000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 11:18:27', '2025-05-31 11:18:27'),
(43, 5, 2, 0, NULL, 'Business in North', NULL, '{\"AOA\": \"uploads/5/25/05/1748710107.png\", \"MOA\": \"uploads/5/25/05/1748710107.png\", \"VAT Number\": \"329000909022\", \"Trade License\": \"uploads/5/25/05/1748710107.png\", \"Business Address\": \"Commercial Complex, Abu Dhabi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"28000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 11:18:27', '2025-05-31 11:18:27'),
(44, 5, 1, 0, NULL, 'I will update the image , if needed', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748710195.png\", \"Passport Front\": \"uploads/5/25/05/1748710195.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748710195.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748710195.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 11:19:55', '2025-05-31 11:19:55'),
(45, 5, 1, 0, NULL, 'I will update the image , if needed', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748710195.png\", \"Passport Front\": \"uploads/5/25/05/1748710195.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748710195.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748710195.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 11:19:55', '2025-05-31 11:19:55'),
(46, 5, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-05-31 11:21:21', '2025-05-31 11:21:21'),
(47, 5, 2, 0, NULL, 'Business new place', NULL, '{\"AOA\": \"uploads/5/25/05/1748710689.png\", \"MOA\": \"uploads/5/25/05/1748710689.png\", \"VAT Number\": \"0934039403943\", \"Trade License\": \"uploads/5/25/05/1748710689.png\", \"Business Address\": \"Commercial Complex, Abu Dhabhi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"29000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 11:28:09', '2025-05-31 11:28:09'),
(48, 5, 2, 0, NULL, 'Business new place', NULL, '{\"AOA\": \"uploads/5/25/05/1748710689.png\", \"MOA\": \"uploads/5/25/05/1748710689.png\", \"VAT Number\": \"0934039403943\", \"Trade License\": \"uploads/5/25/05/1748710689.png\", \"Business Address\": \"Commercial Complex, Abu Dhabhi\", \"Years (in Business)\": \"2\", \"Current Year Revenue (in AED)\": \"20000\", \"Expected Business ( next 2 yrs in AED)\": \"29000\"}', '[{\"type\": \"file\", \"label\": \"Trade License\"}, {\"type\": \"text\", \"label\": \"VAT Number\"}, {\"type\": \"file\", \"label\": \"MOA\"}, {\"type\": \"file\", \"label\": \"AOA\"}, {\"type\": \"number\", \"label\": \"Years (in Business)\"}, {\"type\": \"number\", \"label\": \"Current Year Revenue (in AED)\"}, {\"type\": \"number\", \"label\": \"Expected Business ( next 2 yrs in AED)\"}, {\"type\": \"textarea\", \"label\": \"Business Address\"}]', '2025-05-31 11:28:09', '2025-05-31 11:28:09'),
(49, 5, 1, 0, NULL, 'New photo', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748710735.png\", \"Passport Front\": \"uploads/5/25/05/1748710735.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748710735.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748710735.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 11:28:55', '2025-05-31 11:28:55'),
(50, 5, 1, 0, NULL, 'New photo', NULL, '{\"Passport Back\": \"uploads/5/25/05/1748710735.png\", \"Passport Front\": \"uploads/5/25/05/1748710735.png\", \"Emirates Id Back\": \"uploads/5/25/05/1748710735.png\", \"Emirates Id Front\": \"uploads/5/25/05/1748710735.png\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-05-31 11:28:55', '2025-05-31 11:28:55'),
(51, 10, 4, 0, NULL, NULL, NULL, '{\"No Of Partners\": \"1\", \"Partner Address\": \"Bangalore\", \"Partners Information\": \"Bangalore\"}', '[{\"type\": \"number\", \"label\": \"No Of Partners\"}, {\"type\": \"textarea\", \"label\": \"Partners Information\"}, {\"type\": \"textarea\", \"label\": \"Partner Address\"}]', '2025-06-14 03:16:20', '2025-06-14 03:16:20'),
(52, 10, 4, 0, NULL, NULL, NULL, '{\"No Of Partners\": \"1\", \"Partner Address\": \"Bangalore\", \"Partners Information\": \"Bangalore\"}', '[{\"type\": \"number\", \"label\": \"No Of Partners\"}, {\"type\": \"textarea\", \"label\": \"Partners Information\"}, {\"type\": \"textarea\", \"label\": \"Partner Address\"}]', '2025-06-14 03:16:20', '2025-06-14 03:16:20'),
(53, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749968146.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 00:45:47', '2025-06-15 00:45:47'),
(54, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749968146.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 00:45:47', '2025-06-15 00:45:47'),
(55, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749969055.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 01:00:55', '2025-06-15 01:00:55'),
(56, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749969055.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 01:00:55', '2025-06-15 01:00:55'),
(57, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749969186.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 01:03:06', '2025-06-15 01:03:06'),
(58, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749969186.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 01:03:06', '2025-06-15 01:03:06'),
(59, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749976926.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:12:06', '2025-06-15 03:12:06'),
(60, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749976926.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:12:06', '2025-06-15 03:12:06'),
(61, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977211.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:16:51', '2025-06-15 03:16:51'),
(62, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977211.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:16:51', '2025-06-15 03:16:51'),
(63, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977322.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:18:42', '2025-06-15 03:18:42'),
(64, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977322.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:18:42', '2025-06-15 03:18:42'),
(65, 10, 1, 0, NULL, 'Note', NULL, '{\"Passport Back\": \"uploads/10/25/06/1749977422.jpg\", \"Passport Front\": \"uploads/10/25/06/1749977422.jpg\", \"Emirates Id Back\": \"uploads/10/25/06/1749977422.jpg\", \"Emirates Id Front\": \"uploads/10/25/06/1749977422.jpg\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-06-15 03:20:22', '2025-06-15 03:20:22'),
(66, 10, 1, 0, NULL, 'Note', NULL, '{\"Passport Back\": \"uploads/10/25/06/1749977422.jpg\", \"Passport Front\": \"uploads/10/25/06/1749977422.jpg\", \"Emirates Id Back\": \"uploads/10/25/06/1749977422.jpg\", \"Emirates Id Front\": \"uploads/10/25/06/1749977422.jpg\"}', '[{\"type\": \"file\", \"label\": \"Emirates Id Front\"}, {\"type\": \"file\", \"label\": \"Emirates Id Back\"}, {\"type\": \"file\", \"label\": \"Passport Front\"}, {\"type\": \"file\", \"label\": \"Passport Back\"}]', '2025-06-15 03:20:22', '2025-06-15 03:20:22'),
(67, 10, 5, 0, NULL, NULL, NULL, '{\"Bank Confirmed\": \"N/A\"}', '[{\"type\": \"text\", \"label\": \"Bank Confirmed\"}]', '2025-06-15 03:20:41', '2025-06-15 03:20:41'),
(68, 10, 4, 0, NULL, 'Note', NULL, '{\"No Of Partners\": \"1\", \"Partner Address\": \"AbuDhabi\", \"Partners Information\": \"AbuDhabi\"}', '[{\"type\": \"number\", \"label\": \"No Of Partners\"}, {\"type\": \"textarea\", \"label\": \"Partners Information\"}, {\"type\": \"textarea\", \"label\": \"Partner Address\"}]', '2025-06-15 03:21:00', '2025-06-15 03:21:00'),
(69, 10, 4, 0, NULL, 'Note', NULL, '{\"No Of Partners\": \"1\", \"Partner Address\": \"AbuDhabi\", \"Partners Information\": \"AbuDhabi\"}', '[{\"type\": \"number\", \"label\": \"No Of Partners\"}, {\"type\": \"textarea\", \"label\": \"Partners Information\"}, {\"type\": \"textarea\", \"label\": \"Partner Address\"}]', '2025-06-15 03:21:00', '2025-06-15 03:21:00'),
(70, 10, 6, 0, NULL, 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977478.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:21:18', '2025-06-15 03:21:18'),
(71, 10, 6, 2, '2025-06-29', 'Note', NULL, '{\"Contracts\": \"uploads/10/25/06/1749977478.pdf\"}', '[{\"type\": \"file\", \"label\": \"Contracts\"}]', '2025-06-15 03:21:18', '2025-06-28 23:37:52');

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

--
-- Table structure for table `loan_offers`
--

CREATE TABLE IF NOT EXISTS `loan_offers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `bank_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `loan_amount` double(15,2) NOT NULL,
  `interest_rate` double(5,2) NOT NULL,
  `tenure` int NOT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'offered',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_offers_user_id_foreign` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_offers`
--

INSERT INTO `loan_offers` (`id`, `user_id`, `bank_name`, `loan_amount`, `interest_rate`, `tenure`, `status`, `created_at`, `updated_at`) VALUES
(1, 6, 'Axis Bank', 500000.00, 9.50, 36, 'applied', NULL, '2025-04-09 12:06:10'),
(2, 6, 'HDFC Bank', 750000.00, 10.25, 48, 'offered', '2025-04-07 17:59:28', NULL),
(3, 6, 'ICICI Bank', 600000.00, 8.75, 24, 'offered', '2025-04-07 17:59:47', NULL),
(4, 6, 'SBI', 400000.00, 7.80, 60, 'applied', NULL, '2025-04-26 02:52:41'),
(5, 6, 'Kotak Mahindra', 550000.00, 9.00, 36, 'offered', NULL, NULL),
(6, 6, 'IDFC First', 300000.00, 11.00, 18, 'offered', NULL, NULL),
(7, 6, 'Yes Bank', 200000.00, 12.50, 12, 'offered', NULL, NULL),
(8, 6, 'Bank of Baroda', 650000.00, 8.90, 48, 'offered', NULL, NULL),
(9, 6, 'Canara Bank', 450000.00, 9.30, 36, 'offered', NULL, NULL),
(10, 6, 'Federal Bank', 700000.00, 10.00, 60, 'offered', NULL, NULL);

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

--
-- Table structure for table `login_attempts`
--

CREATE TABLE IF NOT EXISTS `login_attempts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_agent` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `successful` tinyint(1) NOT NULL DEFAULT '0',
  `failure_reason` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `attempted_at` timestamp NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `login_attempts_email_attempted_at_index` (`email`,`attempted_at`),
  KEY `login_attempts_ip_address_attempted_at_index` (`ip_address`,`attempted_at`),
  KEY `login_attempts_user_id_attempted_at_index` (`user_id`,`attempted_at`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `login_attempts`
--

INSERT INTO `login_attempts` (`id`, `email`, `username`, `ip_address`, `user_agent`, `successful`, `failure_reason`, `attempted_at`, `user_id`) VALUES
(1, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-06-30 12:03:47', 10),
(2, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-06-30 12:09:10', 1),
(3, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-10 11:37:41', 1),
(4, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-18 01:51:19', 1),
(5, 'premonboard@dataaegis.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 0, 'Validation failed', '2025-07-18 01:52:23', 13),
(6, 'premonboard@dataaegis.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 0, 'Validation failed', '2025-07-18 01:52:30', 13),
(7, 'premonboard@dataaegis.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-18 01:53:18', 13),
(8, 'manager@manager.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-18 01:58:46', 2),
(9, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-18 02:02:41', 1),
(10, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-20 04:52:03', 1),
(11, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-20 22:30:14', 1),
(12, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-30 02:20:37', 1),
(13, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-30 05:37:26', 1),
(14, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-07-31 06:07:54', 1),
(15, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-08-02 11:49:39', 1),
(16, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-08-05 03:47:45', 10),
(17, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-08-06 10:17:13', 10),
(18, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-08-06 12:19:03', 10),
(19, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', 1, NULL, '2025-08-06 22:26:03', 10),
(20, 'prem.hunt@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-13 08:27:44', 10),
(21, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 02:59:38', 1),
(22, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 05:14:24', 1),
(23, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 05:14:58', 1),
(24, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 05:25:15', 1),
(25, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 05:26:59', 1),
(26, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 05:53:16', 1),
(27, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-14 10:31:16', 1),
(28, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-17 04:34:57', 1),
(29, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-18 03:58:29', 1),
(30, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-18 10:30:59', 1),
(31, 'ripplefactordemo@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0', 0, 'Validation failed', '2025-08-18 11:31:04', 6),
(32, 'ripplefactordemo@gmail.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0', 1, NULL, '2025-08-18 11:31:14', 6),
(33, 'admin@admin.com', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 1, NULL, '2025-08-18 21:59:48', 1);

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

--
-- Table structure for table `media`
--

CREATE TABLE IF NOT EXISTS `media` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `url` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `driver` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'local',
  `files` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `is_optimized` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `media_user_id_foreign` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `media`
--

INSERT INTO `media` (`id`, `url`, `driver`, `files`, `user_id`, `is_optimized`, `created_at`, `updated_at`) VALUES
(1, '/uploads/1/22/07/62e6814c04fd93107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814c04fd93107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814c04fd93107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(2, '/uploads/1/22/07/62e6814c3a57a3107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814c3a57a3107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814c3a57a3107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(3, '/uploads/1/22/07/62e6814c6a87d3107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814c6a87d3107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814c6a87d3107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(4, '/uploads/1/22/07/62e6814c8ed5f3107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814c8ed5f3107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814c8ed5f3107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(5, '/uploads/1/22/07/62e6814cae0483107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814cae0483107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814cae0483107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(6, '/uploads/1/22/07/62e6814cd37233107221659273548.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6814cd37233107221659273548.png\",\"/uploads\\/1\\/22\\/07\\/62e6814cd37233107221659273548small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(7, '/uploads/1/22/07/62e681584c3fa3107221659273560.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681584c3fa3107221659273560.png\",\"/uploads\\/1\\/22\\/07\\/62e681584c3fa3107221659273560small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(8, '/uploads/1/22/07/62e681586a77e3107221659273560.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681586a77e3107221659273560.png\",\"/uploads\\/1\\/22\\/07\\/62e681586a77e3107221659273560small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(9, '/uploads/1/22/07/62e68164ae22d3107221659273572.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68164ae22d3107221659273572.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68164ae22d3107221659273572small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(10, '/uploads/1/22/07/62e6816541fb23107221659273573.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6816541fb23107221659273573.jpg\",\"/uploads\\/1\\/22\\/07\\/62e6816541fb23107221659273573small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(11, '/uploads/1/22/07/62e68165722793107221659273573.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68165722793107221659273573.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68165722793107221659273573small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(12, '/uploads/1/22/07/62e681659c5b43107221659273573.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681659c5b43107221659273573.jpg\",\"/uploads\\/1\\/22\\/07\\/62e681659c5b43107221659273573small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(13, '/uploads/1/22/07/62e68165d30713107221659273573.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68165d30713107221659273573.png\",\"/uploads\\/1\\/22\\/07\\/62e68165d30713107221659273573small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(14, '/uploads/1/22/07/62e681666b4b43107221659273574.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681666b4b43107221659273574.jpg\",\"/uploads\\/1\\/22\\/07\\/62e681666b4b43107221659273574small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(15, '/uploads/1/22/07/62e681669aeac3107221659273574.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681669aeac3107221659273574.png\",\"/uploads\\/1\\/22\\/07\\/62e681669aeac3107221659273574small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(16, '/uploads/1/22/07/62e68166c3d283107221659273574.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68166c3d283107221659273574.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68166c3d283107221659273574small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(17, '/uploads/1/22/07/62e68166eb7623107221659273574.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68166eb7623107221659273574.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68166eb7623107221659273574small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(18, '/uploads/1/22/07/62e68167244e53107221659273575.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68167244e53107221659273575.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68167244e53107221659273575small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(19, '/uploads/1/22/07/62e681674414c3107221659273575.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e681674414c3107221659273575.jpg\",\"/uploads\\/1\\/22\\/07\\/62e681674414c3107221659273575small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(20, '/uploads/1/22/07/62e68167656593107221659273575.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68167656593107221659273575.jpg\",\"/uploads\\/1\\/22\\/07\\/62e68167656593107221659273575small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(21, '/uploads/1/22/07/62e6816794fde3107221659273575.jpg', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6816794fde3107221659273575.jpg\",\"/uploads\\/1\\/22\\/07\\/62e6816794fde3107221659273575small.jpg\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(22, '/uploads/1/22/07/62e6849c3e2853107221659274396.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e6849c3e2853107221659274396.png\",\"/uploads\\/1\\/22\\/07\\/62e6849c3e2853107221659274396small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(23, '/uploads/1/22/07/62e68862ac24c3107221659275362.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e68862ac24c3107221659275362.png\",\"/uploads\\/1\\/22\\/07\\/62e68862ac24c3107221659275362small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(24, '/uploads/1/22/07/62e69773699843107221659279219.png', 'local', '[\"/uploads\\/1\\/22\\/07\\/62e69773699843107221659279219.png\",\"/uploads\\/1\\/22\\/07\\/62e69773699843107221659279219small.png\"]', NULL, 0, '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(25, 'https://demo.ctrmv.com/epay/uploads/1/25/02/67a050b8179ee0302251738559672.png', 'public', '[\"uploads\\/1\\/25\\/02\\/67a050b8179ee0302251738559672.png\",\"uploads\\/1\\/25\\/02\\/67a050b8179ee0302251738559672small.png\"]', NULL, 0, '2025-02-03 05:14:32', '2025-02-03 05:14:32'),
(26, 'https://demo.ctrmv.com/epay/uploads/1/25/02/67a052a5b3a8a0302251738560165.png', 'public', '[\"uploads\\/1\\/25\\/02\\/67a052a5b3a8a0302251738560165.png\",\"uploads\\/1\\/25\\/02\\/67a052a5b3a8a0302251738560165small.png\"]', NULL, 0, '2025-02-03 05:22:45', '2025-02-03 05:22:45'),
(27, 'https://demo.ctrmv.com/epay/uploads/1/25/02/67bde092106d72502251740497042.png', 'public', '[\"uploads\\/1\\/25\\/02\\/67bde092106d72502251740497042.png\",\"uploads\\/1\\/25\\/02\\/67bde092106d72502251740497042small.png\"]', NULL, 0, '2025-02-25 15:24:02', '2025-02-25 15:24:02'),
(28, 'https://omnipe.com/uploads/1/25/03/67c5c5dd539090303251741014493.jpeg', 'public', '[\"uploads\\/1\\/25\\/03\\/67c5c5dd539090303251741014493.jpeg\",\"uploads\\/1\\/25\\/03\\/67c5c5dd539090303251741014493small.jpeg\"]', NULL, 0, '2025-03-03 15:08:13', '2025-03-03 15:08:13'),
(29, 'https://omnipe.com/uploads/1/25/03/67c5cfb32dd8c0303251741017011.png', 'public', '[\"uploads\\/1\\/25\\/03\\/67c5cfb32dd8c0303251741017011.png\",\"uploads\\/1\\/25\\/03\\/67c5cfb32dd8c0303251741017011small.png\"]', NULL, 0, '2025-03-03 15:50:11', '2025-03-03 15:50:11'),
(30, 'http://localhost/epay_gw/uploads/1/25/05/68395e37472963005251748590135.jpg', 'public', '[\"uploads\\/1\\/25\\/05\\/68395e37472963005251748590135.jpg\",\"uploads\\/1\\/25\\/05\\/68395e37472963005251748590135small.jpg\"]', NULL, 0, '2025-05-30 01:58:55', '2025-05-30 01:58:55'),
(31, 'http://localhost/epay_gw/uploads/1/25/05/6839c94ea57e53005251748617550.png', 'public', '[\"uploads\\/1\\/25\\/05\\/6839c94ea57e53005251748617550.png\",\"uploads\\/1\\/25\\/05\\/6839c94ea57e53005251748617550small.png\"]', NULL, 0, '2025-05-30 09:35:50', '2025-05-30 09:35:50'),
(32, 'http://localhost/epay_gw/uploads/1/25/05/6839dce0748643005251748622560.png', 'public', '[\"uploads\\/1\\/25\\/05\\/6839dce0748643005251748622560.png\",\"uploads\\/1\\/25\\/05\\/6839dce0748643005251748622560small.png\"]', NULL, 0, '2025-05-30 10:59:20', '2025-05-30 10:59:20'),
(33, 'http://localhost/epay_gw/uploads/1/25/08/689da47f737ad1408251755161727.png', 'public', '[\"uploads\\/1\\/25\\/08\\/689da47f737ad1408251755161727.png\",\"uploads\\/1\\/25\\/08\\/689da47f737ad1408251755161727small.png\"]', NULL, 0, '2025-08-14 03:25:27', '2025-08-14 03:25:27');

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

--
-- Table structure for table `members`
--

CREATE TABLE IF NOT EXISTS `members` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `firstname` varchar(255) NOT NULL,
  `lastname` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `address` text,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `members`
--

INSERT INTO `members` (`id`, `firstname`, `lastname`, `email`, `phone`, `address`, `created_at`, `updated_at`, `user_id`) VALUES
(1, 'Dhananjay', 'Gahiwade', 'gdhananjay2710@gmail.com', '9421508151', 'lkjvdnrw vvfrovrwnm vprwm', '2025-03-03 19:06:17', '2025-03-13 16:23:19', 3),
(13, 'Prem', '', 'prem_cse@msn.com', '', NULL, '2025-03-07 13:10:08', '2025-03-13 16:23:22', 3),
(14, 'Prem', 'Gupta', 'prem@dataaegis.com', '919343712136', 'Unknown', '2025-03-13 12:46:24', '2025-03-15 11:49:39', 3),
(15, 'Unknown', 'Unknown', 'unknown@example.com', '9343712136', 'Unknown', '2025-03-26 23:08:38', '2025-03-26 23:08:38', 6);

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

--
-- Table structure for table `menus`
--

CREATE TABLE IF NOT EXISTS `menus` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `position` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `data` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `lang` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `status` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `menus`
--

INSERT INTO `menus` (`id`, `name`, `position`, `data`, `lang`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Header', 'header', '[{\"text\":\"Home\",\"href\":\"/\",\"icon\":\"\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"About Us\",\"href\":\"/about\",\"icon\":\"empty\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Blog\",\"href\":\"/blog\",\"icon\":\"empty\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Contact\",\"href\":\"/contact\",\"icon\":\"empty\",\"target\":\"_self\",\"title\":\"\"}]', 'en', 1, NULL, NULL),
(2, 'Our Solutions', 'footer_left_menu', '[{\"text\":\"Transfer Money\",\"icon\":\"\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Request Money\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Virtual Cards\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Bill Payments\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"}]', 'en', 1, NULL, NULL),
(3, 'HELP', 'footer_right_menu', '[{\"text\":\"Contact\",\"icon\":\"\",\"href\":\"/contact\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"FAQs\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Terms or Service\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"},{\"text\":\"Privacy Policy\",\"icon\":\"empty\",\"href\":\"#\",\"target\":\"_self\",\"title\":\"\"}]', 'en', 1, NULL, NULL);

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

--
-- Table structure for table `migrations`
--

CREATE TABLE IF NOT EXISTS `migrations` (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_11_000000_create_currencies_table', 1),
(2, '2014_10_12_000000_create_users_table', 1),
(3, '2014_10_12_100000_create_password_resets_table', 1),
(4, '2019_08_19_000000_create_failed_jobs_table', 1),
(5, '2019_08_19_000002_create_taxes_table', 1),
(6, '2019_09_15_000001_create_gateways_table', 1),
(7, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(8, '2022_02_27_105253_create_menus_table', 1),
(9, '2022_02_27_105302_create_terms_table', 1),
(10, '2022_02_27_105310_create_term_metas_table', 1),
(11, '2022_02_27_105320_create_options_table', 1),
(12, '2022_02_27_105337_create_categories_table', 1),
(13, '2022_02_27_105353_create_media_table', 1),
(14, '2022_02_28_095723_create_term_categories_table', 1),
(15, '2022_06_15_094542_create_deposits_table', 1),
(16, '2022_06_26_212541_create_temporary_files_table', 1),
(17, '2022_08_01_045418_create_moneyrequests_table', 1),
(18, '2022_08_01_052056_create_transactions_table', 1),
(19, '2022_08_01_053204_create_banks_table', 1),
(20, '2022_08_01_054119_create_user_banks_table', 1),
(21, '2022_08_01_054124_create_payouts_table', 1),
(22, '2022_08_01_062156_create_contact_mails_table', 1),
(23, '2022_08_01_091232_create_singlecharges_table', 1),
(24, '2022_08_01_091705_create_singlechargeorders_table', 1),
(25, '2022_08_01_094243_create_donations_table', 1),
(26, '2022_08_01_094247_create_donationorders_table', 1),
(27, '2022_08_03_085009_create_storefronts_table', 1),
(28, '2022_08_04_071105_create_product_categories_table', 1),
(29, '2022_08_04_082523_create_invoices_table', 1),
(30, '2022_08_04_082524_create_invoice_items_table', 1),
(31, '2022_08_04_091921_create_products_table', 1),
(51, '2022_08_04_114953_create_websites_table', 2),
(52, '2022_08_04_133848_create_transfers_table', 2),
(53, '2022_08_05_110735_create_user_plans_table', 2),
(54, '2022_08_05_113538_create_user_plan_subscribers_table', 2),
(55, '2022_08_06_154748_create_web_orders_table', 2),
(56, '2022_08_06_154748_create_web_test_orders_table', 2),
(57, '2022_08_08_125200_create_kyc_methods_table', 2),
(58, '2022_08_08_125222_create_kyc_requests_table', 2),
(59, '2022_08_08_125255_create_kyc_method_user_table', 2),
(60, '2022_08_08_153638_create_shippings_table', 2),
(61, '2022_08_10_111509_create_supports_table', 3),
(62, '2022_08_10_114705_create_support_metas_table', 3),
(63, '2022_08_10_172245_create_orders_table', 3),
(64, '2022_08_10_172256_create_orderitems_table', 3),
(65, '2022_08_13_155406_create_jobs_table', 3),
(66, '2022_08_17_044312_create_qrpayments_table', 3),
(67, '2022_08_17_131614_create_permission_tables', 3),
(68, '2024_05_20_173241_add_page_content_to_term_metas_table', 3),
(69, '2025_02_28_065235_create_venues_table', 3),
(70, '2025_02_28_065545_create_tickets_table', 4),
(71, '2025_02_28_065714_create_event_categories_table', 4),
(72, '2025_02_28_065848_create_bookings_table', 4),
(73, '2025_02_28_095542_add_type_to_tickets_table', 5),
(74, '2025_02_28_185118_create_attendees_table', 6),
(75, '2025_03_05_155101_create_providers_table', 7),
(76, '2025_03_05_155425_create_provider_availabilities_table', 7),
(77, '2025_03_12_180223_add_user_id_to_events_table', 8),
(78, '2025_03_12_180440_add_user_id_to_bookings_table', 9),
(79, '2025_03_12_180531_add_user_id_to_event_categories_table', 10),
(80, '2025_03_12_180634_add_user_id_to_event_tickets_table', 11),
(81, '2025_03_13_162056_add_user_id_to_members_table', 12),
(82, '2025_03_13_173730_create_transaction_details_table', 13),
(84, '2025_03_14_062651_create_students_table', 14),
(85, '2025_03_14_065735_create_schools_table', 15),
(87, '2025_03_14_073831_add_school_id_to_students_table', 16),
(88, '2025_03_14_182916_create_student_orders_table', 17),
(91, '2025_03_15_112356_create_chit_providers_table', 18),
(92, '2025_03_15_112442_create_chit_subscribers_table', 19),
(93, '2025_03_15_113209_create_chit_subscriber_orders_table', 20),
(94, '2025_03_17_161203_add_trx_and_invoicenumber_to_student_orders_table', 21),
(96, '2025_03_18_054846_add_paid_amount_to_students_table', 22),
(97, '2025_03_18_181149_add_total_paid_amount_to_chit_subscribers_table', 23),
(99, '2025_03_21_171539_add_trx_and_invoicenumber_to_chit_subscriber_orders_table', 24),
(100, '2025_03_26_160207_create_chit_products_table', 25),
(101, '2025_04_05_064715_create_loan_offers_table', 26),
(102, '2025_05_03_104734_create_tpp_consents_table', 27),
(103, '2025_05_03_105632_create_tpp_consent_details_table', 28),
(104, '2025_05_03_105747_create_tpp_consent_histories_table', 29),
(105, '2025_05_01_064715_create_user_openfinance_accounts_table', 30),
(106, '2025_05_30_kyc_methods_add_step_column', 31),
(107, '2025_05_30_000001_add_onboarding_step_to_users_table', 32),
(108, '2025_06_30_161512_create_password_histories_table', 33),
(109, '2025_06_30_161516_create_login_attempts_table', 34),
(110, '2025_06_30_161520_create_password_audit_logs_table', 35),
(111, '2025_06_30_161603_add_password_security_fields_to_users_table', 36),
(112, '2025_07_10_145340_add_admin_onboarding_step_to_users_table', 37),
(113, '2025_07_10_160511_add_onboarding_type_to_kyc_methods_table', 38),
(114, '2025_08_17_000001_add_ocr_config_to_kyc_methods_table', 39),
(115, '2025_08_17_000002_add_conditional_logic_to_kyc_methods_table', 40),
(116, '2025_08_17_125352_create_document_annotations_table', 41),
(117, '2024_03_20_000004_create_validation_results_table', 42);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE IF NOT EXISTS `model_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE IF NOT EXISTS `model_has_roles` (
  `role_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(2, 'App\\Models\\User', 2);

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

--
-- Table structure for table `moneyrequests`
--

CREATE TABLE IF NOT EXISTS `moneyrequests` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `sender_id` bigint UNSIGNED DEFAULT NULL,
  `receiver_id` bigint UNSIGNED DEFAULT NULL,
  `request_currency_id` bigint UNSIGNED DEFAULT NULL,
  `approved_currency_id` bigint UNSIGNED DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT '1',
  `status` int NOT NULL DEFAULT '2',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `moneyrequests_sender_id_foreign` (`sender_id`),
  KEY `moneyrequests_receiver_id_foreign` (`receiver_id`),
  KEY `moneyrequests_request_currency_id_foreign` (`request_currency_id`),
  KEY `moneyrequests_approved_currency_id_foreign` (`approved_currency_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE IF NOT EXISTS `orders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `shipping_id` bigint UNSIGNED DEFAULT NULL,
  `seller_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `storefront_id` bigint UNSIGNED NOT NULL,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `orders_shipping_id_foreign` (`shipping_id`),
  KEY `orders_seller_id_foreign` (`seller_id`),
  KEY `orders_gateway_id_foreign` (`gateway_id`),
  KEY `orders_currency_id_foreign` (`currency_id`),
  KEY `orders_storefront_id_foreign` (`storefront_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `orders` (`id`, `shipping_id`, `seller_id`, `gateway_id`, `currency_id`, `storefront_id`, `invoice_no`, `trx`, `name`, `email`, `phone`, `amount`, `status`, `created_at`, `updated_at`) VALUES
(1, NULL, 3, 5, 5, 2, '0000001', 'pay_Q1AAnhFw7CFDoS', 'Prem Kumar', 'prem_cse@msn.com', '09343712136', 20, 1, '2025-02-28 14:27:19', '2025-02-28 14:27:19');

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

--
-- Table structure for table `password_audit_logs`
--

CREATE TABLE IF NOT EXISTS `password_audit_logs` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `action` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_agent` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `details` json DEFAULT NULL,
  `suspicious` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NOT NULL,
  PRIMARY KEY (`id`),
  KEY `password_audit_logs_user_id_action_created_at_index` (`user_id`,`action`,`created_at`),
  KEY `password_audit_logs_ip_address_created_at_index` (`ip_address`,`created_at`),
  KEY `password_audit_logs_suspicious_created_at_index` (`suspicious`,`created_at`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_audit_logs`
--

INSERT INTO `password_audit_logs` (`id`, `user_id`, `action`, `ip_address`, `user_agent`, `details`, `suspicious`, `created_at`) VALUES
(1, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-06-30 12:03:47'),
(2, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-06-30 12:09:10'),
(3, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-10 11:37:41'),
(4, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-18 01:51:19'),
(5, 13, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": false, \"failed_attempts_count\": 1}', 0, '2025-07-18 01:52:23'),
(6, 13, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": false, \"failed_attempts_count\": 2}', 0, '2025-07-18 01:52:30'),
(7, 13, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-18 01:53:18'),
(8, 2, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-18 01:58:46'),
(9, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-18 02:02:41'),
(10, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-20 04:52:03'),
(11, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-20 22:30:14'),
(12, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-30 02:20:37'),
(13, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-30 05:37:26'),
(14, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-07-31 06:07:54'),
(15, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-02 11:49:39'),
(16, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-05 03:47:45'),
(17, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-06 10:17:13'),
(18, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-06 12:19:03'),
(19, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-06 22:26:03'),
(20, 10, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-13 08:27:44'),
(21, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 02:59:38'),
(22, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 05:14:24'),
(23, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 05:14:58'),
(24, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 05:25:15'),
(25, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 05:26:59'),
(26, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 05:53:16'),
(27, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-14 10:31:16'),
(28, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-17 04:34:57'),
(29, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-18 03:58:29'),
(30, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-18 10:30:59'),
(31, 6, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0', '{\"successful\": false, \"failed_attempts_count\": 1}', 0, '2025-08-18 11:31:04'),
(32, 6, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0', '{\"successful\": true}', 0, '2025-08-18 11:31:14'),
(33, 1, 'login_attempt', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', '{\"successful\": true}', 0, '2025-08-18 21:59:48');

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

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

CREATE TABLE IF NOT EXISTS `payouts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `user_bank_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `trx` int DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double NOT NULL,
  `rate` double NOT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payouts_user_id_foreign` (`user_id`),
  KEY `payouts_user_bank_id_foreign` (`user_bank_id`),
  KEY `payouts_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payouts`
--

INSERT INTO `payouts` (`id`, `user_id`, `user_bank_id`, `currency_id`, `trx`, `amount`, `charge`, `rate`, `comment`, `status`, `created_at`, `updated_at`) VALUES
(1, 3, 1, 5, 2147483647, 1000, 35, 1, NULL, 'pending', '2025-02-25 15:55:38', '2025-02-25 15:55:38'),
(2, 3, 1, 5, 2147483647, 1000, 35, 1, NULL, 'pending', '2025-02-25 15:55:54', '2025-02-25 15:55:54');

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

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

CREATE TABLE IF NOT EXISTS `permissions` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'dashboard-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(2, 'customers-create', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(3, 'customers-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(4, 'customers-update', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(5, 'customers-delete', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(6, 'staff-create', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(7, 'staff-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(8, 'staff-update', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(9, 'staff-delete', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(10, 'promotional-email-create', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(11, 'promotional-email-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(12, 'supports-create', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(13, 'supports-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(14, 'supports-update', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(15, 'supports-delete', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(16, 'reports-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(17, 'transactions-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(18, 'payments-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(19, 'invoices-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(20, 'merchants-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(21, 'category-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(22, 'products-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(23, 'deposits-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(24, 'stores-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(25, 'transfers-read', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(26, 'money-requests-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(27, 'payment-plans-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(28, 'payouts-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(29, 'banks-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(30, 'banks-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(31, 'banks-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(32, 'banks-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(33, 'orders-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(34, 'orders-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(35, 'orders-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(36, 'currencies-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(37, 'currencies-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(38, 'currencies-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(39, 'currencies-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(40, 'users-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(41, 'users-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(42, 'users-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(43, 'users-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(44, 'kyc-methods-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(45, 'kyc-methods-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(46, 'kyc-methods-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(47, 'kyc-methods-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(48, 'kyc-requests-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(49, 'kyc-requests-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(50, 'kyc-requests-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(51, 'kyc-requests-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(52, 'media-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(53, 'media-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(54, 'media-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(55, 'media-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(56, 'reviews-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(57, 'reviews-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(58, 'reviews-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(59, 'reviews-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(60, 'blog-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(61, 'blog-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(62, 'blog-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(63, 'blog-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(64, 'pages-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(65, 'pages-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(66, 'pages-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(67, 'pages-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(68, 'website-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(69, 'website-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(70, 'settings-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(71, 'languages-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(72, 'languages-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(73, 'languages-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(74, 'languages-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(75, 'menus-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(76, 'menus-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(77, 'menus-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(78, 'menus-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(79, 'seo-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(80, 'seo-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(81, 'seo-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(82, 'seo-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(83, 'system-settings-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(84, 'system-settings-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(85, 'cron-settings-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(86, 'cron-settings-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(87, 'taxes-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(88, 'taxes-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(89, 'taxes-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(90, 'taxes-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(91, 'gateways-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(92, 'gateways-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(93, 'gateways-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(94, 'gateways-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(95, 'roles-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(96, 'roles-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(97, 'roles-update', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(98, 'roles-delete', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(99, 'roles-assign-read', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(100, 'roles-assign-create', 'web', '2025-02-03 05:03:14', '2025-02-03 05:03:14'),
(101, 'merchant-onboard-create', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(102, 'merchant-onboard-read', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(103, 'merchant-onboard-update', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(104, 'merchant-onboard-delete', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(105, 'team-members-create', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(106, 'team-members-read', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(107, 'team-members-update', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(108, 'team-members-delete', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(109, 'departments-create', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(110, 'departments-read', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(111, 'departments-update', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30'),
(112, 'departments-delete', 'web', '2025-07-10 11:24:30', '2025-07-10 11:24:30');

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

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

CREATE TABLE IF NOT EXISTS `products` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `category_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` tinyint(1) NOT NULL,
  `link` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `price` double DEFAULT NULL,
  `image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `confirmation_message` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `products_user_id_foreign` (`user_id`),
  KEY `products_category_id_foreign` (`category_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `products` (`id`, `user_id`, `category_id`, `name`, `type`, `link`, `price`, `image`, `quantity`, `description`, `confirmation_message`, `created_at`, `updated_at`) VALUES
(1, 4, 1, 'Toy-1', 0, NULL, 12, 'uploads/4/25/02/1738574181.png', 30, '<p>Toy reports</p>', NULL, '2025-02-03 09:16:21', '2025-02-03 09:16:21'),
(2, 3, 2, 'Breads', 0, NULL, 55, 'uploads/3/25/02/1739519792.png', 397, '<p><font color=\"#acacac\" face=\"Roboto, sans-serif\"><span style=\"font-size: 16px; background-color: rgb(255, 255, 255);\">Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,&nbsp;</span></font></p>', NULL, '2025-02-14 07:56:32', '2025-02-14 08:17:57'),
(3, 3, 3, 'Fruit Cake', 0, NULL, 20, 'uploads/3/25/02/1739519902.png', 37, '<p>Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,</p>', NULL, '2025-02-14 07:58:22', '2025-02-28 14:27:19'),
(4, 3, 3, 'Pastries-1', 0, NULL, 3, 'uploads/3/25/02/1739520014.png', 1, '<p>Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,</p>', NULL, '2025-02-14 08:00:14', '2025-02-14 08:00:14'),
(5, 3, 2, 'Sandwich', 0, NULL, 45, 'uploads/3/25/03/1741426406.jpg', 70, '<p>It us good</p>', NULL, '2025-03-08 09:33:26', '2025-03-08 09:33:26');

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

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

CREATE TABLE IF NOT EXISTS `product_categories` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_categories_user_id_foreign` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `product_categories` (`id`, `user_id`, `title`, `created_at`, `updated_at`) VALUES
(1, 4, 'Toy', '2025-02-03 09:14:15', '2025-02-03 09:14:15'),
(2, 3, 'Bread', '2025-02-14 07:52:38', '2025-02-14 07:52:38'),
(3, 3, 'Pastries', '2025-02-14 07:52:49', '2025-02-14 07:52:49');

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

--
-- Table structure for table `product_storefront`
--

CREATE TABLE IF NOT EXISTS `product_storefront` (
  `storefront_id` bigint UNSIGNED NOT NULL,
  `product_id` bigint UNSIGNED NOT NULL,
  KEY `product_storefront_storefront_id_foreign` (`storefront_id`),
  KEY `product_storefront_product_id_foreign` (`product_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_storefront`
--

INSERT INTO `product_storefront` (`storefront_id`, `product_id`) VALUES
(1, 1),
(2, 2),
(2, 3),
(2, 4),
(2, 5);

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

--
-- Table structure for table `providers`
--

CREATE TABLE IF NOT EXISTS `providers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `contact_info` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `providers`
--

INSERT INTO `providers` (`id`, `name`, `type`, `contact_info`, `created_at`, `updated_at`, `user_id`) VALUES
(1, 'Dr Subramaniam', 'Clinics Therapy', '919343712136', '2025-03-05 17:28:32', '2025-03-05 17:28:32', 3);

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

--
-- Table structure for table `provider_availabilities`
--

CREATE TABLE IF NOT EXISTS `provider_availabilities` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `provider_id` bigint UNSIGNED NOT NULL,
  `day` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date` date DEFAULT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `slot` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `provider_availabilities_provider_id_foreign` (`provider_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `provider_availabilities`
--

INSERT INTO `provider_availabilities` (`id`, `provider_id`, `day`, `date`, `start_time`, `end_time`, `slot`, `created_at`, `updated_at`, `user_id`) VALUES
(1, 1, 'Monday', '2025-03-10', '10:00:00', '17:00:00', 1, '2025-03-05 17:37:20', '2025-03-05 17:37:20', 3);

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

--
-- Table structure for table `qrpayments`
--

CREATE TABLE IF NOT EXISTS `qrpayments` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seller_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double NOT NULL DEFAULT '1',
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `qrpayments_seller_id_foreign` (`seller_id`),
  KEY `qrpayments_gateway_id_foreign` (`gateway_id`),
  KEY `qrpayments_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE IF NOT EXISTS `roles` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'Admin', 'web', '2025-02-03 05:03:13', '2025-02-03 05:03:13'),
(2, 'Manager', 'web', '2025-02-03 05:03:15', '2025-02-03 05:03:15');

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE IF NOT EXISTS `role_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `role_id` bigint UNSIGNED NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(2, 1),
(3, 1),
(4, 1),
(5, 1),
(6, 1),
(7, 1),
(8, 1),
(9, 1),
(10, 1),
(11, 1),
(12, 1),
(13, 1),
(14, 1),
(15, 1),
(16, 1),
(17, 1),
(18, 1),
(19, 1),
(20, 1),
(21, 1),
(22, 1),
(23, 1),
(24, 1),
(25, 1),
(26, 1),
(27, 1),
(28, 1),
(29, 1),
(30, 1),
(31, 1),
(32, 1),
(33, 1),
(34, 1),
(35, 1),
(36, 1),
(37, 1),
(38, 1),
(39, 1),
(40, 1),
(41, 1),
(42, 1),
(43, 1),
(44, 1),
(45, 1),
(46, 1),
(47, 1),
(48, 1),
(49, 1),
(50, 1),
(51, 1),
(52, 1),
(53, 1),
(54, 1),
(55, 1),
(56, 1),
(57, 1),
(58, 1),
(59, 1),
(60, 1),
(61, 1),
(62, 1),
(63, 1),
(64, 1),
(65, 1),
(66, 1),
(67, 1),
(68, 1),
(69, 1),
(70, 1),
(71, 1),
(72, 1),
(73, 1),
(74, 1),
(75, 1),
(76, 1),
(77, 1),
(78, 1),
(79, 1),
(80, 1),
(81, 1),
(82, 1),
(83, 1),
(84, 1),
(85, 1),
(86, 1),
(87, 1),
(88, 1),
(89, 1),
(90, 1),
(91, 1),
(92, 1),
(93, 1),
(94, 1),
(95, 1),
(96, 1),
(97, 1),
(98, 1),
(99, 1),
(100, 1),
(101, 1),
(102, 1),
(103, 1),
(104, 1),
(105, 1),
(106, 1),
(107, 1),
(108, 1),
(109, 1),
(110, 1),
(111, 1),
(112, 1),
(1, 2),
(2, 2),
(3, 2),
(4, 2),
(5, 2),
(6, 2),
(7, 2),
(8, 2),
(9, 2),
(10, 2),
(11, 2),
(12, 2),
(13, 2),
(14, 2),
(15, 2),
(16, 2),
(17, 2),
(18, 2),
(19, 2),
(20, 2),
(22, 2),
(23, 2),
(24, 2),
(26, 2),
(27, 2),
(28, 2),
(29, 2),
(30, 2),
(31, 2),
(32, 2),
(33, 2),
(34, 2),
(35, 2),
(36, 2),
(37, 2),
(38, 2),
(39, 2),
(40, 2),
(41, 2),
(42, 2),
(43, 2),
(44, 2),
(45, 2),
(46, 2),
(47, 2),
(49, 2),
(50, 2),
(51, 2),
(101, 2),
(102, 2),
(103, 2);

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

--
-- Table structure for table `schools`
--

CREATE TABLE IF NOT EXISTS `schools` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner_id` bigint UNSIGNED NOT NULL,
  `address` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ext_css` text COLLATE utf8mb4_unicode_ci,
  `ext_javascript` text COLLATE utf8mb4_unicode_ci,
  `ext_html` text COLLATE utf8mb4_unicode_ci,
  `ext_header_html` text COLLATE utf8mb4_unicode_ci,
  `ext_footer_html` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `schools`
--

INSERT INTO `schools` (`id`, `name`, `owner_id`, `address`, `logo`, `ext_css`, `ext_javascript`, `ext_html`, `ext_header_html`, `ext_footer_html`, `created_at`, `updated_at`) VALUES
(1, 'Narayana School', 3, 'Sahkar Nagar', '/epay/uploads/schools/narayana.png', NULL, NULL, NULL, '<div class=\"custom-header d-flex align-items-center justify-content-between mb-4\" style=\"max-height: 50px;\">\n    <?php \n        $host = $_SERVER[\'HTTP_HOST\']; // Get current host\n        $parts = explode(\'.\', $host);\n        $logoName = (count($parts) > 2) ? $parts[0] : \'default-logo\';\n		$logoPath = asset(\'uploads/\' . $logoName . \'.png\');\n    ?>\n    \n    <!-- Logo on the left -->\n    <div class=\"logo-container\">\n		            <img src=\"<?php echo $logoPath; ?>\" alt=\"bank\" style=\"max-height: 50px;\">\n    </div>\n\n    <!-- Navigation on the right -->\n    <nav>\n        <ul class=\"list-inline mb-0\">\n            <li class=\"list-inline-item\"><a href=\"/\">Home</a></li>\n            <li class=\"list-inline-item\"><a href=\"/about\">About</a></li>\n            <li class=\"list-inline-item\"><a href=\"/contact\">Contact</a></li>\n        </ul>\n    </nav>\n</div>', '<div class=\"custom-footer text-center mt-5 pt-4 border-top\">\n    <p>&copy; <?php echo date(\'Y\'); ?> School Name. All rights reserved.</p>\n    <ul class=\"list-inline\">\n        <li class=\"list-inline-item\"><a href=\"/privacy\">Privacy Policy</a></li>\n        <li class=\"list-inline-item\"><a href=\"/terms\">Terms of Service</a></li>\n    </ul>\n</div>', '2025-03-14 01:58:18', '2025-03-14 08:23:31'),
(4, 'Delhi Public School', 1, 'Mathura Road, New Delhi, India', '/epay/uploads/schools/dps_logo.jpg', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(5, 'National Public School', 2, 'Indiranagar, Bangalore, Karnataka, India', '/epay/uploads/schools/nps_logo.jpg', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(6, 'DAV Public School', 3, 'Sector 14, Gurgaon, Haryana, India', '/epay/uploads/schools/dav_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(7, 'Modern School', 4, 'Barakhamba Road, New Delhi, India', '/epay/uploads/schools/modern_school.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(8, 'La Martiniere for Boys', 5, 'Kolkata, West Bengal, India', '/epay/uploads/schools/la_martiniere_boys.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(9, 'Delhi Public School', 6, 'Navi Mumbai, Maharashtra, India', '/epay/uploads/schools/dps_logo.jpg', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(10, 'The Shri Ram School', 7, 'Gurgaon, Haryana, India', '/epay/uploads/schools/shiv_nadar_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(11, 'Sishya School', 8, 'Chennai, Tamil Nadu, India', '/epay/uploads/schools/sishya_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(12, 'La Martiniere Girls College', 9, 'Lucknow, Uttar Pradesh, India', '/epay/uploads/schools/la_martiniere_girls.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(13, 'St. Xavier\'s School', 10, 'Delhi, India', '/epay/uploads/schools/st_xaviers_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(14, 'Sherwood College', 11, 'Nainital, Uttarakhand, India', '/epay/uploads/schools/sherwood_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(15, 'Bangalore International School', 12, 'Bangalore, Karnataka, India', '/epay/uploads/schools/bangalore_intl.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(16, 'Modern School', 13, 'Barakhamba Road, New Delhi, India', '/epay/uploads/schools/modern_school.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(17, 'The Lawrence School', 14, 'Sanawar, Himachal Pradesh, India', '/epay/uploads/schools/lawrence_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(18, 'Mayo College', 15, 'Ajmer, Rajasthan, India', '/epay/uploads/schools/mayo_college.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(19, 'Sherwood College', 16, 'Nainital, Uttarakhand, India', '/epay/uploads/schools/sherwood_logo.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(20, 'The Doon School', 17, 'Dehradun, Uttarakhand, India', '/epay/uploads/schools/doon_school.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(21, 'Cathedral and John Connon School', 18, 'Mumbai, Maharashtra, India', '/epay/uploads/schools/cathedral_connon.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(22, 'Maharani Gayatri Devi Girls School', 19, 'Jaipur, Rajasthan, India', '/epay/uploads/schools/mgd_girls_school.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50'),
(23, 'Vasant Valley School', 20, 'Vasant Kunj, New Delhi, India', '/epay/uploads/schools/vasant_valley.png', NULL, NULL, NULL, NULL, NULL, '2025-03-14 14:23:50', '2025-03-14 14:23:50');

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

--
-- Table structure for table `shippings`
--

CREATE TABLE IF NOT EXISTS `shippings` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `region` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` double NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `shippings_user_id_foreign` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `shippings`
--

INSERT INTO `shippings` (`id`, `user_id`, `region`, `amount`, `created_at`, `updated_at`) VALUES
(1, 6, 'Bangalore, India', 0, '2025-03-20 22:43:08', '2025-03-20 22:43:08');

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

--
-- Table structure for table `singlechargeorders`
--

CREATE TABLE IF NOT EXISTS `singlechargeorders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` int DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1',
  `user_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `singlecharge_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `singlechargeorders_user_id_foreign` (`user_id`),
  KEY `singlechargeorders_gateway_id_foreign` (`gateway_id`),
  KEY `singlechargeorders_singlecharge_id_foreign` (`singlecharge_id`),
  KEY `singlechargeorders_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `singlecharges`
--

CREATE TABLE IF NOT EXISTS `singlecharges` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `meta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `singlecharges_uuid_unique` (`uuid`),
  KEY `singlecharges_user_id_foreign` (`user_id`),
  KEY `singlecharges_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=649 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `singlecharges`
--

INSERT INTO `singlecharges` (`id`, `uuid`, `user_id`, `currency_id`, `title`, `amount`, `meta`, `status`, `created_at`, `updated_at`) VALUES
(1, 'dcc424fd-012a-48da-834b-d5768a48d3fa', 3, 5, 'Pay for Registration', 5000, '{\"description\":\"Pay for registration charges\",\"redirect_url\":null}', 1, '2025-02-25 16:23:33', '2025-02-25 16:23:33'),
(2, '9fff14f3-c065-45cc-abf1-d000b70eed57', 3, 5, 'LInk for one time payment', 500, '{\"description\":\"Payment for\",\"redirect_url\":\"https:\\/\\/airitc.com\"}', 1, '2025-03-13 06:33:08', '2025-03-13 06:33:08');

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

--
-- Table structure for table `storefronts`
--

CREATE TABLE IF NOT EXISTS `storefronts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `image` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `product_type` tinyint(1) DEFAULT NULL,
  `shipping_status` tinyint(1) NOT NULL DEFAULT '1',
  `note_status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `storefronts_user_id_foreign` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `storefronts`
--

INSERT INTO `storefronts` (`id`, `user_id`, `name`, `image`, `description`, `status`, `product_type`, `shipping_status`, `note_status`, `created_at`, `updated_at`) VALUES
(1, 4, 'Silver Spoon', 'uploads/4/25/02/1738573902.PNG', 'Store', 1, 0, 1, 0, '2025-02-03 09:11:42', '2025-02-03 09:11:42'),
(2, 3, 'Demo', 'uploads/3/25/02/1739519396.jpeg', 'Multipurpose Payment Gateway System is SAAS based payment modules system. Merchant will be able to use more than 12+ payment gateways using this platform. The Merchant can use his/her own payment credentials to directly receive the payment. This system also provides fraud payment checker also available HTML based payment form and also generate the HTML payment form. developer can integrate this platform using REST API to the site. All documentation guide available this script. merchant also make payment link for specific user. his/her customer can make payment using the link.', 1, 0, 0, 2, '2025-02-14 07:49:56', '2025-02-14 08:45:32');

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

--
-- Table structure for table `students`
--

CREATE TABLE IF NOT EXISTS `students` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mobile_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `father_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mother_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `school_id` bigint UNSIGNED DEFAULT NULL,
  `school_branch` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `admission_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `paid_amount` decimal(10,2) DEFAULT NULL,
  `course_fee_due` decimal(10,2) NOT NULL DEFAULT '0.00',
  `transport_due` decimal(10,2) NOT NULL DEFAULT '0.00',
  `uniform_due` decimal(10,2) NOT NULL DEFAULT '0.00',
  `material_due` decimal(10,2) NOT NULL DEFAULT '0.00',
  `other_due` decimal(10,2) NOT NULL DEFAULT '0.00',
  `total_due_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `students_admission_number_unique` (`admission_number`),
  KEY `students_school_id_foreign` (`school_id`)
) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `students`
--

INSERT INTO `students` (`id`, `name`, `mobile_number`, `email`, `father_name`, `mother_name`, `school_id`, `school_branch`, `admission_number`, `class`, `paid_amount`, `course_fee_due`, `transport_due`, `uniform_due`, `material_due`, `other_due`, `total_due_amount`, `created_at`, `updated_at`) VALUES
(2, 'Aarav Sharma', '919343712136', 'aarav.sharma@example.com', 'Rajesh Sharma', 'Priya Sharma', 1, 'Delhi Branch', 'AD12345', '10', 5330.00, 11000.00, 1980.00, 900.00, 400.00, 390.00, 14670.00, '2025-03-14 10:23:54', '2025-03-18 13:41:20'),
(3, 'Ananya Verma', '9856231470', 'ananya.verma@example.com', 'Suresh Verma', 'Meena Verma', 1, 'Mumbai Branch', 'AD12346', '9', NULL, 18000.00, 3000.00, 1500.00, 1000.00, 700.00, 24200.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(4, 'Rohan Iyer', '9865321470', 'rohan.iyer@example.com', 'Venkatesh Iyer', 'Lakshmi Iyer', 1, 'Bangalore Branch', 'AD12347', '8', NULL, 14000.00, 2800.00, 1100.00, 900.00, 600.00, 19400.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(5, 'Meera Nair', '9898745632', 'meera.nair@example.com', 'Krishna Nair', 'Radha Nair', 1, 'Chennai Branch', 'AD12348', '7', NULL, 16000.00, 3200.00, 1300.00, 1100.00, 800.00, 22400.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(6, 'Vikram Singh', '9784512365', 'vikram.singh@example.com', 'Surendra Singh', 'Kavita Singh', 1, 'Hyderabad Branch', 'AD12349', '10', NULL, 20000.00, 4000.00, 1700.00, 1200.00, 900.00, 27800.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(7, 'Ishita Patel', '9901234567', 'ishita.patel@example.com', 'Anil Patel', 'Sunita Patel', 1, 'Ahmedabad Branch', 'AD12350', '6', NULL, 13000.00, 2200.00, 1000.00, 700.00, 500.00, 17400.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(8, 'Kabir Das', '9812365478', 'kabir.das@example.com', 'Amit Das', 'Neha Das', 1, 'Kolkata Branch', 'AD12351', '9', NULL, 17000.00, 3500.00, 1400.00, 900.00, 600.00, 23400.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(9, 'Sanya Rao', '9874512398', 'sanya.rao@example.com', 'Mahesh Rao', 'Deepa Rao', 1, 'Pune Branch', 'AD12352', '8', NULL, 15500.00, 2700.00, 1250.00, 950.00, 650.00, 21050.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(10, 'Rudra Thakur', '9923654789', 'rudra.thakur@example.com', 'Brijesh Thakur', 'Poonam Thakur', 1, 'Jaipur Branch', 'AD12353', '7', NULL, 14500.00, 2600.00, 1150.00, 850.00, 550.00, 19650.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54'),
(11, 'Tara Kulkarni', '9845123698', 'tara.kulkarni@example.com', 'Shankar Kulkarni', 'Anita Kulkarni', 1, 'Nagpur Branch', 'AD12354', '6', NULL, 12000.00, 2000.00, 900.00, 600.00, 400.00, 15900.00, '2025-03-14 10:23:54', '2025-03-14 10:23:54');

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

--
-- Table structure for table `student_orders`
--

CREATE TABLE IF NOT EXISTS `student_orders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `student_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payas_as` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `trx` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoicenumber` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `student_orders_student_id_foreign` (`student_id`),
  KEY `student_orders_user_id_foreign` (`user_id`),
  KEY `student_orders_currency_id_foreign` (`currency_id`),
  KEY `student_orders_gateway_id_foreign` (`gateway_id`)
) ENGINE=MyISAM AUTO_INCREMENT=55 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `student_orders`
--

INSERT INTO `student_orders` (`id`, `student_id`, `user_id`, `amount`, `currency_id`, `gateway_id`, `status`, `payas_as`, `name`, `email`, `phone`, `created_at`, `updated_at`, `trx`, `invoicenumber`) VALUES
(1, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Sonu Kumar', 'sonu@dataaegis.com', NULL, '2025-03-14 13:30:59', '2025-03-14 13:30:59', NULL, NULL),
(2, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Sonu Kumar', 'sonu@dataaegis.com', NULL, '2025-03-14 13:31:13', '2025-03-14 13:31:13', NULL, NULL),
(3, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Sonu Kumar', 'sonu@dataaegis.com', NULL, '2025-03-14 13:31:46', '2025-03-14 13:31:46', NULL, NULL),
(4, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 13:33:46', '2025-03-14 13:33:46', NULL, NULL),
(5, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 13:38:59', '2025-03-14 13:38:59', NULL, NULL),
(6, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 13:50:00', '2025-03-14 13:50:00', NULL, NULL),
(7, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 13:51:25', '2025-03-14 13:51:25', NULL, NULL),
(8, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 13:57:21', '2025-03-14 13:57:21', NULL, NULL),
(9, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:32:04', '2025-03-14 23:32:04', NULL, NULL),
(10, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:37:12', '2025-03-14 23:37:12', NULL, NULL),
(11, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:44:16', '2025-03-14 23:44:16', NULL, NULL),
(12, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:46:04', '2025-03-14 23:46:04', NULL, NULL),
(13, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:49:45', '2025-03-14 23:49:45', NULL, NULL),
(14, 2, 3, 100.00, 5, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-14 23:51:41', '2025-03-14 23:51:41', NULL, NULL),
(15, 2, 3, 100.00, 5, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-15 00:05:10', '2025-03-15 00:05:52', NULL, NULL),
(16, 2, 3, 100.00, 5, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-15 00:45:33', '2025-03-15 01:26:13', NULL, NULL),
(17, 2, 3, 100.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-16 07:31:41', '2025-03-16 07:32:12', NULL, NULL),
(18, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 10:25:40', '2025-03-17 10:26:52', NULL, NULL),
(19, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 10:59:33', '2025-03-17 11:00:02', NULL, NULL),
(20, 2, 3, 2000.00, 0, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-17 11:02:47', '2025-03-17 11:02:47', NULL, NULL),
(21, 2, 3, 2030.00, 0, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-17 11:06:59', '2025-03-17 11:06:59', NULL, NULL),
(22, 2, 3, 6700.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 11:11:07', '2025-03-17 11:11:39', 'nUofP1QfCMuK', 'INV17422296673242'),
(23, 2, 3, 499.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 11:31:44', '2025-03-17 11:32:13', 'RNjRzFVovqS6', 'INV17422309042315'),
(24, 2, 3, 500.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 11:35:20', '2025-03-17 11:35:48', 'RmAEpnrFzqYI', 'INV17422311201630'),
(25, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 11:36:44', '2025-03-17 11:37:13', 'GKToHG0o4BbQ', 'INV17422312045925'),
(26, 2, 3, 8760.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 11:39:24', '2025-03-17 11:39:58', 'jzeJe2SlEY1M', 'INV17422313643646'),
(27, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-17 23:41:21', '2025-03-17 23:41:25', '2KZgBHK449g1', 'INV17422746814781'),
(28, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 00:09:31', '2025-03-18 00:09:59', 'H27m2LFcgX09', 'INV17422763714237'),
(29, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 00:20:21', '2025-03-18 00:20:46', 'EcQYupvlVg0E', 'INV17422770215679'),
(30, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 00:22:07', '2025-03-18 00:22:35', '9CPTQIqDCccj', 'INV17422771273328'),
(31, 2, 3, 20000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 00:26:27', '2025-03-18 00:26:53', 'Paf2pQJuY2vm', 'INV17422773872247'),
(32, 2, 3, 2000.00, 0, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-18 01:05:28', '2025-03-18 01:05:28', NULL, 'INV17422797286915'),
(33, 2, 3, 1950.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 01:53:17', '2025-03-18 01:53:46', 'TNLxhWyXCGoN', 'INV17422825975916'),
(34, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 01:56:50', '2025-03-18 01:57:33', '1RAMIgLuW4Ar', 'INV17422828105624'),
(35, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 02:15:05', '2025-03-18 02:15:32', 'pRrGFW48q9MB', 'INV17422839059118'),
(36, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 02:59:50', '2025-03-18 03:00:18', 'aQ9iFyEg6FHj', 'INV17422865905829'),
(37, 2, 3, 1950.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 03:03:26', '2025-03-18 03:03:57', '9WameqY8t6R1', 'INV17422868062198'),
(38, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 03:10:53', '2025-03-18 03:11:19', 's8kCSJ8FsBA0', 'INV17422872537111'),
(39, 2, 3, 2000.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 03:17:07', '2025-03-18 03:17:40', 'Ird2kyeAZKl7', 'INV17422876278394'),
(40, 2, 3, 1800.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 11:16:03', '2025-03-18 11:16:31', 'OkwbuEIUHVRO', 'INV17423163634828'),
(41, 2, 3, 300.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 11:23:52', '2025-03-18 11:24:24', 'Ph1VNDWJ0BlD', 'INV17423168328278'),
(42, 2, 3, 200.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 11:27:15', '2025-03-18 11:27:47', 'k0hUPBKN710I', 'INV17423170353470'),
(43, 2, 3, 180.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 11:37:19', '2025-03-18 11:38:38', 'I1zbeFCs2JnQ', 'INV17423176393509'),
(44, 2, 3, 100.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 11:43:58', '2025-03-18 11:44:26', 'UQI8oV3xrVZd', 'INV17423180383056'),
(45, 2, 3, 750.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 13:40:31', '2025-03-18 13:41:20', 'X1Dz7n08jpo7', 'INV17423250317405'),
(46, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 22:59:21', '2025-03-18 22:59:50', 'yb9mKbY12n3j', 'INV17423585612223'),
(47, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 23:52:25', '2025-03-18 23:52:35', '5JGcnwcKPFU8', 'INV17423617452669'),
(48, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-18 23:54:23', '2025-03-18 23:54:46', 'ZCbaEUa7epbN', 'INV17423618638437'),
(49, 2, 3, 14670.00, 0, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-19 00:03:26', '2025-03-19 00:03:26', NULL, 'INV17423624064427'),
(50, 2, 3, 14670.00, 0, 15, 'pending', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', NULL, '2025-03-19 00:03:42', '2025-03-19 00:03:42', NULL, 'INV17423624229301'),
(51, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-19 00:11:00', '2025-03-19 00:11:07', 'OQBF9pgXeeDV', 'INV17423628608933'),
(52, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-19 00:30:28', '2025-03-19 00:30:32', 'hBAyeFg79X3h', 'INV17423640284889'),
(53, 2, 3, 14670.00, 0, 15, 'pending', 'student', 'Ripple', 'ripplefactordemo@gmail.com', NULL, '2025-03-20 13:44:50', '2025-03-20 13:44:50', NULL, 'INV17424980907472'),
(54, 2, 3, 14670.00, 0, 15, '1', 'student', 'Aarav Sharma', 'aarav.sharma@example.com', '9343712136', '2025-03-20 22:06:53', '2025-03-20 22:07:19', 'J7Y0Tl6uUE8B', 'INV17425282138767');

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

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

CREATE TABLE IF NOT EXISTS `supports` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `ticket_no` bigint UNSIGNED NOT NULL,
  `subject` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `reference_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `priority` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `details` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `images` json NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '0',
  `user_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `supports_user_id_foreign` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `supports` (`id`, `ticket_no`, `subject`, `reference_code`, `priority`, `type`, `details`, `images`, `status`, `user_id`, `created_at`, `updated_at`) VALUES
(1, 1, 'Payout', 'None', 'High', 'request_money', 'Need response on this', '[\"uploads/3/25/03/1740848663.jpeg\"]', 1, 3, '2025-03-01 17:04:23', '2025-03-02 12:25:03');

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

--
-- Table structure for table `support_metas`
--

CREATE TABLE IF NOT EXISTS `support_metas` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `type` int NOT NULL DEFAULT '1',
  `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `support_id` bigint UNSIGNED NOT NULL,
  `sender_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_metas_support_id_foreign` (`support_id`),
  KEY `support_metas_sender_id_foreign` (`sender_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `support_metas`
--

INSERT INTO `support_metas` (`id`, `type`, `comment`, `support_id`, `sender_id`, `created_at`, `updated_at`) VALUES
(1, 1, 'We are working on this.. and will update', 1, 1, '2025-03-02 12:24:40', '2025-03-02 12:24:40');

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

--
-- Table structure for table `taxes`
--

CREATE TABLE IF NOT EXISTS `taxes` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `rate` double NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `taxes_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `temporary_files`
--

CREATE TABLE IF NOT EXISTS `temporary_files` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `folder` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `driver` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'local',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `termcategories`
--

CREATE TABLE IF NOT EXISTS `termcategories` (
  `term_id` bigint UNSIGNED NOT NULL,
  `category_id` bigint UNSIGNED NOT NULL,
  KEY `termcategories_term_id_foreign` (`term_id`),
  KEY `termcategories_category_id_foreign` (`category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `terms`
--

CREATE TABLE IF NOT EXISTS `terms` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1',
  `featured` int NOT NULL DEFAULT '0',
  `lang` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `comment_status` int NOT NULL DEFAULT '0',
  `meta` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `terms`
--

INSERT INTO `terms` (`id`, `title`, `slug`, `type`, `status`, `featured`, `lang`, `comment_status`, `meta`, `created_at`, `updated_at`) VALUES
(1, 'How To Attract Top Talent In Competitive Industries', 'how-to-attract-top-talent-in-competitive-industries', 'blog', 1, 1, 'en', 1, NULL, '2022-07-31 14:59:43', '2022-07-31 14:59:43'),
(2, '5 New Insights You Should Know', '5-new-insights-you-should-know', 'blog', 1, 1, 'en', 1, NULL, '2022-07-31 15:00:23', '2022-07-31 15:00:23'),
(3, 'Monteno How to make blockcahin', 'monteno-how-to-make-blockcahin', 'blog', 1, 1, 'en', 1, NULL, '2022-07-31 15:00:56', '2022-07-31 15:00:56');

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

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

CREATE TABLE IF NOT EXISTS `tickets` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `event_id` bigint UNSIGNED NOT NULL,
  `ticket_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `ticket_price` decimal(10,2) NOT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'regular',
  `available_tickets` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `ticket_status` enum('active','sold_out','canceled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'active',
  `currency` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'USD',
  PRIMARY KEY (`id`),
  KEY `fk_tickets_event` (`event_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tickets`
--

INSERT INTO `tickets` (`id`, `event_id`, `ticket_name`, `ticket_price`, `type`, `available_tickets`, `created_at`, `updated_at`, `ticket_status`, `currency`) VALUES
(1, 1, 'VIP', 500.00, 'regular', 14, '2025-02-28 16:34:08', '2025-02-28 16:51:46', 'active', 'USD');

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

--
-- Table structure for table `tpp_consents`
--

CREATE TABLE IF NOT EXISTS `tpp_consents` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `tpp_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('Active','Revoked','Reconfirm','Paused') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Active',
  `last_updated_at` timestamp NULL DEFAULT NULL,
  `reconfirm_by` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tpp_consents_user_id_foreign` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tpp_consents`
--

INSERT INTO `tpp_consents` (`id`, `user_id`, `tpp_name`, `account_type`, `status`, `last_updated_at`, `reconfirm_by`, `created_at`, `updated_at`) VALUES
(1, 3, 'Abu Dhabi Commercial Bank', 'Retail', 'Active', '2025-05-03 11:10:31', '2025-06-02 11:10:31', '2025-05-03 11:10:31', '2025-05-03 11:10:31'),
(2, 3, 'Abu Dhabi Commercial Bank', 'Corporate', 'Paused', '2025-04-23 11:10:31', NULL, '2025-03-24 11:10:31', '2025-04-23 11:10:31'),
(3, 3, 'HSBC Bank Middle East', 'Retail', 'Active', '2025-05-08 08:50:10', '2025-06-08 08:50:10', '2025-05-08 08:50:10', '2025-05-08 08:50:10'),
(4, 3, 'Mashreq Bank', 'Corporate', 'Paused', '2025-04-01 04:45:00', NULL, '2025-01-01 03:30:00', '2025-04-01 04:45:00'),
(5, 3, 'Emirates NBD', 'Retail', 'Revoked', '2025-05-01 03:15:22', NULL, '2025-03-01 03:15:22', '2025-05-01 03:15:22');

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

--
-- Table structure for table `tpp_consent_histories`
--

CREATE TABLE IF NOT EXISTS `tpp_consent_histories` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `tpp_consent_id` bigint UNSIGNED NOT NULL,
  `event` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `event_date` timestamp NOT NULL,
  `details` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tpp_consent_histories_tpp_consent_id_foreign` (`tpp_consent_id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tpp_consent_histories`
--

INSERT INTO `tpp_consent_histories` (`id`, `tpp_consent_id`, `event`, `event_date`, `details`, `created_at`, `updated_at`) VALUES
(1, 1, 'Connected', '2025-05-03 11:11:42', 'Consent granted by user', '2025-05-03 11:11:42', '2025-05-03 11:11:42'),
(2, 1, 'Reconfirmed', '2025-04-28 11:11:42', 'Consent reconfirmed by user', '2025-04-28 11:11:42', '2025-04-28 11:11:42'),
(3, 2, 'Connected', '2025-03-24 11:11:42', 'Consent granted by user', '2025-03-24 11:11:42', '2025-03-24 11:11:42'),
(4, 2, 'Revoked', '2025-04-23 11:11:42', 'Consent revoked by user', '2025-04-23 11:11:42', '2025-04-23 11:11:42'),
(5, 3, 'Connected', '2025-05-08 08:53:10', 'Consent granted for HSBC Bank', '2025-05-08 08:53:10', '2025-05-08 08:53:10'),
(6, 3, 'Reconfirmed', '2025-05-09 04:30:00', 'User reconfirmed consent', '2025-05-09 04:30:00', '2025-05-09 04:30:00'),
(7, 4, 'Connected', '2025-01-01 03:40:00', 'Consent granted for Mashreq Bank', '2025-01-01 03:40:00', '2025-01-01 03:40:00'),
(8, 4, 'Expired', '2025-04-01 04:45:00', 'Consent expired after 90 days', '2025-04-01 04:45:00', '2025-04-01 04:45:00'),
(9, 5, 'Connected', '2025-03-01 03:20:00', 'Consent granted for Emirates NBD', '2025-03-01 03:20:00', '2025-03-01 03:20:00'),
(10, 5, 'Revoked', '2025-05-01 03:25:00', 'Consent revoked manually by user', '2025-05-01 03:25:00', '2025-05-01 03:25:00');

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

--
-- Table structure for table `transactions`
--

CREATE TABLE IF NOT EXISTS `transactions` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `reason` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transactions_user_id_foreign` (`user_id`),
  KEY `transactions_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transactions`
--

INSERT INTO `transactions` (`id`, `invoice_no`, `user_id`, `currency_id`, `amount`, `rate`, `charge`, `reason`, `type`, `name`, `email`, `created_at`, `updated_at`) VALUES
(1, '0000001', 3, 4, 165, 1, NULL, 'Sells', 'credit', 'Lupe Maggio', 'user@user.com', '2025-02-14 08:17:57', '2025-02-14 08:17:57'),
(2, '0000002', 3, 4, 40, 1, NULL, 'Sells', 'credit', 'Lupe Maggio', 'user@user.com', '2025-02-14 08:44:43', '2025-02-14 08:44:43'),
(3, '0000003', 3, 5, 882, 1, 18, 'Invoice Payment received from Prem Kumar', 'credit', 'Prem Kumar', 'prem_cse@msn.com', '2025-02-25 13:58:41', '2025-02-25 13:58:41'),
(4, '0000004', 3, 5, 960, 1, 40, 'Donation received from Prem Kumar', 'credit', 'Prem Kumar', 'prem_cse@msn.com', '2025-02-25 15:44:45', '2025-02-25 15:44:45'),
(5, '0000005', 3, 5, 960, 1, 40, 'Donation received from Prem Kumar', 'credit', 'Prem Kumar', 'prem_cse@msn.com', '2025-02-25 16:09:51', '2025-02-25 16:09:51'),
(6, '0000006', 3, 5, 480, 1, 20, 'Donation received from Sneha Gupta', 'credit', 'Sneha Gupta', 'ripplefactordemo@gmail.com', '2025-02-25 16:19:36', '2025-02-25 16:19:36'),
(7, '0000007', 3, 5, 288, 1, 12, 'Donation received from Aneesh Ashok', 'credit', 'Aneesh Ashok', 'prem@dataaegis.com', '2025-02-25 17:35:35', '2025-02-25 17:35:35'),
(8, '0000008', 3, 5, 20, 1, NULL, 'Sells', 'credit', 'Lupe Maggio', 'prem@dataaegis.com', '2025-02-28 14:27:19', '2025-02-28 14:27:19'),
(9, '0000009', 3, 5, 960, 1, 40, 'Donation received from vikas', 'credit', 'vikas', 'prasanna2124@gmail.com', '2025-03-09 12:16:31', '2025-03-09 12:16:31'),
(10, '0000010', 3, 5, 960, 1, 40, 'Donation received from vikas', 'credit', 'vikas', 'prasanna2124@gmail.com', '2025-03-09 12:22:28', '2025-03-09 12:22:28'),
(11, '0000011', 3, 5, 960, 1, 40, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-09 15:32:33', '2025-03-09 15:32:33'),
(12, '0000012', 3, 5, 960, 1, 40, 'Donation received from prasnana', 'credit', 'prasnana', 'prasanna2124@gmail.com', '2025-03-09 15:33:47', '2025-03-09 15:33:47'),
(13, '0000013', 3, 5, 960, 1, 40, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 06:52:43', '2025-03-10 06:52:43'),
(14, '0000014', 3, 5, 960, 1, 40, 'Donation received from prasanna', 'credit', 'prasanna', 'prasanna2124@gmail.com', '2025-03-10 06:55:48', '2025-03-10 06:55:48'),
(15, '0000015', 3, 5, 96, 1, 4, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:12:21', '2025-03-10 07:12:21'),
(16, '0000016', 3, 5, 48, 1, 2, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:13:34', '2025-03-10 07:13:34'),
(17, '0000017', 3, 5, 48, 1, 2, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:28:52', '2025-03-10 07:28:52'),
(18, '0000018', 3, 5, 48, 1, 2, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:33:11', '2025-03-10 07:33:11'),
(19, '0000019', 3, 5, 48, 1, 2, 'Donation received from prasanna', 'credit', 'prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:40:06', '2025-03-10 07:40:06'),
(20, '0000020', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 07:50:42', '2025-03-10 07:50:42'),
(21, '0000021', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 09:59:15', '2025-03-10 09:59:15'),
(22, '0000022', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 10:05:15', '2025-03-10 10:05:15'),
(23, '0000023', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 10:15:55', '2025-03-10 10:15:55'),
(24, '0000024', 3, 5, 1.92, 1, 0.08, 'Donation received from Arpitha', 'credit', 'Arpitha', 'arpitha@dataaegis.com', '2025-03-10 10:21:40', '2025-03-10 10:21:40'),
(25, '0000025', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 10:22:45', '2025-03-10 10:22:45'),
(26, '0000026', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 11:44:15', '2025-03-10 11:44:15'),
(27, '0000027', 3, 5, 1.92, 1, 0.08, 'Donation received from Prasanna', 'credit', 'Prasanna', 'prasanna2124@gmail.com', '2025-03-10 11:50:59', '2025-03-10 11:50:59'),
(28, '0000028', 3, 5, 1.92, 1, 0.08, 'Donation received from vikas', 'credit', 'vikas', 'prasanna2124@gmail.com', '2025-03-10 12:01:30', '2025-03-10 12:01:30'),
(29, '0000029', 3, 5, 1.92, 1, 0.08, 'Donation received from vikas', 'credit', 'vikas', 'prasanna2124@gmail.com', '2025-03-11 05:45:16', '2025-03-11 05:45:16'),
(30, '0000030', 3, 5, 1.92, 1, 0.08, 'Donation received from vikas', 'credit', 'vikas', 'prasanna2124@gmail.com', '2025-03-11 05:49:19', '2025-03-11 05:49:19'),
(31, '0000031', 3, 5, 90, 1, 0, 'Payment received from Prem', 'credit', 'Prem', 'prem_cse@msn.com', '2025-03-12 14:26:56', '2025-03-12 14:26:56'),
(32, '0000032', 3, 5, 89, 1, 0, 'Payment received from Prem', 'credit', 'Prem', 'prem_cse@msn.com', '2025-03-12 14:31:49', '2025-03-12 14:31:49'),
(33, '0000033', 3, 5, 340, 1, 0, 'Payment received from Prem', 'credit', 'Prem', 'prem@momentpay.in', '2025-03-12 14:34:30', '2025-03-12 14:34:30'),
(34, '0000034', 3, 5, 90, 1, 0, 'Payment received from Sneha', 'credit', 'Sneha', 'prem_cse@msn.com', '2025-03-13 05:10:20', '2025-03-13 05:10:20'),
(35, '0000035', 3, 5, 200, 1, 0, 'Payment received from Shreya', 'credit', 'Shreya', 'prem_cse@msnc.com', '2025-03-13 05:11:49', '2025-03-13 05:11:49'),
(36, '0000036', 3, 5, 89, 1, 0, 'Payment received from Shreya', 'credit', 'Shreya', 'prem_cse@msn.com', '2025-03-13 05:31:36', '2025-03-13 05:31:36'),
(37, '0000037', 3, 5, 96, 1, 4, 'Donation received from Satish', 'credit', 'Satish', 'satish@dataaegis.com', '2025-03-13 06:38:13', '2025-03-13 06:38:13'),
(38, '0000038', 3, 5, 200, 1, 0, 'Payment received from Aneesh Ashok', 'credit', 'Aneesh Ashok', 'prem@dataaegis.com', '2025-03-13 06:48:03', '2025-03-13 06:48:03'),
(39, '0000039', 3, 5, 200, 1, 0, 'Payment received from Prem Kumar', 'credit', 'Prem Kumar', 'prem_cse@msn.com', '2025-03-14 11:53:16', '2025-03-14 11:53:16'),
(40, '0000040', 3, 5, 200, 1, 0, 'Payment received from Prem Kumar', 'credit', 'Prem Kumar', 'prem_cse@msn.com', '2025-03-14 11:55:12', '2025-03-14 11:55:12'),
(41, '0000041', 3, 5, -965, NULL, 35, 'Transfer money', 'debit', 'Sonu Kumar', 'sonu@dataaegis.com', '2025-03-20 10:28:45', '2025-03-20 10:28:45'),
(42, '0000042', 6, 4, 965, NULL, NULL, 'Transfer money received', 'credit', 'Ripple', 'ripplefactordemo@gmail.com', '2025-03-20 10:30:00', '2025-03-20 10:30:00');

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

--
-- Table structure for table `transaction_details`
--

CREATE TABLE IF NOT EXISTS `transaction_details` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `phone_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `source` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_details`
--

INSERT INTO `transaction_details` (`id`, `phone_number`, `source`, `created_at`, `updated_at`) VALUES
(1, '919343712136', 'WhatsApp', '2025-03-15 03:37:52', '2025-03-15 03:37:52'),
(2, '919343712136', 'single-charge', '2025-03-16 02:48:37', '2025-03-16 02:48:37'),
(3, '919343712136', 'single-charge', '2025-03-16 02:54:25', '2025-03-16 02:54:25'),
(4, '919343712136', 'single-charge', '2025-03-16 03:16:02', '2025-03-16 03:16:02'),
(5, '919343712136', 'student', '2025-03-16 03:48:06', '2025-03-16 03:48:06'),
(6, '919343712136', 'student', '2025-03-16 06:25:14', '2025-03-16 06:25:14'),
(7, '919343712136', 'chitsubscriber', '2025-03-16 06:41:59', '2025-03-16 06:41:59'),
(8, '919343712136', 'student', '2025-03-18 04:59:36', '2025-03-18 04:59:36'),
(9, '9871234567', 'chitsubscriber', '2025-03-25 23:38:49', '2025-03-25 23:38:49'),
(10, '9871234567', 'chitsubscriber', '2025-03-26 00:12:24', '2025-03-26 00:12:24'),
(11, '9871234567', 'chitsubscriber', '2025-03-26 00:13:35', '2025-03-26 00:13:35'),
(12, '9871234567', 'chitsubscriber', '2025-03-26 00:15:46', '2025-03-26 00:15:46'),
(13, '9871234567', 'chitsubscriber', '2025-03-26 00:21:46', '2025-03-26 00:21:46'),
(14, '9871234567', 'chitsubscriber', '2025-03-26 10:03:10', '2025-03-26 10:03:10'),
(15, '9871234567', 'chitsubscriber', '2025-03-26 10:06:50', '2025-03-26 10:06:50'),
(16, '9343712136', 'chitsubscriber', '2025-03-26 23:08:45', '2025-03-26 23:08:45'),
(17, '919343712136', 'chitsubscriber', '2025-03-26 23:41:21', '2025-03-26 23:41:21'),
(18, '919343712136', 'chitsubscriber', '2025-03-26 23:46:23', '2025-03-26 23:46:23'),
(19, '919343712136', 'chitsubscriber', '2025-03-26 23:46:26', '2025-03-26 23:46:26'),
(20, '919343712136', 'chitsubscriber', '2025-03-26 23:49:58', '2025-03-26 23:49:58'),
(21, '919343712136', 'chitsubscriber', '2025-03-26 23:50:02', '2025-03-26 23:50:02'),
(22, '919343712136', 'chitsubscriber', '2025-03-26 23:57:42', '2025-03-26 23:57:42'),
(23, '919343712136', 'chitsubscriber', '2025-03-26 23:57:45', '2025-03-26 23:57:45'),
(24, '919343712136', 'chitsubscriber', '2025-03-27 08:54:38', '2025-03-27 08:54:38'),
(25, '919343712136', 'chitsubscriber', '2025-03-27 08:54:42', '2025-03-27 08:54:42'),
(26, '919343712136', 'chitsubscriber', '2025-03-27 08:59:16', '2025-03-27 08:59:16');

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

--
-- Table structure for table `transfers`
--

CREATE TABLE IF NOT EXISTS `transfers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `email` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` double NOT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT '1',
  `is_beneficiary` tinyint(1) DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transfers_user_id_foreign` (`user_id`),
  KEY `transfers_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transfers`
--

INSERT INTO `transfers` (`id`, `user_id`, `currency_id`, `email`, `amount`, `trx`, `charge`, `rate`, `is_beneficiary`, `status`, `created_at`, `updated_at`) VALUES
(1, 3, 5, 'ripplefactordemo@gmail.com', 965, '174248632532', 35, 1, 1, 2, '2025-03-20 10:28:45', '2025-03-20 10:30:00');

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

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

CREATE TABLE IF NOT EXISTS `user_banks` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `bank_id` bigint UNSIGNED DEFAULT NULL,
  `data` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_banks_user_id_foreign` (`user_id`),
  KEY `user_banks_bank_id_foreign` (`bank_id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `user_banks` (`id`, `user_id`, `bank_id`, `data`, `created_at`, `updated_at`) VALUES
(1, 3, 8, '{\"account_name\": \"Robb Sanford\", \"account_type\": \"business\", \"account_number\": 16, \"routing_number\": 10}', '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(2, 4, 30, '{\"account_name\": \"Camille Pfeffer\", \"account_type\": \"business\", \"account_number\": 16, \"routing_number\": 10}', '2025-02-03 05:03:16', '2025-02-03 05:03:16'),
(3, 6, 10, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"98798769879879\", \"routing_number\": \"009232\"}', '2025-02-25 16:33:31', '2025-02-25 16:33:31'),
(4, 5, 8, '{\"account_name\": \"987979879\", \"account_type\": \"individual\", \"account_number\": \"979879789\", \"routing_number\": \"98798797978\"}', '2025-05-30 11:50:54', '2025-05-30 11:50:54'),
(5, 5, 8, '{\"account_name\": \"987979879\", \"account_type\": \"individual\", \"account_number\": \"979879789\", \"routing_number\": \"98798797978\"}', '2025-05-30 11:50:54', '2025-05-30 11:50:54'),
(6, 5, 8, '{\"account_name\": \"987979879\", \"account_type\": \"individual\", \"account_number\": \"979879789\", \"routing_number\": \"98798797978\"}', '2025-05-30 11:50:54', '2025-05-30 11:50:54'),
(7, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"090990\", \"routing_number\": \"90909\"}', '2025-05-31 00:33:18', '2025-05-31 00:33:18'),
(8, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"090990\", \"routing_number\": \"90909\"}', '2025-05-31 00:33:18', '2025-05-31 00:33:18'),
(9, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"090990\", \"routing_number\": \"90909\"}', '2025-05-31 00:33:18', '2025-05-31 00:33:18'),
(10, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"909090\"}', '2025-05-31 00:36:49', '2025-05-31 00:36:49'),
(11, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"909090\"}', '2025-05-31 00:36:49', '2025-05-31 00:36:49'),
(12, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"909090\"}', '2025-05-31 00:36:49', '2025-05-31 00:36:49'),
(13, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"909090\", \"routing_number\": \"909090\"}', '2025-05-31 00:50:54', '2025-05-31 00:50:54'),
(14, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"909090\", \"routing_number\": \"909090\"}', '2025-05-31 00:50:54', '2025-05-31 00:50:54'),
(15, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"909090\", \"routing_number\": \"909090\"}', '2025-05-31 00:50:54', '2025-05-31 00:50:54'),
(16, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090900\", \"routing_number\": \"90900\"}', '2025-05-31 03:45:18', '2025-05-31 03:45:18'),
(17, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090900\", \"routing_number\": \"90900\"}', '2025-05-31 03:45:18', '2025-05-31 03:45:18'),
(18, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090900\", \"routing_number\": \"90900\"}', '2025-05-31 03:45:18', '2025-05-31 03:45:18'),
(19, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"09283029302\", \"routing_number\": \"98989\"}', '2025-05-31 03:50:46', '2025-05-31 03:50:46'),
(20, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"09283029302\", \"routing_number\": \"98989\"}', '2025-05-31 03:50:46', '2025-05-31 03:50:46'),
(21, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"09283029302\", \"routing_number\": \"98989\"}', '2025-05-31 03:50:46', '2025-05-31 03:50:46'),
(22, 5, 8, '{\"account_name\": \"232432\", \"account_type\": \"individual\", \"account_number\": \"123234234\", \"routing_number\": \"2323\"}', '2025-05-31 03:52:54', '2025-05-31 03:52:54'),
(23, 5, 8, '{\"account_name\": \"232432\", \"account_type\": \"individual\", \"account_number\": \"123234234\", \"routing_number\": \"2323\"}', '2025-05-31 03:52:54', '2025-05-31 03:52:54'),
(24, 5, 8, '{\"account_name\": \"232432\", \"account_type\": \"individual\", \"account_number\": \"123234234\", \"routing_number\": \"2323\"}', '2025-05-31 03:52:54', '2025-05-31 03:52:54'),
(25, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"243243245234\", \"routing_number\": \"23424324\"}', '2025-05-31 03:53:58', '2025-05-31 03:53:58'),
(26, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"243243245234\", \"routing_number\": \"23424324\"}', '2025-05-31 03:53:58', '2025-05-31 03:53:58'),
(27, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"243243245234\", \"routing_number\": \"23424324\"}', '2025-05-31 03:53:58', '2025-05-31 03:53:58'),
(28, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"98989898\", \"routing_number\": \"909090\"}', '2025-05-31 04:27:51', '2025-05-31 04:27:51'),
(29, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"98989898\", \"routing_number\": \"909090\"}', '2025-05-31 04:27:51', '2025-05-31 04:27:51'),
(30, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"98989898\", \"routing_number\": \"909090\"}', '2025-05-31 04:27:51', '2025-05-31 04:27:51'),
(31, 11, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"93333\"}', '2025-05-31 04:46:57', '2025-05-31 04:46:57'),
(32, 11, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"93333\"}', '2025-05-31 04:46:57', '2025-05-31 04:46:57'),
(33, 11, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"9090909\", \"routing_number\": \"93333\"}', '2025-05-31 04:46:57', '2025-05-31 04:46:57'),
(34, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"910291029\", \"routing_number\": \"928498493\"}', '2025-05-31 11:21:21', '2025-05-31 11:21:21'),
(35, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"910291029\", \"routing_number\": \"928498493\"}', '2025-05-31 11:21:21', '2025-05-31 11:21:21'),
(36, 5, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"910291029\", \"routing_number\": \"928498493\"}', '2025-05-31 11:21:21', '2025-05-31 11:21:21'),
(37, 10, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"923829387293\", \"routing_number\": \"98329\"}', '2025-06-15 03:20:40', '2025-06-15 03:20:40'),
(38, 10, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"923829387293\", \"routing_number\": \"98329\"}', '2025-06-15 03:20:40', '2025-06-15 03:20:40'),
(39, 10, 8, '{\"account_name\": \"Ripple\", \"account_type\": \"individual\", \"account_number\": \"923829387293\", \"routing_number\": \"98329\"}', '2025-06-15 03:20:40', '2025-06-15 03:20:40');

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

--
-- Table structure for table `user_openfinance_accounts`
--

CREATE TABLE IF NOT EXISTS `user_openfinance_accounts` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` bigint UNSIGNED NOT NULL,
  `account_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_holder_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_holder_short_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `currency` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nickname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_sub_type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status_update_datetime` timestamp NULL DEFAULT NULL,
  `account_identifiers` json DEFAULT NULL,
  `servicer` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_openfinance_accounts_account_id_unique` (`account_id`),
  KEY `user_openfinance_accounts_user_id_foreign` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_plans`
--

CREATE TABLE IF NOT EXISTS `user_plans` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` double DEFAULT NULL,
  `interval` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `limit` int DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT '1',
  `features` json DEFAULT NULL,
  `owner_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_plans_uuid_unique` (`uuid`),
  KEY `user_plans_owner_id_foreign` (`owner_id`),
  KEY `user_plans_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_plans`
--

INSERT INTO `user_plans` (`id`, `uuid`, `name`, `amount`, `interval`, `limit`, `status`, `features`, `owner_id`, `currency_id`, `created_at`, `updated_at`) VALUES
(1, '27d66c0b-3278-4141-8c33-30eafe8d3bf4', 'Easysendy Pro Plan - 10000', 1200, '1 Month', NULL, 1, '[{\"title\": \"10000 Subscribers\"}, {\"title\": \"2 Delivery Servers\"}, {\"title\": \"Speed 30 emails per second\"}]', 3, 5, '2025-03-01 08:18:59', '2025-03-01 08:18:59'),
(2, '601e57b0-70e7-46e9-8bce-eebc8f85e008', 'Window', 1200, '1 Month', 12, 1, '[{\"title\": \"Subscriber size 2000\"}, {\"title\": \"5 user maximum\"}]', 3, 5, '2025-03-13 06:40:24', '2025-03-13 06:40:24');

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

--
-- Table structure for table `user_plan_subscribers`
--

CREATE TABLE IF NOT EXISTS `user_plan_subscribers` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `amount` double NOT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `interval` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `expire_at` timestamp NULL DEFAULT NULL,
  `times` int DEFAULT NULL,
  `is_auto_renew` tinyint(1) NOT NULL DEFAULT '0',
  `user_plan_id` bigint UNSIGNED DEFAULT NULL,
  `owner_id` bigint UNSIGNED DEFAULT NULL,
  `subscriber_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_plan_subscribers_user_plan_id_foreign` (`user_plan_id`),
  KEY `user_plan_subscribers_owner_id_foreign` (`owner_id`),
  KEY `user_plan_subscribers_subscriber_id_foreign` (`subscriber_id`),
  KEY `user_plan_subscribers_currency_id_foreign` (`currency_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `validation_results`
--

CREATE TABLE IF NOT EXISTS `validation_results` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `kyc_request_id` bigint UNSIGNED NOT NULL,
  `document_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('valid','invalid','pending','error') COLLATE utf8mb4_unicode_ci NOT NULL,
  `confidence` decimal(5,2) DEFAULT NULL,
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `provider` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `metadata` json DEFAULT NULL,
  `validated_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `validation_results_kyc_request_id_document_type_index` (`kyc_request_id`,`document_type`),
  KEY `validation_results_status_confidence_index` (`status`,`confidence`),
  KEY `validation_results_validated_at_index` (`validated_at`),
  KEY `validation_results_document_type_index` (`document_type`),
  KEY `validation_results_status_index` (`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `venues`
--

CREATE TABLE IF NOT EXISTS `venues` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `venue_name` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `venue_address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `capacity` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `zip_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` decimal(10,8) DEFAULT NULL,
  `longitude` decimal(11,8) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `venues`
--

INSERT INTO `venues` (`id`, `venue_name`, `venue_address`, `capacity`, `created_at`, `updated_at`, `city`, `state`, `zip_code`, `country`, `latitude`, `longitude`) VALUES
(1, 'Leela Place', 'Bangalore', 50, '2025-02-28 15:17:55', '2025-02-28 15:17:55', NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `websiteformorders`
--

CREATE TABLE IF NOT EXISTS `websiteformorders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `websiteform_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `payer_id` bigint UNSIGNED NOT NULL,
  `currency_id` bigint UNSIGNED NOT NULL,
  `gateway_id` bigint UNSIGNED NOT NULL,
  `invoice_no` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `status` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `websiteformorders`
--

INSERT INTO `websiteformorders` (`id`, `websiteform_id`, `user_id`, `payer_id`, `currency_id`, `gateway_id`, `invoice_no`, `amount`, `status`, `created_at`, `updated_at`) VALUES
(1, 26, 3, 0, 5, 15, '0000001', 2.00, 'pending', '2025-03-12 08:55:50', '2025-03-12 08:55:50'),
(2, 26, 3, 0, 5, 15, '0000002', 2.00, 'pending', '2025-03-12 08:56:20', '2025-03-12 08:56:20'),
(3, 26, 3, 0, 5, 15, '0000003', 2.00, 'pending', '2025-03-12 08:59:00', '2025-03-12 08:59:00'),
(4, 27, 3, 0, 5, 15, '0000004', 9899.00, 'pending', '2025-03-12 09:39:41', '2025-03-12 09:39:41'),
(5, 27, 3, 0, 5, 15, '0000005', 9899.00, 'pending', '2025-03-12 09:43:43', '2025-03-12 09:43:43'),
(6, 27, 3, 0, 5, 15, '0000006', 989.00, 'pending', '2025-03-12 09:47:06', '2025-03-12 09:47:06'),
(7, 27, 3, 0, 5, 15, '0000007', 290.00, 'pending', '2025-03-12 09:56:25', '2025-03-12 09:56:25'),
(8, 27, 3, 0, 5, 15, '0000008', 290.00, 'pending', '2025-03-12 14:10:38', '2025-03-12 14:10:38'),
(9, 27, 3, 0, 5, 15, '0000009', 90.00, 'pending', '2025-03-12 14:25:26', '2025-03-12 14:25:26'),
(10, 27, 3, 0, 5, 15, '0000010', 90.00, '1', '2025-03-12 14:26:56', '2025-03-12 14:26:56'),
(11, 27, 3, 0, 5, 15, '0000011', 89.00, 'pending', '2025-03-12 14:31:04', '2025-03-12 14:31:04'),
(12, 27, 3, 0, 5, 15, '0000012', 89.00, '1', '2025-03-12 14:31:49', '2025-03-12 14:31:49'),
(13, 27, 3, 0, 5, 15, '0000013', 340.00, 'pending', '2025-03-12 14:33:39', '2025-03-12 14:33:39'),
(14, 27, 3, 0, 5, 15, '0000014', 340.00, '1', '2025-03-12 14:34:30', '2025-03-12 14:34:30'),
(15, 27, 3, 0, 5, 15, '0000015', 9000.00, 'pending', '2025-03-13 05:02:46', '2025-03-13 05:02:46'),
(16, 27, 3, 0, 5, 15, '0000016', 9000.00, 'pending', '2025-03-13 05:04:46', '2025-03-13 05:04:46'),
(17, 27, 3, 0, 5, 15, '0000017', 90.00, 'pending', '2025-03-13 05:07:11', '2025-03-13 05:07:11'),
(18, 27, 3, 0, 5, 15, '0000018', 90.00, '1', '2025-03-13 05:09:46', '2025-03-13 05:10:20'),
(19, 27, 3, 0, 5, 15, '0000019', 200.00, '1', '2025-03-13 05:11:14', '2025-03-13 05:11:49'),
(20, 27, 3, 0, 5, 15, '0000020', 89.00, '1', '2025-03-13 05:30:43', '2025-03-13 05:31:36'),
(21, 28, 3, 0, 5, 15, '0000021', 200.00, '1', '2025-03-13 06:47:10', '2025-03-13 06:48:03'),
(22, 28, 3, 0, 5, 15, '0000022', 200.00, '1', '2025-03-14 11:53:06', '2025-03-14 11:53:16'),
(23, 28, 3, 0, 5, 15, '0000023', 200.00, '1', '2025-03-14 11:54:44', '2025-03-14 11:55:12'),
(24, 28, 3, 0, 5, 15, '0000024', 200.00, 'pending', '2025-03-14 11:55:40', '2025-03-14 11:55:40');

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

--
-- Table structure for table `website_forms`
--

CREATE TABLE IF NOT EXISTS `website_forms` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `title` varchar(191) DEFAULT NULL,
  `image` varchar(191) DEFAULT NULL,
  `description` text,
  `status` int NOT NULL DEFAULT '1',
  `form_data` text,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `uuid` (`uuid`),
  KEY `user_id` (`user_id`),
  KEY `currency_id` (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `website_forms`
--

INSERT INTO `website_forms` (`id`, `uuid`, `user_id`, `currency_id`, `title`, `image`, `description`, `status`, `form_data`, `created_at`, `updated_at`) VALUES
(22, 'ace90c2a-852c-40ee-a49e-dbb3b8f33471', 3, 5, 'Blood Donation', NULL, 'XYZ Hospital blood donation form', 1, '<style>* { box-sizing: border-box; } body {margin: 0;}body{font-family:Arial, sans-serif;background-color:rgb(242, 242, 242);}h1{text-align:center;color:rgb(51, 51, 51);}form{max-width:400px;margin-top:0px;margin-right:auto;margin-bottom:0px;margin-left:auto;background-color:rgb(255, 255, 255);padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;box-shadow:rgba(0, 0, 0, 0.1) 0px 0px 10px;}label{display:block;margin-bottom:5px;font-weight:bold;}input[type=\"text\"], input[type=\"email\"], select, textarea{width:100%;padding-top:8px;padding-right:8px;padding-bottom:8px;padding-left:8px;margin-bottom:10px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(204, 204, 204);border-right-color:rgb(204, 204, 204);border-bottom-color:rgb(204, 204, 204);border-left-color:rgb(204, 204, 204);border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;}input[type=\"submit\"]{background-color:rgb(255, 82, 82);color:rgb(255, 255, 255);border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;padding-top:10px;padding-right:20px;padding-bottom:10px;padding-left:20px;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;cursor:pointer;}input[type=\"submit\"]:hover{background-color:rgb(244, 67, 54);}</style><h1>XYZ Hospital Blood Donation Form</h1><form method=\"get\"><label for=\"name\">Full Name:</label><input type=\"text\" id=\"name\" name=\"name\" required=\"\"><label for=\"email\">Email:</label><input type=\"email\" id=\"email\" name=\"email\" required=\"\"><label for=\"blood-type\">Blood Type:</label><select id=\"blood-type\" name=\"blood-type\" required=\"\"><option value=\"A+\">A+</option><option value=\"A-\">A-</option><option value=\"B+\">B+</option><option value=\"B-\">B-</option><option value=\"AB+\">AB+</option><option value=\"AB-\">AB-</option><option value=\"O+\">O+</option><option value=\"O-\">O-</option></select><label for=\"phone\">Phone Number:</label><input type=\"text\" id=\"phone\" name=\"phone\" required=\"\"><label for=\"message\">Message (if any):</label><textarea id=\"message\" name=\"message\"></textarea><input type=\"submit\" value=\"Submit\"></form>', '2025-03-06 10:11:05', '2025-03-06 10:11:05'),
(25, 'b71a4f0b-b777-44fd-aa15-022f1f3b1ae8', 3, 5, 'Accept Resume', NULL, 'Accepting Resume for XYZ Company', 1, '<style></style>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>Employee Resume Form</title>\n<style>\n    .ai-form-container {\n        max-width: 500px;\n        margin: 0 auto;\n        padding: 20px;\n        border: 1px solid #ccc;\n        border-radius: 5px;\n        background-color: #f9f9f9;\n    }\n\n    .ai-form-group {\n        margin-bottom: 15px;\n    }\n\n    .ai-form-label {\n        display: block;\n        font-weight: bold;\n    }\n\n    .ai-form-input {\n        width: 100%;\n        padding: 8px;\n        border: 1px solid #ccc;\n        border-radius: 4px;\n        box-sizing: border-box;\n    }\n\n    .ai-form-submit {\n        background-color: #4CAF50;\n        color: white;\n        padding: 10px 15px;\n        border: none;\n        border-radius: 4px;\n        cursor: pointer;\n    }\n\n    .ai-form-submit:hover {\n        background-color: #45a049;\n    }\n</style>\n\n\n<div class=\"ai-form-container\">\n    <form id=\"employeeResumeForm\">\n        <div class=\"ai-form-group\">\n            <label for=\"name\" class=\"ai-form-label\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"ai-form-input\" required=\"\">\n        </div>\n        <div class=\"ai-form-group\">\n            <label for=\"email\" class=\"ai-form-label\">Email:</label>\n            <input type=\"email\" id=\"email\" name=\"email\" class=\"ai-form-input\" required=\"\">\n        </div>\n        <div class=\"ai-form-group\">\n            <label for=\"resume\" class=\"ai-form-label\">Resume:</label>\n            <input type=\"file\" id=\"resume\" name=\"resume\" class=\"ai-form-input\" accept=\".pdf,.doc,.docx\" required=\"\">\n        </div>\n        <button type=\"submit\" class=\"ai-form-submit\">Submit Resume</button>\n    </form>\n</div>', '2025-03-07 12:58:51', '2025-03-07 12:58:51'),
(26, '77fb4b1b-6ce7-4560-82f9-ae6c6e113840', 3, 5, 'Basic School Payment form', NULL, 'Use for Event', 1, '<style></style>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>School Function Payment Form</title>\n<style>\n.ai-form-container {\n  max-width: 500px;\n  margin: 0 auto;\n  padding: 20px;\n  border: 1px solid #ccc;\n  border-radius: 5px;\n  background-color: #f9f9f9;\n}\n\n.ai-form-title {\n  text-align: center;\n  font-size: 24px;\n  margin-bottom: 20px;\n}\n\n.ai-form-input {\n  padding: 10px;\n  margin-bottom: 10px;\n  width: 100%;\n}\n\n.ai-form-button {\n  padding: 10px;\n  background-color: #007bff;\n  color: #fff;\n  border: none;\n  width: 100%;\n  cursor: pointer;\n}\n\n.ai-form-button:hover {\n  background-color: #0056b3;\n}\n\n.ai-form-amount {\n  padding: 10px;\n  margin-bottom: 10px;\n  width: 100%;\n}\n</style>\n\n\n<div class=\"ai-form-container\">\n<h2 class=\"ai-form-title\">School Function Payment Form</h2>\n<form id=\"paymentForm\">\n<input class=\"ai-form-input\" type=\"text\" placeholder=\"Full Name\" id=\"fullName\" required=\"\">\n<input class=\"ai-form-input\" type=\"email\" placeholder=\"Email Address\" id=\"email\" required=\"\">\n<input class=\"ai-form-input\" type=\"tel\" placeholder=\"Phone Number\" id=\"phone\" required=\"\">\n<input class=\"ai-form-amount\" type=\"number\" placeholder=\"Amount to Pay\" id=\"total_amount\" required=\"\">\n<button class=\"ai-form-button\" type=\"submit\">Submit Payment</button>\n</form>\n</div>\n<script>\ndocument.getElementById(\"paymentForm\").addEventListener(\"submit\", function(event) {\n  event.preventDefault();\n  \n  // Here you can add the logic to handle the payment submission\n  \n  alert(\"Payment submitted successfully!\");\n});\n</script>', '2025-03-12 05:10:30', '2025-03-12 05:10:30'),
(27, '6d33b2dd-d89b-447c-a64d-1783de73447d', 3, 5, 'School Monthly Payment Form', NULL, 'SS', 1, '<style></style>\n    <style>\n        .ai-form-input {\n            padding: 10px;\n            margin: 10px;\n            width: 300px;\n            font-size: 16px;\n            border: 1px solid #ccc;\n            border-radius: 5px;\n        }\n        .ai-form-button {\n            padding: 10px 20px;\n            background-color: #007bff;\n            color: white;\n            border: none;\n            border-radius: 5px;\n            cursor: pointer;\n        }\n        .ai-form-button:hover {\n            background-color: #0056b3;\n        }\n    </style>\n\n\n    <form id=\"paymentForm\">\n        <input type=\"text\" id=\"ai-form-name\" class=\"ai-form-input\" placeholder=\"Name\">\n        <input type=\"email\" id=\"ai-form-email\" class=\"ai-form-input\" placeholder=\"Email\">\n        <input type=\"number\" id=\"total_amount\" class=\"ai-form-input\" placeholder=\"Total Amount\">\n        <select id=\"month\" class=\"ai-form-input\">\n            <option value=\"\">Select Month</option>\n            <option value=\"January\">January</option>\n            <option value=\"February\">February</option>\n            <option value=\"March\">March</option>\n            <option value=\"April\">April</option>\n            <option value=\"May\">May</option>\n            <option value=\"June\">June</option>\n            <option value=\"July\">July</option>\n            <option value=\"August\">August</option>\n            <option value=\"September\">September</option>\n            <option value=\"October\">October</option>\n            <option value=\"November\">November</option>\n            <option value=\"December\">December</option>\n        </select>\n        <input type=\"text\" id=\"admissionNumber\" class=\"ai-form-input\" placeholder=\"Admission Number\">\n        <button type=\"submit\" class=\"ai-form-button\">Pay Now</button>\n    </form>\n    \n    <script>\n        document.getElementById(\"paymentForm\").addEventListener(\"submit\", function(event) {\n            event.preventDefault();\n            var name = document.getElementById(\"ai-form-name\").value;\n            var email = document.getElementById(\"ai-form-email\").value;\n            var totalAmount = document.getElementById(\"total_amount\").value;\n            var month = document.getElementById(\"month\").value;\n            var admissionNumber = document.getElementById(\"admissionNumber\").value;\n            \n            // Additional code to process the payment or save the data\n        });\n    </script>', '2025-03-12 09:35:38', '2025-03-12 09:35:38'),
(28, '210177c7-a932-4c8b-b155-5644c2af4ea8', 3, 5, 'IOB school demo', NULL, 'Demo form', 1, '<style>* { box-sizing: border-box; } body {margin: 0;}.ai-form-container{max-width:400px;margin-top:0px;margin-right:auto;margin-bottom:0px;margin-left:auto;padding-top:20px;padding-right:20px;padding-bottom:20px;padding-left:20px;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:1px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(204, 204, 204);border-right-color:rgb(204, 204, 204);border-bottom-color:rgb(204, 204, 204);border-left-color:rgb(204, 204, 204);border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;background-color:rgb(249, 249, 249);}.ai-form-group{margin-bottom:10px;}.ai-form-label{font-weight:bold;}.ai-form-input{width:100%;padding-top:5px;padding-right:5px;padding-bottom:5px;padding-left:5px;margin-top:5px;}.ai-form-button{padding-top:10px;padding-right:20px;padding-bottom:10px;padding-left:20px;background-color:rgb(0, 123, 255);color:rgb(255, 255, 255);border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial;border-image-source:initial;border-image-slice:initial;border-image-width:initial;border-image-outset:initial;border-image-repeat:initial;cursor:pointer;}.ai-form-button:hover{background-color:rgb(0, 86, 179);}</style><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><title>Payment Collection Form</title><div class=\"ai-form-container\"><img src=\"https://iob.momentpay.co.in/uploads/iob.png\" alt=\"logo\" width=\"200\" id=\"ilik\"><form method=\"get\" id=\"paymentForm\"><div class=\"ai-form-group\"><label for=\"ai-form-school\" class=\"ai-form-label\">School:</label><select id=\"ai-form-school\" class=\"ai-form-input\"><option value=\"\">Select School</option><option value=\"Royal\">Royal</option><option value=\"Narayana\">Narayana</option><option value=\"Gogia\">Gogia</option></select></div><div class=\"ai-form-group\"><label for=\"ai-form-admission\" class=\"ai-form-label\">Admission Number:</label><input type=\"text\" id=\"ai-form-admission\" class=\"ai-form-input\"></div><div class=\"ai-form-group\"><label for=\"ai-form-name\" class=\"ai-form-label\">Name:</label><input type=\"text\" id=\"ai-form-name\" class=\"ai-form-input\"></div><div class=\"ai-form-group\"><label for=\"ai-form-email\" class=\"ai-form-label\">Email:</label><input type=\"email\" id=\"ai-form-email\" class=\"ai-form-input\"></div><div class=\"ai-form-group\"><label for=\"total_amount\" class=\"ai-form-label\">Total Amount:</label><input type=\"text\" id=\"total_amount\" class=\"ai-form-input\"></div><button type=\"submit\" class=\"ai-form-button\">Submit Payment</button></form></div>', '2025-03-13 06:46:39', '2025-03-13 06:46:39');

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

--
-- Table structure for table `web_orders`
--

CREATE TABLE IF NOT EXISTS `web_orders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `website_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `gateway_id` bigint UNSIGNED DEFAULT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `meta` json NOT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `payment_status` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `web_orders_uuid_unique` (`uuid`),
  KEY `web_orders_user_id_foreign` (`user_id`),
  KEY `web_orders_website_id_foreign` (`website_id`),
  KEY `web_orders_currency_id_foreign` (`currency_id`),
  KEY `web_orders_gateway_id_foreign` (`gateway_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `web_test_orders`
--

CREATE TABLE IF NOT EXISTS `web_test_orders` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `uuid` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint UNSIGNED DEFAULT NULL,
  `website_id` bigint UNSIGNED DEFAULT NULL,
  `currency_id` bigint UNSIGNED DEFAULT NULL,
  `gateway_id` bigint UNSIGNED DEFAULT NULL,
  `trx` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reference_code` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` double DEFAULT NULL,
  `charge` double DEFAULT NULL,
  `rate` double DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `meta` json NOT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `payment_status` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `web_test_orders_uuid_unique` (`uuid`),
  KEY `web_test_orders_user_id_foreign` (`user_id`),
  KEY `web_test_orders_website_id_foreign` (`website_id`),
  KEY `web_test_orders_currency_id_foreign` (`currency_id`),
  KEY `web_test_orders_gateway_id_foreign` (`gateway_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `web_test_orders`
--

INSERT INTO `web_test_orders` (`id`, `uuid`, `user_id`, `website_id`, `currency_id`, `gateway_id`, `trx`, `reference_code`, `amount`, `charge`, `rate`, `quantity`, `meta`, `paid_at`, `payment_status`, `created_at`, `updated_at`) VALUES
(1, '063d7549-27de-471a-8e03-714b32aa6619', 3, 1, 1, 14, 'rf0e5F5jNC', 'ref_1', 10, -0.3, 1, 1, '{\"title\": \"test payment\", \"last_name\": \"doe\", \"first_name\": \"jhone\", \"ip_address\": \"54.86.50.139\", \"user-agent\": \"PostmanRuntime/7.43.0\", \"description\": \"payment description\", \"callback_url\": \"https://demo.ctrmv.com/premtest/index.php\"}', '2025-03-02 11:06:48', 1, '2025-03-02 11:03:47', '2025-03-02 11:06:48');

--
-- Constraints for dumped tables
--

--
-- Constraints for table `appointments`
--
ALTER TABLE `appointments`
  ADD CONSTRAINT `appointments_provider_id_foreign` FOREIGN KEY (`provider_id`) REFERENCES `providers` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `attendees`
--
ALTER TABLE `attendees`
  ADD CONSTRAINT `attendees_booking_id_foreign` FOREIGN KEY (`booking_id`) REFERENCES `bookings` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `banks`
--
ALTER TABLE `banks`
  ADD CONSTRAINT `banks_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `bookings`
--
ALTER TABLE `bookings`
  ADD CONSTRAINT `bookings_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `bookings_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `tickets` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_bookings_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `deposits`
--
ALTER TABLE `deposits`
  ADD CONSTRAINT `deposits_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`),
  ADD CONSTRAINT `deposits_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`),
  ADD CONSTRAINT `deposits_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `donationorders`
--
ALTER TABLE `donationorders`
  ADD CONSTRAINT `donationorders_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `donationorders_donation_id_foreign` FOREIGN KEY (`donation_id`) REFERENCES `donations` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `donationorders_donor_id_foreign` FOREIGN KEY (`donor_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `donationorders_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `donationorders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `donations`
--
ALTER TABLE `donations`
  ADD CONSTRAINT `donations_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `donations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `events`
--
ALTER TABLE `events`
  ADD CONSTRAINT `fk_events_category` FOREIGN KEY (`category_id`) REFERENCES `event_categories` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `gateways`
--
ALTER TABLE `gateways`
  ADD CONSTRAINT `gateways_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`);

--
-- Constraints for table `invoices`
--
ALTER TABLE `invoices`
  ADD CONSTRAINT `invoices_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `invoices_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `invoice_items`
--
ALTER TABLE `invoice_items`
  ADD CONSTRAINT `invoice_items_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `invoices` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `kyc_method_user`
--
ALTER TABLE `kyc_method_user`
  ADD CONSTRAINT `kyc_method_user_kyc_method_id_foreign` FOREIGN KEY (`kyc_method_id`) REFERENCES `kyc_methods` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `kyc_method_user_kyc_request_id_foreign` FOREIGN KEY (`kyc_request_id`) REFERENCES `kyc_requests` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `kyc_method_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `kyc_requests`
--
ALTER TABLE `kyc_requests`
  ADD CONSTRAINT `kyc_requests_kyc_method_id_foreign` FOREIGN KEY (`kyc_method_id`) REFERENCES `kyc_methods` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `kyc_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `media`
--
ALTER TABLE `media`
  ADD CONSTRAINT `media_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `moneyrequests`
--
ALTER TABLE `moneyrequests`
  ADD CONSTRAINT `moneyrequests_approved_currency_id_foreign` FOREIGN KEY (`approved_currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `moneyrequests_receiver_id_foreign` FOREIGN KEY (`receiver_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `moneyrequests_request_currency_id_foreign` FOREIGN KEY (`request_currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `moneyrequests_sender_id_foreign` FOREIGN KEY (`sender_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
  ADD CONSTRAINT `orders_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_shipping_id_foreign` FOREIGN KEY (`shipping_id`) REFERENCES `shippings` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_storefront_id_foreign` FOREIGN KEY (`storefront_id`) REFERENCES `storefronts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payouts`
--
ALTER TABLE `payouts`
  ADD CONSTRAINT `payouts_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `payouts_user_bank_id_foreign` FOREIGN KEY (`user_bank_id`) REFERENCES `user_banks` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `payouts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`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_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_categories`
--
ALTER TABLE `product_categories`
  ADD CONSTRAINT `product_categories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_storefront`
--
ALTER TABLE `product_storefront`
  ADD CONSTRAINT `product_storefront_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `product_storefront_storefront_id_foreign` FOREIGN KEY (`storefront_id`) REFERENCES `storefronts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `provider_availabilities`
--
ALTER TABLE `provider_availabilities`
  ADD CONSTRAINT `provider_availabilities_provider_id_foreign` FOREIGN KEY (`provider_id`) REFERENCES `providers` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `qrpayments`
--
ALTER TABLE `qrpayments`
  ADD CONSTRAINT `qrpayments_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `qrpayments_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `qrpayments_seller_id_foreign` FOREIGN KEY (`seller_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `shippings`
--
ALTER TABLE `shippings`
  ADD CONSTRAINT `shippings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `singlechargeorders`
--
ALTER TABLE `singlechargeorders`
  ADD CONSTRAINT `singlechargeorders_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `singlechargeorders_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `singlechargeorders_singlecharge_id_foreign` FOREIGN KEY (`singlecharge_id`) REFERENCES `singlecharges` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `singlechargeorders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `singlecharges`
--
ALTER TABLE `singlecharges`
  ADD CONSTRAINT `singlecharges_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `singlecharges_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `storefronts`
--
ALTER TABLE `storefronts`
  ADD CONSTRAINT `storefronts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `supports`
--
ALTER TABLE `supports`
  ADD CONSTRAINT `supports_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `support_metas`
--
ALTER TABLE `support_metas`
  ADD CONSTRAINT `support_metas_sender_id_foreign` FOREIGN KEY (`sender_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `support_metas_support_id_foreign` FOREIGN KEY (`support_id`) REFERENCES `supports` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `termcategories`
--
ALTER TABLE `termcategories`
  ADD CONSTRAINT `termcategories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `termcategories_term_id_foreign` FOREIGN KEY (`term_id`) REFERENCES `terms` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `tickets`
--
ALTER TABLE `tickets`
  ADD CONSTRAINT `fk_tickets_event` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `tickets_event_id_foreign` FOREIGN KEY (`event_id`) REFERENCES `events` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `transactions`
--
ALTER TABLE `transactions`
  ADD CONSTRAINT `transactions_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `transactions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `transfers`
--
ALTER TABLE `transfers`
  ADD CONSTRAINT `transfers_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `transfers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_banks`
--
ALTER TABLE `user_banks`
  ADD CONSTRAINT `user_banks_bank_id_foreign` FOREIGN KEY (`bank_id`) REFERENCES `banks` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_banks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `user_plans`
--
ALTER TABLE `user_plans`
  ADD CONSTRAINT `user_plans_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_plans_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `user_plan_subscribers`
--
ALTER TABLE `user_plan_subscribers`
  ADD CONSTRAINT `user_plan_subscribers_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_plan_subscribers_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_plan_subscribers_subscriber_id_foreign` FOREIGN KEY (`subscriber_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_plan_subscribers_user_plan_id_foreign` FOREIGN KEY (`user_plan_id`) REFERENCES `user_plans` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `web_orders`
--
ALTER TABLE `web_orders`
  ADD CONSTRAINT `web_orders_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_orders_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_orders_website_id_foreign` FOREIGN KEY (`website_id`) REFERENCES `websites` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `web_test_orders`
--
ALTER TABLE `web_test_orders`
  ADD CONSTRAINT `web_test_orders_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_test_orders_gateway_id_foreign` FOREIGN KEY (`gateway_id`) REFERENCES `gateways` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_test_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `web_test_orders_website_id_foreign` FOREIGN KEY (`website_id`) REFERENCES `websites` (`id`) ON DELETE SET NULL;
COMMIT;

