-
Notifications
You must be signed in to change notification settings - Fork 1
/
db-schema.sql
40 lines (35 loc) · 1.08 KB
/
db-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
34
35
36
37
38
39
40
-- see also https://github.com/bravecollective/dokuwiki-authbrave/blob/master/schema.sql
CREATE TABLE `ban` (
`id` bigint(20) NOT NULL,
`criteria` varchar(45) NOT NULL,
`comment` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `grp` (
`id` bigint(20) NOT NULL,
`grp` varchar(255) NOT NULL,
`criteria` varchar(255) NOT NULL,
`comment` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `session` (
`sessionid` varchar(45) NOT NULL,
`charid` bigint(20) NOT NULL,
`created` bigint(20) NOT NULL,
PRIMARY KEY (`sessionid`)
);
CREATE TABLE `user` (
`username` varchar(45) NOT NULL,
`mail` varchar(45) DEFAULT NULL,
`groups` varchar(254) DEFAULT NULL,
`charid` bigint(20) NOT NULL,
`charname` varchar(45) NOT NULL,
`corpid` bigint(20) NOT NULL,
`corpname` varchar(45) NOT NULL,
`allianceid` bigint(20) DEFAULT NULL,
`alliancename` varchar(45) DEFAULT NULL,
`authtoken` varchar(45) NOT NULL,
`authcreated` bigint(20) NOT NULL,
`authlast` bigint(20) NOT NULL,
PRIMARY KEY (`charid`)
);