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

START TRANSACTION;



--
-- Database: `binanbtc`
--

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

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

CREATE TABLE `banks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `order` int(11) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `banks` (`id`, `name`, `logo`, `order`, `note`, `is_active`, `user_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'ไทยพาณิชย์ (SCB)', '', 0, NULL, 1, 2, NULL, '2023-09-04 15:28:43', '2023-09-08 04:31:58'),
(2, 'กรุงไทย(KTB)', '', 0, NULL, 1, 2, NULL, '2023-09-04 15:28:46', '2023-09-08 04:28:02'),
(3, 'กสิกรไทย (Kbank)', '', 0, NULL, 1, 2, NULL, '2023-09-04 15:28:50', '2023-09-08 04:27:34'),
(4, 'กรุงเทพ (BBL)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:34:06', '2023-09-08 04:34:06'),
(5, 'ทหารไทยธนชาติ (TTB)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:34:46', '2023-09-08 04:39:03'),
(6, 'ออมสิน (GSB)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:35:11', '2023-09-08 04:35:11'),
(7, 'กรุงศรีอยุธยา (BAY)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:36:13', '2023-09-08 04:36:13'),
(8, 'ซีไอเอ็มบี (CIMB)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:36:46', '2023-09-08 04:40:37'),
(9, 'เพื่อการเกษตรและสหกรณ์การเกษตร (BAAC)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:37:22', '2023-09-08 04:40:28'),
(10, 'ซิตี้แบงค์ (CITI)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:38:04', '2023-09-08 04:40:13'),
(11, 'อาคารสงเคราะห์ (GHB)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:38:43', '2023-09-08 04:39:12'),
(12, 'เกียรตินาคิน (KK)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:41:38', '2023-09-08 04:41:38'),
(13, 'แลนด์ แอนด์ เฮ้าส์ (LHBANK)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:42:07', '2023-09-08 04:42:07'),
(14, 'ทรูมันนี่วอเลต (truemoney Wallet)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:42:35', '2023-09-08 04:45:15'),
(15, 'ยูโอบี (UOB)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:45:59', '2023-09-08 04:45:59'),
(16, 'สแตนดาร์ดชาร์เตอร์ด (SCBT)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:46:44', '2023-09-08 04:46:44'),
(17, 'อิสลามแห่งประเทศไทย (ISBT)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:47:40', '2023-09-08 04:47:40'),
(18, 'ไทยเครดิต เพื่อรายย่อย (TCR)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:48:26', '2023-09-08 04:48:26'),
(19, 'ทิสโก้ (TISCO)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:49:28', '2023-09-08 04:49:28'),
(20, 'พัฒนาวิสาหกิจขนาดกลางและขนาดย่อมแห่งประเทศไทย (SME)', '', 0, NULL, 1, 2, NULL, '2023-09-08 04:50:24', '2023-09-08 04:50:24');

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

--
-- Table structure for table `buy_sells`
--

CREATE TABLE `buy_sells` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `direction` varchar(255) NOT NULL,
  `amount` double(15,6) NOT NULL DEFAULT 0.000000,
  `commission` double(15,6) NOT NULL DEFAULT 0.000000,
  `opening_point` double(15,6) NOT NULL DEFAULT 0.000000,
  `closing_point` double(15,6) NOT NULL DEFAULT 0.000000,
  `seconds` int(11) NOT NULL DEFAULT 60,
  `status` int(11) NOT NULL DEFAULT 0,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `member_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `profit` double(15,6) NOT NULL DEFAULT 0.000000
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `buy_sells`
--

INSERT INTO `buy_sells` (`id`, `direction`, `amount`, `commission`, `opening_point`, `closing_point`, `seconds`, `status`, `product_id`, `member_id`, `deleted_at`, `created_at`, `updated_at`, `profit`) VALUES
(424, 'up', 100.000000, 110.000000, 67698.550000, 0.000000, 120, 1, 16, 57, NULL, '2024-05-28 07:00:00', '2024-05-28 09:06:08', 110.000000),
(425, 'up', 100.000000, 110.000000, 0.814100, 0.000000, 60, 1, 18, 57, NULL, '2024-05-28 10:29:40', '2024-05-28 10:30:26', 110.000000),
(426, 'down', 100.000000, 110.000000, 472.370000, 0.000000, 60, 1, 20, 57, NULL, '2024-05-28 10:32:14', '2024-05-28 10:32:39', 10.000000),
(427, 'down', 100.000000, 110.000000, 0.814100, 0.000000, 60, 2, 18, 57, NULL, '2024-05-28 10:33:55', '2024-05-28 10:34:21', -100.000000);

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

--
-- Table structure for table `deposit_withdraws`
--

CREATE TABLE `deposit_withdraws` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `cash_type` varchar(255) NOT NULL,
  `amount` double(15,2) NOT NULL DEFAULT 0.00,
  `promotion` double(15,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `member_id` bigint(20) UNSIGNED DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` smallint(6) NOT NULL DEFAULT 0,
  `image` varchar(255) DEFAULT NULL,
  `show_in_customer_report` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `deposit_withdraws`
