forked from vizplus/start-viz-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtables.sql
More file actions
23 lines (22 loc) · 732 Bytes
/
tables.sql
File metadata and controls
23 lines (22 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CREATE TABLE `bruteforce_check` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time` int(11) NOT NULL,
`ip` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `time` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `codes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`code` varchar(128) NOT NULL,
`amount` decimal(8,2) NOT NULL,
`created` int(11) NOT NULL,
`viz_price` decimal(8,3) NOT NULL DEFAULT 0.000,
`viz_claimed` decimal(8,3) NOT NULL DEFAULT 0.000,
`claimed` int(11) DEFAULT NULL,
`user` varchar(25) DEFAULT NULL,
`tx` blob DEFAULT NULL,
`in_tokens` tinyint(1) NOT NULL DEFAULT 0,
`status` tinyint(1) NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `status` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;