-
Notifications
You must be signed in to change notification settings - Fork 2
/
mysql.dmp
executable file
·72 lines (66 loc) · 2.23 KB
/
mysql.dmp
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
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
CREATE TABLE IF NOT EXISTS `activity` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`type` varchar(255) NOT NULL,
`user` varchar(255) NOT NULL,
`message` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`timestamp` int(11) NOT NULL,
`content` text,
PRIMARY KEY (`id`),
KEY `user` (`user`,`timestamp`),
KEY `timestamp` (`timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `forum`;
CREATE TABLE IF NOT EXISTS `forum` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `news`;
CREATE TABLE IF NOT EXISTS `news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`timestamp` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
DROP TABLE IF EXISTS `ocs`;
CREATE TABLE IF NOT EXISTS `ocs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`category` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`type` int(11) NOT NULL,
`user` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`preview` varchar(255) NOT NULL,
`timestamp` int(11) NOT NULL,
`description` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`status` int(11) NOT NULL,
`userid` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`role` text NOT NULL,
`country` varchar(255) NOT NULL,
`city` varchar(255) NOT NULL,
`description` text NOT NULL,
`picture_50` varchar(255) NOT NULL,
`picture_100` varchar(255) NOT NULL,
`picture_200` varchar(255) NOT NULL,
`blogurl` varchar(255) NOT NULL,
`rssurl` varchar(255) NOT NULL,
`twitter` varchar(255) NOT NULL,
`identica` varchar(255) NOT NULL,
`opendesktop` varchar(255) NOT NULL,
`facebook` varchar(255) NOT NULL,
`diaspora` varchar(255) NOT NULL,
`github` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;