--

INSERT INTO `deposit_withdraws` (`id`, `cash_type`, `amount`, `promotion`, `note`, `member_id`, `user_id`, `deleted_at`, `created_at`, `updated_at`, `status`, `image`, `show_in_customer_report`) VALUES
(362, 'cash_in', 0.00, 1000.00, NULL, 57, 1, NULL, '2024-05-28 05:31:50', '2024-05-28 05:31:50', 1, NULL, 1);

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

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

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `invitation_codes`
--

CREATE TABLE `invitation_codes` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_staff_code` tinyint(1) NOT NULL DEFAULT 0,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `invitation_codes`
--

INSERT INTO `invitation_codes` (`id`, `code`, `user_id`, `is_staff_code`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, '001', 1, 1, NULL, '2024-03-28 17:20:32', '2024-03-28 17:20:32'),
(2, '00186d8ce99', 63, 0, NULL, '2024-03-28 17:36:28', '2024-03-28 17:36:28'),
(3, '001ff43646e', 64, 0, NULL, '2024-03-28 17:45:38', '2024-03-28 17:45:38'),
(4, '00161e95759', 65, 0, NULL, '2024-05-28 02:15:26', '2024-05-28 02:15:26');

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

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

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(37, '2014_10_12_000000_create_users_table', 1),
(38, '2014_10_12_100000_create_password_resets_table', 1),
(39, '2019_08_19_000000_create_failed_jobs_table', 1),
(40, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(41, '2022_04_15_130146_create_permission_tables', 1),
(42, '2023_08_01_022821_create_banks_table', 1),
(43, '2023_08_09_043107_create_members_table', 1),
(44, '2023_08_16_151219_add_credit_to_members_table', 1),
(45, '2023_08_16_171549_create_deposit_withdraws_table', 1),
(46, '2023_08_19_120611_create_settings_table', 1),
(47, '2023_08_20_004345_add_status_to_deposit_withdraws_table', 1),
(48, '2023_08_20_134401_add_profile_photo_to_members', 1),
(49, '2023_08_20_202426_create_products_table', 1),
(50, '2023_08_20_211804_create_slides_table', 1),
(51, '2023_08_24_163357_add_address_to_tbl_members-table=members', 1),
(52, '2023_08_29_234028_create_notifications_table', 1),
(53, '2023_08_30_155515_add_image_to_deposit_withdraws_table', 1),
(54, '2023_08_30_165707_add_dob_to_members_table', 1),
(56, '2023_09_01_214007_create_sectors_table', 2),
(60, '2023_09_02_205848_create_product_prices_table', 3),
(61, '2023_09_06_204939_add_is_active_to_products', 4),
(62, '2023_09_06_212349_add_datetime_product_prices', 4),
(66, '2023_09_06_233249_create_buy_sells_table', 5),
(67, '2023_09_07_232703_add_commission_rate_to_products_table', 6),
(68, '2023_11_10_162613_add_embedded_graph_to_product_tbl', 7),
(69, '2023_11_21_205402_add_order_to_table_products', 8),
(70, '2023_12_27_194251_create_invitation_codes_table', 9),
(71, '2023_12_27_194270_add_invitation_code_id_to_users_table', 9),
(72, '2023_12_29_234554_add_credit_score_to_members_table', 9),
(73, '2024_01_11_121748_add_vip_to_members_table', 9),
(74, '2024_03_05_225551_add_embedded_graph_to_products_table', 9),
(75, '2024_03_18_235947_add_withdrawal_code_to_members_table', 10),
(76, '2024_03_23_155726_add_withdrawal_password_to_members_table', 11),
(77, '2024_03_26_213519_add_is_crypto_to_products_table', 12),
(78, '2024_04_21_222723_add_exchange_currency_image_to_settings_table', 13),
(79, '2024_04_28_235623_add_show_in_customer_report_in_deposit_withdraws_table', 13),
(80, '2024_05_16_185658_add_country_to_member_tbl', 13),
(81, '2024_05_17_222603_add_id_card_to_members_tbl', 13),
(82, '2024_05_28_152653_add_crypto_to_products', 14);

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

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

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) 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', 53),
(1, 'App\\Models\\User', 54),
(1, 'App\\Models\\User', 55),
(1, 'App\\Models\\User', 56),
(1, 'App\\Models\\User', 57),
(1, 'App\\Models\\User', 58),
(1, 'App\\Models\\User', 59),
(1, 'App\\Models\\User', 60),
(1, 'App\\Models\\User', 61),
(1, 'App\\Models\\User', 62),
(1, 'App\\Models\\User', 63),
(1, 'App\\Models\\User', 64),
(1, 'App\\Models\\User', 65),
(2, 'App\\Models\\User', 1);

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

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `message` text DEFAULT NULL,
  `already_read` tinyint(1) NOT NULL DEFAULT 0,
  `member_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--

