-
Notifications
You must be signed in to change notification settings - Fork 39
/
schema.sql
40 lines (37 loc) · 1.46 KB
/
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
-- Create syntax for TABLE 'alerts'
CREATE TABLE `alerts` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`alert` varchar(1000) DEFAULT NULL,
`alert-class` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
-- Create syntax for TABLE 'user_authkeys'
CREATE TABLE `user_authkeys` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`identifier` varchar(255) NOT NULL DEFAULT '',
`auth_key` varchar(300) NOT NULL DEFAULT '',
`expires` int(15) NOT NULL,
`user_agent` varchar(300) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5019 DEFAULT CHARSET=latin1;
-- Create syntax for TABLE 'user_settings'
CREATE TABLE `user_settings` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`identifier` varchar(255) NOT NULL DEFAULT '',
`setting` varchar(255) NOT NULL DEFAULT '',
`value` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `identifier` (`identifier`,`setting`)
) ENGINE=InnoDB AUTO_INCREMENT=2534 DEFAULT CHARSET=latin1;
-- Create syntax for TABLE 'users'
CREATE TABLE `users` (
`identifier` varchar(255) NOT NULL DEFAULT '',
`shared_key` varchar(255) NOT NULL DEFAULT '',
`created_at` int(11) DEFAULT NULL,
`last_update` int(11) DEFAULT NULL,
`last_ip_address` varchar(64) DEFAULT NULL,
`created_ip_address` varchar(64) DEFAULT NULL,
`wallet_data` longtext,
`email` varchar(255) DEFAULT NULL,
PRIMARY KEY (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;