forked from msims04/bravecollective-intel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.sql
33 lines (26 loc) · 788 Bytes
/
schema.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
delimiter $$
CREATE DATABASE `intel` /*!40100 DEFAULT CHARACTER SET utf8 */$$
delimiter $$
CREATE TABLE `intel`.`session` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`charId` int(11) NOT NULL,
`charName` text NOT NULL,
`sessionId` text NOT NULL,
`createdAt` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8$$
delimiter $$
CREATE TABLE `intel`.`settings` (
`charId` int(11) NOT NULL,
`charName` text NOT NULL,
`value` text NOT NULL,
PRIMARY KEY (`charId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8$$
delimiter $$
CREATE TABLE `intel`.`uploader` (
`charId` int(11) NOT NULL,
`charName` text NOT NULL,
`sessionId` text NOT NULL,
`createdAt` int(11) NOT NULL,
PRIMARY KEY (`charId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8$$