forked from vietgamingnetwork/iBetting
-
Notifications
You must be signed in to change notification settings - Fork 3
/
data.sql
77 lines (64 loc) · 1.67 KB
/
data.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
-- phpMyAdmin SQL Dump
-- version 5.1.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jun 27, 2022 at 03:34 AM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 8.1.5
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
--
-- Database: `esxlegacy_b8c2fb`
--
-- --------------------------------------------------------
--
-- Table structure for table `bettingbets`
--
CREATE TABLE `bettingbets` (
`id` int(11) NOT NULL,
`userId` varchar(255) NOT NULL,
`keym` varchar(255) NOT NULL,
`bet` int(1) NOT NULL,
`odd` double NOT NULL,
`amount` int(11) NOT NULL,
`data` longtext NOT NULL,
`completed` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `bettinglist`
--
CREATE TABLE `bettinglist` (
`keym` varchar(255) NOT NULL,
`sport` varchar(255) NOT NULL,
`cham` varchar(255) NOT NULL,
`away` varchar(255) NOT NULL,
`home` varchar(255) NOT NULL,
`awayIcon` varchar(255) NOT NULL,
`homeIcon` varchar(255) NOT NULL,
`odd0` double NOT NULL,
`odd1` double NOT NULL,
`odd2` double NOT NULL,
`time` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Indexes for table `bettingbets`
--
ALTER TABLE `bettingbets`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `bettinglist`
--
ALTER TABLE `bettinglist`
ADD PRIMARY KEY (`keym`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `bettingbets`
--
ALTER TABLE `bettingbets`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
COMMIT;