INSERT INTO `notifications` (`id`, `message`, `already_read`, `member_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(65, '123', 0, 57, NULL, '2024-05-28 06:35:41', '2024-05-28 06:35:41');

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

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

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'role-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(2, 'role-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(3, 'role-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(4, 'role-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(5, 'user-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(6, 'user-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(7, 'user-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(8, 'user-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(9, 'bank-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(10, 'bank-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(11, 'bank-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(12, 'bank-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(13, 'member-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(14, 'member-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(15, 'member-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(16, 'member-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(17, 'deposit-withdraw-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(18, 'deposit-withdraw-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(19, 'deposit-withdraw-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(20, 'deposit-withdraw-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(21, 'slide-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(22, 'slide-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(23, 'slide-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(24, 'slide-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(25, 'report-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(26, 'setup-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(27, 'product-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(28, 'product-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(29, 'product-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(30, 'product-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(31, 'setting-list', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(32, 'setting-create', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(33, 'setting-edit', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(34, 'setting-delete', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(35, 'sector-list', 'web', '2023-09-01 14:47:07', '2023-09-01 14:47:07'),
(36, 'sector-create', 'web', '2023-09-01 14:47:07', '2023-09-01 14:47:07'),
(37, 'sector-edit', 'web', '2023-09-01 14:47:07', '2023-09-01 14:47:07'),
(38, 'sector-delete', 'web', '2023-09-01 14:47:07', '2023-09-01 14:47:07'),
(39, 'deposit-promotion', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27'),
(40, 'withdraw-promotion', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27'),
(41, 'invitationCode-list', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27'),
(42, 'invitationCode-create', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27'),
(43, 'invitationCode-edit', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27'),
(44, 'invitationCode-delete', 'web', '2024-03-28 17:19:27', '2024-03-28 17:19:27');

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

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

CREATE TABLE `products` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 0,
  `image` text DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `sector_id` bigint(20) UNSIGNED DEFAULT NULL,
  `current_price` double(15,6) NOT NULL DEFAULT 0.000000,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `commission_rate` double(15,6) NOT NULL DEFAULT 100.000000,
  `order` int(11) NOT NULL,
  `embedded_graph` text NOT NULL,
  `is_crypto` varchar(255) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `products` (`id`, `name`, `detail`, `status`, `image`, `user_id`, `deleted_at`, `created_at`, `updated_at`, `sector_id`, `current_price`, `is_active`, `commission_rate`, `order`, `embedded_graph`, `is_crypto`) VALUES
(16, 'BTC', 'bitcoin', 0, 'images/slides/1794883772532412.png', 1, NULL, '2024-03-29 17:20:28', '2024-05-28 10:52:34', 2, 69594.000000, 1, 10.000000, 1, '#', '1'),
(17, 'ETH', 'ethereum', 0, 'images/slides/1794883903975658.png', 1, NULL, '2024-03-29 17:51:06', '2024-05-28 10:52:27', 1, 3621.090000, 1, 10.000000, 2, '#', '1'),
(18, 'EOS', 'eos', 0, 'images/slides/1794884305961440.png', 1, NULL, '2024-03-29 17:57:26', '2024-04-01 07:02:35', 2, 1.068800, 1, 10.000000, 3, '', '1'),
(19, 'DOGE', 'dogecoin', 0, 'images/slides/1794884561049880.png', 1, NULL, '2024-03-29 17:59:25', '2024-04-01 07:03:07', 2, 0.205832, 1, 10.000000, 4, '', '1'),
(20, 'BNB', 'binancecoin', 0, 'images/slides/1800313953584063.png', 1, NULL, '2024-03-29 18:04:34', '2024-05-28 16:19:39', 2, 682.630000, 1, 10.000000, 5, '', '1'),
(21, 'LTC', 'litecoin', 0, 'images/slides/1794884844815281.png', 1, NULL, '2024-03-29 18:06:17', '2024-04-01 07:04:06', 2, 108.060000, 1, 10.000000, 6, '', '1'),
(22, 'TRX', 'tron', 0, 'images/slides/1794884969766116.png', 1, NULL, '2024-03-29 18:08:16', '2024-04-01 07:04:27', 2, 0.121501, 1, 10.000000, 7, '', '1'),
(23, 'XRP', 'ripple', 0, 'images/slides/1794885028325586.png', 1, NULL, '2024-03-29 18:09:12', '2024-04-01 07:04:48', 2, 0.614390, 1, 10.000000, 8, '', '1'),
(24, 'IOTA', NULL, 0, 'images/slides/1794885232850167.png', 1, NULL, '2024-03-29 18:12:27', '2024-05-28 15:50:30', 2, 0.340000, 0, 10.000000, 9, '', '1'),
(25, 'FIL', NULL, 0, 'images/slides/1794885348085838.png', 1, NULL, '2024-03-29 18:14:17', '2024-05-28 15:50:21', 2, 9.730000, 0, 10.000000, 10, '', '1'),
(26, 'ETC', 'ethereum-classic', 0, 'images/slides/1800315157157087.png', 1, NULL, '2024-03-29 18:17:08', '2024-05-29 10:20:05', 2, 0.630000, 1, 10.000000, 11, '', '1'),
(27, 'ARG', 'gg', 0, 'images/slides/1800313806861656.png', 1, NULL, '2024-03-29 18:18:17', '2024-05-29 09:46:03', 2, 1.288500, 0, 10.000000, 12, '', '1'),
(28, 'JST', 'elastos', 0, 'images/slides/1794885626019916.png', 1, NULL, '2024-03-29 18:18:42', '2024-05-29 11:13:48', 2, 0.039465, 0, 10.000000, 13, '', '1'),
(29, 'GHST', 'ghst', 0, 'images/slides/1800313233565658.png', 1, NULL, '2024-03-29 18:19:19', '2024-05-29 08:31:23', 2, 120.770000, 0, 10.000000, 14, '', '1'),
(30, 'CAKE', 'pancakeswap', 0, 'images/slides/1800311833931507.png', 1, NULL, '2024-03-29 18:19:35', '2024-05-29 10:20:18', 2, 0.000000, 1, 10.000000, 15, '', '1'),
(31, 'ZEC', NULL, 0, 'images/slides/1794885702799265.png', 1, NULL, '2024-03-29 18:19:55', '2024-05-28 12:34:33', 2, 29.580000, 0, 10.000000, 16, '', '1'),
(32, 'PTT', NULL, 0, 'images/slides/1795113724000582.png', 1, NULL, '2024-04-01 06:38:42', '2024-05-28 10:39:11', 2, 69727.000000, 0, 10.000000, 20, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=BITSTAMP%3ABTCUSD&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(33, 'HSCEI', NULL, 0, 'images/slides/1795113773876277.png', 1, NULL, '2024-04-01 06:39:15', '2024-05-28 10:24:20', 2, 734.000000, 0, 10.000000, 21, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:COST&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(34, 'PTTEP', NULL, 0, 'images/slides/1795113800773750.png', 1, NULL, '2024-04-01 06:39:41', '2024-05-28 10:24:02', 2, 4.630000, 0, 10.000000, 22, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NYSE:AMC&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(35, 'GULF', NULL, 0, 'images/slides/1795113823634232.png', 1, NULL, '2024-04-01 06:40:00', '2024-05-28 10:23:56', 2, 4.900000, 0, 10.000000, 23, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NYSE:NIO&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(36, 'ICHI', NULL, 0, 'images/slides/1795113853203477.jpeg', 1, NULL, '2024-04-01 06:40:17', '2024-05-28 10:20:58', 2, 22.580000, 0, 10.000000, 24, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:MARA&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(37, 'DJI', NULL, 0, 'images/slides/1795114155057683.jpeg', 1, NULL, '2024-04-01 06:40:32', '2024-05-28 10:20:48', 2, 152.000000, 0, 10.000000, 25, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:GOOG&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(38, 'CPF', NULL, 0, 'images/slides/1795114119475464.png', 1, NULL, '2024-04-01 06:40:49', '2024-05-28 10:20:43', 2, 69760.000000, 0, 10.000000, 26, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=BITSTAMP%3ABTCUSD&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(39, 'SPX', NULL, 0, 'images/slides/1795114099253831.png', 1, NULL, '2024-04-01 06:41:03', '2024-05-28 10:20:26', 2, 151.230000, 0, 10.000000, 27, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:GOOGL&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(40, 'AMATA', NULL, 0, 'images/slides/1795114074858308.png', 1, NULL, '2024-04-01 06:41:20', '2024-05-28 10:20:07', 2, 621.000000, 0, 10.000000, 28, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:NFLX&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(41, 'BTG', NULL, 0, 'images/slides/1795114048814075.png', 1, NULL, '2024-04-01 06:41:36', '2024-05-28 10:19:58', 2, 423.000000, 0, 10.000000, 29, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:MSFT&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(42, 'AURA', NULL, 0, 'images/slides/1795114027341529.png', 1, NULL, '2024-04-01 06:41:51', '2024-05-28 10:42:37', 2, 499.000000, 0, 10.000000, 30, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:META&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(43, 'CBG', NULL, 0, 'images/slides/1795113982468029.png', 1, NULL, '2024-04-01 06:42:13', '2024-05-28 10:19:19', 2, 180.750000, 0, 10.000000, 31, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:AMD&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(44, '3K-BAT', NULL, 0, 'images/slides/1795113956681595.png', 1, NULL, '2024-04-01 06:42:33', '2024-05-28 10:19:04', 2, 913.330000, 0, 10.000000, 32, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:NVDA&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(45, 'DITTO', NULL, 0, 'images/slides/1795113926594997.png', 1, NULL, '2024-04-01 06:42:47', '2024-05-28 10:18:51', 2, 173.530000, 0, 10.000000, 33, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:AAPL&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0'),
(46, 'DETA', NULL, 0, 'images/slides/1795113879606871.png', 1, NULL, '2024-04-01 06:43:09', '2024-05-28 10:18:42', 2, 176.000000, 0, 10.000000, 34, 'https://s.tradingview.com/widgetembed/?frameElementId=tradingview_0fe6e&symbol=NASDAQ:TSLA&interval=D&hidesidetoolbar=0&symboledit=1&saveimage=0&toolbarbg=f1f3f6&studies=ROC%40tv-basicstudies%1FStochasticRSI%40tv-basicstudies%1FMASimple%40tv-basicstudies&hideideas=1&theme=White&style=1&timezone=exchange&withdateranges=1&showpopupbutton=1&studies_overrides=%7B%7D&overrides=%7B%7D&enabled_features=%5B%5D&disabled_features=%5B%5D&showpopupbutton=1&utm_source=localhost&utm_medium=widget&utm_campaign=chart&utm_term=BITSTAMP%3ABTCUSD#%7B%22page-uri%22%3A%22localhost%2Fbualuangth%2Fgoods%2Fid1.php%22%7D', '0');

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

--
-- Table structure for table `product_prices`
--

CREATE TABLE `product_prices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `price` double(15,6) NOT NULL DEFAULT 0.000000,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `datetime` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product_prices`
--

INSERT INTO `product_prices` (`id`, `price`, `product_id`, `user_id`, `deleted_at`, `created_at`, `updated_at`, `datetime`) VALUES
(4437, 69593.000000, 16, 1, NULL, '2024-04-01 06:53:20', '2024-04-01 06:53:20', '2024-04-01 13:53:12'),
(4438, 69594.000000, 16, 1, NULL, '2024-04-01 06:53:26', '2024-04-01 06:53:26', '2024-04-01 13:53:20'),
(4439, 3626.000000, 17, 1, NULL, '2024-04-01 07:01:15', '2024-04-01 07:01:15', '2024-04-01 13:53:26'),
(4440, 3621.090000, 17, 1, NULL, '2024-04-01 07:01:19', '2024-04-01 07:01:19', '2024-04-01 14:01:15'),
(4441, 0.990000, 18, 1, NULL, '2024-04-01 07:02:30', '2024-04-01 07:02:30', '2024-04-01 14:01:19'),
(4442, 1.068800, 18, 1, NULL, '2024-04-01 07:02:35', '2024-04-01 07:02:35', '2024-04-01 14:02:30'),
(4443, 0.200000, 19, 1, NULL, '2024-04-01 07:03:01', '2024-04-01 07:03:01', '2024-04-01 14:02:35'),
(4444, 0.205832, 19, 1, NULL, '2024-04-01 07:03:07', '2024-04-01 07:03:07', '2024-04-01 14:03:01'),
(4445, 680.000000, 20, 1, NULL, '2024-04-01 07:03:41', '2024-04-01 07:03:41', '2024-04-01 14:03:07'),
(4446, 682.630000, 20, 1, NULL, '2024-04-01 07:03:46', '2024-04-01 07:03:46', '2024-04-01 14:03:41'),
(4447, 105.000000, 21, 1, NULL, '2024-04-01 07:03:57', '2024-04-01 07:03:57', '2024-04-01 14:03:46'),
(4448, 108.060000, 21, 1, NULL, '2024-04-01 07:04:06', '2024-04-01 07:04:06', '2024-04-01 14:03:57'),
(4449, 0.120000, 22, 1, NULL, '2024-04-01 07:04:23', '2024-04-01 07:04:23', '2024-04-01 14:04:06'),
(4450, 0.121501, 22, 1, NULL, '2024-04-01 07:04:27', '2024-04-01 07:04:27', '2024-04-01 14:04:23'),
(4451, 0.617000, 23, 1, NULL, '2024-04-01 07:04:42', '2024-04-01 07:04:42', '2024-04-01 14:04:27'),
(4452, 0.614390, 23, 1, NULL, '2024-04-01 07:04:48', '2024-04-01 07:04:48', '2024-04-01 14:04:42'),
(4453, 0.300000, 24, 1, NULL, '2024-04-01 07:05:21', '2024-04-01 07:05:21', '2024-04-01 14:04:48'),
(4454, 0.340000, 24, 1, NULL, '2024-04-01 07:05:26', '2024-04-01 07:05:26', '2024-04-01 14:05:21'),
(4455, 9.000000, 25, 1, NULL, '2024-04-01 07:06:22', '2024-04-01 07:06:22', '2024-04-01 14:05:55'),
(4456, 9.730000, 25, 1, NULL, '2024-04-01 07:06:31', '2024-04-01 07:06:31', '2024-04-01 14:06:22'),
(4457, 0.650000, 26, 1, NULL, '2024-04-01 07:06:46', '2024-04-01 07:07:08', '2024-04-01 14:06:31'),
(4458, 0.630000, 26, 1, NULL, '2024-04-01 07:07:18', '2024-04-01 07:07:18', '2024-04-01 14:07:08'),
(4459, 1.280000, 27, 1, NULL, '2024-04-01 07:07:37', '2024-04-01 07:07:37', '2024-04-01 14:07:18'),
(4460, 1.288500, 27, 1, NULL, '2024-04-01 07:07:42', '2024-04-01 07:07:42', '2024-04-01 14:07:37'),
(4461, 0.041200, 28, 1, NULL, '2024-04-01 07:07:55', '2024-04-01 07:07:55', '2024-04-01 14:07:42'),
(4462, 0.039465, 28, 1, NULL, '2024-04-01 07:08:01', '2024-04-01 07:08:01', '2024-04-01 14:07:55'),
(4463, 124.000000, 29, 1, NULL, '2024-04-01 07:08:19', '2024-04-01 07:08:19', '2024-04-01 14:08:01'),
(4464, 120.770000, 29, 1, NULL, '2024-04-01 07:08:23', '2024-04-01 07:08:23', '2024-04-01 14:08:19'),
(4465, 29.000000, 31, 1, NULL, '2024-04-01 07:08:38', '2024-04-01 07:08:38', '2024-04-01 14:08:23'),
(4466, 29.580000, 31, 1, NULL, '2024-04-01 07:08:51', '2024-04-01 07:08:51', '2024-04-01 14:08:38'),
(4467, 6970.000000, 42, 1, '2024-04-01 07:16:53', '2024-04-01 07:10:15', '2024-04-01 07:16:53', '2024-04-01 14:08:51'),
(4468, 69760.000000, 34, 1, '2024-04-01 07:13:18', '2024-04-01 07:10:57', '2024-04-01 07:13:18', '2024-04-01 14:10:15'),
(4469, 69760.000000, 32, 1, NULL, '2024-04-01 07:11:18', '2024-04-01 07:11:18', '2024-04-01 14:10:57'),
(4470, 69727.000000, 32, 1, NULL, '2024-04-01 07:11:35', '2024-04-01 07:11:35', '2024-04-01 14:11:19'),
(4471, 730.000000, 33, 1, NULL, '2024-04-01 07:12:24', '2024-04-01 07:12:24', '2024-04-01 14:11:35'),
(4472, 734.000000, 33, 1, NULL, '2024-04-01 07:12:33', '2024-04-01 07:12:33', '2024-04-01 14:12:24'),
(4473, 4.500000, 35, 1, NULL, '2024-04-01 07:13:48', '2024-04-01 07:13:48', '2024-04-01 14:13:31'),
(4474, 4.900000, 35, 1, NULL, '2024-04-01 07:13:56', '2024-04-01 07:13:56', '2024-04-01 14:13:48'),
(4475, 21.900000, 36, 1, NULL, '2024-04-01 07:14:12', '2024-04-01 07:14:12', '2024-04-01 14:13:57'),
(4476, 22.580000, 36, 1, NULL, '2024-04-01 07:14:20', '2024-04-01 07:14:20', '2024-04-01 14:14:12'),
(4477, 150.000000, 37, 1, NULL, '2024-04-01 07:14:31', '2024-04-01 07:14:31', '2024-04-01 14:14:20'),
(4478, 152.000000, 37, 1, NULL, '2024-04-01 07:14:37', '2024-04-01 07:14:37', '2024-04-01 14:14:31'),
(4479, 69762.000000, 38, 1, NULL, '2024-04-01 07:15:06', '2024-04-01 07:15:06', '2024-04-01 14:14:37'),
(4480, 69760.000000, 38, 1, NULL, '2024-04-01 07:15:20', '2024-04-01 07:15:20', '2024-04-01 14:15:06'),
(4481, 149.000000, 39, 1, NULL, '2024-04-01 07:15:31', '2024-04-01 07:15:31', '2024-04-01 14:15:20'),
(4482, 151.230000, 39, 1, NULL, '2024-04-01 07:15:41', '2024-04-01 07:15:41', '2024-04-01 14:15:31'),
(4483, 607.000000, 40, 1, NULL, '2024-04-01 07:16:04', '2024-04-01 07:16:04', '2024-04-01 14:15:41'),
(4484, 621.000000, 40, 1, NULL, '2024-04-01 07:16:11', '2024-04-01 07:16:11', '2024-04-01 14:16:04'),
(4485, 420.000000, 41, 1, NULL, '2024-04-01 07:16:24', '2024-04-01 07:16:24', '2024-04-01 14:16:11'),
(4486, 423.000000, 41, 1, NULL, '2024-04-01 07:16:30', '2024-04-01 07:16:30', '2024-04-01 14:16:24'),
(4487, 485.000000, 42, 1, NULL, '2024-04-01 07:18:26', '2024-04-01 07:18:26', '2024-04-01 14:18:16'),
(4488, 499.000000, 42, 1, NULL, '2024-04-01 07:18:31', '2024-04-01 07:18:31', '2024-04-01 14:18:26'),
(4489, 180.390000, 43, 1, NULL, '2024-04-01 07:18:44', '2024-04-01 07:18:44', '2024-04-01 14:18:31'),
(4490, 180.750000, 43, 1, NULL, '2024-04-01 07:18:52', '2024-04-01 07:18:52', '2024-04-01 14:18:44'),
(4491, 903.000000, 44, 1, NULL, '2024-04-01 07:19:08', '2024-04-01 07:19:08', '2024-04-01 14:18:52'),
(4492, 913.330000, 44, 1, NULL, '2024-04-01 07:19:17', '2024-04-01 07:19:17', '2024-04-01 14:19:08'),
(4493, 171.200000, 45, 1, NULL, '2024-04-01 07:19:30', '2024-04-01 07:19:30', '2024-04-01 14:19:17'),
(4494, 173.530000, 45, 1, NULL, '2024-04-01 07:19:37', '2024-04-01 07:19:37', '2024-04-01 14:19:30'),
(4495, 176.500000, 46, 1, NULL, '2024-04-01 07:19:50', '2024-04-01 07:19:50', '2024-04-01 14:19:37'),
(4496, 176.000000, 46, 1, NULL, '2024-04-01 07:20:01', '2024-04-01 07:20:01', '2024-04-01 14:19:50'),
(4497, 4.320000, 34, 1, NULL, '2024-04-01 07:21:51', '2024-04-01 07:21:51', '2024-04-01 14:20:44'),
(4498, 4.630000, 34, 1, NULL, '2024-04-01 07:21:57', '2024-04-01 07:21:57', '2024-04-01 14:21:51');

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

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

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'Member', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(2, 'Admin', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(3, 'Supervisor', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29'),
(4, 'Staff', 'web', '2023-08-30 15:51:29', '2023-08-30 15:51:29');

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

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

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL
) 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, 2),
(1, 3),
(2, 2),
(2, 3),
(3, 2),
(3, 3),
(4, 2),
(4, 3),
(5, 2),
(5, 3),
(6, 2),
(6, 3),
(7, 2),
(7, 3),
(8, 2),
(8, 3),
(9, 2),
(9, 3),
(10, 2),
(10, 3),
(11, 2),
(11, 3),
(12, 2),
(12, 3),
(13, 2),
(13, 3),
(13, 4),
(14, 2),
(14, 3),
(14, 4),
(15, 2),
(15, 3),
(15, 4),
(16, 2),
(16, 3),
(16, 4),
(17, 2),
(17, 3),
(17, 4),
(18, 2),
(18, 3),
(18, 4),
(19, 2),
(19, 3),
(19, 4),
(20, 2),
(20, 3),
(20, 4),
(21, 2),
(21, 3),
(22, 2),
(22, 3),
(23, 2),
(23, 3),
(24, 2),
(24, 3),
(25, 2),
(25, 3),
(26, 2),
(26, 3),
(27, 2),
(27, 3),
(28, 2),
(28, 3),
(29, 2),
(29, 3),
(30, 2),
(30, 3),
(31, 2),
(31, 3),
(32, 2),
(32, 3),
(33, 2),
(33, 3),
(34, 2),
(34, 3),
(35, 2),
(35, 3),
(36, 2),
(36, 3),
(37, 2),
(37, 3),
(38, 2),
(38, 3),
(39, 2),
(40, 2),
(41, 2),
(42, 2),
(43, 2),
(44, 2);

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

--
-- Table structure for table `sectors`
--

CREATE TABLE `sectors` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `order` int(11) NOT NULL DEFAULT 0,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sectors`
--

INSERT INTO `sectors` (`id`, `name`, `order`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Technologies', 1, NULL, '2023-09-01 14:54:05', '2023-09-01 14:57:22'),
(2, 'Education', 0, NULL, '2023-09-01 15:15:53', '2023-09-02 14:07:15'),
(3, 'Real Estate', 0, NULL, '2023-09-01 15:15:57', '2023-09-02 14:07:23');

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

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

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `site_name` varchar(255) NOT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `fav_icon` varchar(255) DEFAULT NULL,
  `currency_name` varchar(255) DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `exchange_image` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `settings` (`id`, `site_name`, `logo`, `fav_icon`, `currency_name`, `is_active`, `deleted_at`, `created_at`, `updated_at`, `exchange_image`) VALUES
(1, 'binanbtc', 'images/site_logo/1800266104870361.png', 'images/site_logo/1800266235947049.png', 'THB', 1, NULL, '2023-08-30 15:50:29', '2024-05-28 02:41:12', NULL);

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

--
-- Table structure for table `slides`
--

CREATE TABLE `slides` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order` int(11) NOT NULL DEFAULT 0,
  `image` varchar(255) NOT NULL DEFAULT '1',
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `slides`
--

INSERT INTO `slides` (`id`, `order`, `image`, `user_id`, `is_active`, `deleted_at`, `created_at`, `updated_at`) VALUES
(22, 1, 'images/slides/1800315829532008.png', NULL, 1, NULL, '2024-03-29 17:01:41', '2024-05-28 16:49:29'),
(23, 2, 'images/slides/1800315847970559.png', NULL, 1, NULL, '2024-03-29 17:01:54', '2024-05-28 16:49:45'),
(24, 3, 'images/slides/1800388578872194.png', NULL, 1, NULL, '2024-03-29 17:02:03', '2024-05-29 12:05:48');

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

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

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

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

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

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Constraints for dumped tables
--

--
-- 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 `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;
COMMIT;

