-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdbsql.txt
More file actions
80 lines (65 loc) · 1.47 KB
/
dbsql.txt
File metadata and controls
80 lines (65 loc) · 1.47 KB
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
create table users (
user_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
user_date text,
user_name text,
user_password text,
user_balance text,
user_bet_count text,
user_win_count text,
user_profit text,
user_wagered text,
user_level text,
user_hash text,
user_last_hash text,
user_btc_address text
);
create table bets (
bet_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
bet_user_id text,
bet_date text,
bet_ip text,
bet_amount text,
bet_payout text,
bet_chance text,
bet_profit text,
bet_roll text,
bet_type text,
bet_result text
);
create table invests (
invest_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
invest_user_id text,
invest_date text,
invest_amount text,
invest_profit text,
divest text
);
create table metas (
meta_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
meta_key text,
meta_value text
);
create table withdraws (
wd_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
wd_date text,
wd_user_id text,
wd_amount text,
wd_btc_address text,
wd_confirm text,
wd_tx_id text
);
create table deposits (
dp_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
dp_date text,
dp_amount text,
dp_btc_address text,
dp_confirmations text,
dp_tx_id text
);
create table chat (
m_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
m_user_id text,
m_date text,
m_text text
);
INSERT INTO `metas` (`meta_id`, `meta_key`, `meta_value`) VALUES (NULL, 'all_bets', '0'), (NULL, 'all_wagered', '0'), (NULL, 'all_wins', '0'), (NULL, 'all_loses', '0'), (NULL, 'all_profit', '0');