text: -- phpMyAdmin SQL Dump
  -- version 4.9.0.1
  -- https://www.phpmyadmin.net/
  --
  -- Máy chủ: 127.0.0.1
  -- Thời gian đã tạo: Th12 06, 2019 lúc 02:55 AM
  -- Phiên bản máy phục vụ: 10.4.6-MariaDB
  -- Phiên bản PHP: 7.3.9
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  START TRANSACTION;
  SET time_zone = "+00:00";
  
  
  /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  /*!40101 SET NAMES utf8mb4 */;
  
  --
  -- Cơ sở dữ liệu: `note`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Cấu trúc bảng cho bảng `log_game`
  --
  
  CREATE TABLE `log_game` (
    `id` int(10) UNSIGNED NOT NULL,
    `name_game` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
    `id_user` int(10) UNSIGNED NOT NULL,
    `status` int(1) NOT NULL,
    `cash` int(255) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  
  --
  -- Đang đổ dữ liệu cho bảng `log_game`
  --
  
  INSERT INTO `log_game` (`id`, `name_game`, `id_user`, `status`, `cash`, `created_at`, `updated_at`) VALUES
  (2, 'taixiu', 2, 0, 100000, '2019-12-03 13:02:09', '2019-12-03 13:02:09'),
  (3, 'taixiu', 2, 0, 100000, '2019-12-03 13:02:19', '2019-12-03 13:02:19'),
  (4, 'taixiu', 2, 0, 38750, '2019-12-03 13:02:37', '2019-12-03 13:02:37'),
  (5, 'taixiu', 2, 1, 1000000, '2019-12-03 13:03:14', '2019-12-03 13:03:14'),
  (6, 'taixiu', 2, 1, 1000000, '2019-12-03 13:03:23', '2019-12-03 13:03:23'),
  (7, 'taixiu', 2, 1, 1000000, '2019-12-03 13:03:27', '2019-12-03 13:03:27'),
  (8, 'taixiu', 2, 0, 10000000, '2019-12-03 13:05:54', '2019-12-03 13:05:54'),
  (9, 'taixiu', 2, 1, 100000000, '2019-12-03 13:06:19', '2019-12-03 13:06:19'),
  (10, 'taixiu', 2, 0, 9999999, '2019-12-03 13:09:53', '2019-12-03 13:09:53'),
  (11, 'taixiu', 2, 0, 10000000, '2019-12-03 13:11:53', '2019-12-03 13:11:53'),
  (12, 'taixiu', 2, 1, 1000, '2019-12-03 13:12:45', '2019-12-03 13:12:45'),
  (13, 'taixiu', 2, 0, 74001001, '2019-12-03 13:14:03', '2019-12-03 13:14:03'),
  (14, 'taixiu', 2, 0, 24000, '2019-12-03 13:15:43', '2019-12-03 13:15:43'),
  (15, 'taixiu', 2, 0, 1000, '2019-12-03 13:15:51', '2019-12-03 13:15:51'),
  (16, 'taixiu', 2, 1, 1000, '2019-12-03 13:15:55', '2019-12-03 13:15:55'),
  (17, 'taixiu', 2, 1, 50000, '2019-12-03 13:17:30', '2019-12-03 13:17:30'),
  (18, 'taixiu', 2, 0, 1000, '2019-12-03 13:18:41', '2019-12-03 13:18:41'),
  (19, 'taixiu', 2, 1, 1000, '2019-12-03 13:18:49', '2019-12-03 13:18:49'),
  (20, 'taixiu', 2, 0, 1000, '2019-12-03 13:18:55', '2019-12-03 13:18:55'),
  (21, 'taixiu', 2, 0, 3000, '2019-12-03 13:23:41', '2019-12-03 13:23:41'),
  (22, 'taixiu', 2, 0, 146000, '2019-12-03 13:27:56', '2019-12-03 13:27:56'),
  (23, 'taixiu', 2, 1, 1000, '2019-12-03 13:35:41', '2019-12-03 13:35:41'),
  (24, 'taixiu', 2, 1, 1000, '2019-12-03 13:38:17', '2019-12-03 13:38:17'),
  (25, 'taixiu', 2, 0, 1000, '2019-12-03 13:38:30', '2019-12-03 13:38:30'),
  (26, 'taixiu', 2, 1, 100000, '2019-12-03 13:39:11', '2019-12-03 13:39:11'),
  (27, 'taixiu', 2, 0, 1000, '2019-12-03 13:43:12', '2019-12-03 13:43:12'),
  (28, 'taixiu', 2, 0, 100000, '2019-12-03 13:47:17', '2019-12-03 13:47:17'),
  (29, 'taixiu', 2, 0, 1000, '2019-12-04 01:31:07', '2019-12-04 01:31:07'),
  (30, 'taixiu', 2, 1, 1000, '2019-12-04 01:31:13', '2019-12-04 01:31:13'),
  (31, 'taixiu', 2, 1, 1000, '2019-12-04 04:01:53', '2019-12-04 04:01:53'),
  (32, 'taixiu', 2, 1, 100000, '2019-12-04 04:01:59', '2019-12-04 04:01:59'),
  (33, 'taixiu', 2, 0, 100000, '2019-12-04 11:09:02', '2019-12-04 11:09:02'),
  (34, 'taixiu', 2, 1, 100000, '2019-12-04 11:09:02', '2019-12-04 11:09:02'),
  (35, 'taixiu', 2, 0, 1101000, '2019-12-04 11:09:18', '2019-12-04 11:09:18'),
  (36, 'taixiu', 2, 0, 1000, '2019-12-05 01:36:35', '2019-12-05 01:36:35'),
  (37, 'taixiu', 2, 0, 100000, '2019-12-05 01:36:45', '2019-12-05 01:36:45'),
  (38, 'taixiu', 2, 1, 100000, '2019-12-05 01:36:50', '2019-12-05 01:36:50'),
  (39, 'taixiu', 2, 0, 100000, '2019-12-05 01:36:58', '2019-12-05 01:36:58'),
  (40, 'taixiu', 2, 0, 100000, '2019-12-05 01:37:02', '2019-12-05 01:37:02'),
  (41, 'taixiu', 2, 0, 100000, '2019-12-05 01:37:06', '2019-12-05 01:37:06'),
  (42, 'taixiu', 2, 0, 100000, '2019-12-05 01:37:15', '2019-12-05 01:37:15'),
  (43, 'taixiu', 2, 0, 99000, '2019-12-05 01:37:31', '2019-12-05 01:37:31'),
  (44, 'taixiu', 2, 1, 1200000, '2019-12-05 01:38:02', '2019-12-05 01:38:02'),
  (45, 'taixiu', 2, 0, 2400000, '2019-12-05 01:38:14', '2019-12-05 01:38:14'),
  (46, 'taixiu', 2, 0, 1000000, '2019-12-05 01:38:35', '2019-12-05 01:38:35'),
  (47, 'taixiu', 2, 1, 100000000, '2019-12-05 01:38:51', '2019-12-05 01:38:51'),
  (48, 'taixiu', 2, 1, 200000000, '2019-12-05 02:21:01', '2019-12-05 02:21:01'),
  (49, 'taixiu', 2, 1, 400000000, '2019-12-05 02:21:21', '2019-12-05 02:21:21'),
  (50, 'taixiu', 2, 0, 800000000, '2019-12-05 02:21:35', '2019-12-05 02:21:35'),
  (51, 'taixiu', 2, 1, 1000000000, '2019-12-05 02:25:21', '2019-12-05 02:25:21'),
  (52, 'taixiu', 2, 1, 2000000000, '2019-12-05 02:25:33', '2019-12-05 02:25:33'),
  (53, 'taixiu', 2, 0, 2000000000, '2019-12-05 02:25:57', '2019-12-05 02:25:57');
  
  --
  -- Chỉ mục cho các bảng đã đổ
  --
  
  --
  -- Chỉ mục cho bảng `log_game`
  --
  ALTER TABLE `log_game`
    ADD PRIMARY KEY (`id`),
    ADD KEY `log_game_id_user_foreign` (`id_user`);
  
  --
  -- AUTO_INCREMENT cho các bảng đã đổ
  --
  
  --
  -- AUTO_INCREMENT cho bảng `log_game`
  --
  ALTER TABLE `log_game`
    MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=54;
  
  --
  -- Các ràng buộc cho các bảng đã đổ
  --
  
  --
  -- Các ràng buộc cho bảng `log_game`
  --
  ALTER TABLE `log_game`
    ADD CONSTRAINT `log_game_id_user_foreign` FOREIGN KEY (`id_user`) REFERENCES `user` (`id`) ON DELETE CASCADE;
  COMMIT;
  
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  