-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc_db.sql
95 lines (70 loc) · 2.94 KB
/
sc_db.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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# ************************************************************
# Sequel Pro SQL dump
# Version 4004
#
# http://www.sequelpro.com/
# http://code.google.com/p/sequel-pro/
#
# Host: 127.0.0.1 (MySQL 5.5.30)
# Database: sc_db
# Generation Time: 2013-02-18 21:43:09 +0000
# ************************************************************
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
# Dump of table sc_activities
# ------------------------------------------------------------
DROP TABLE IF EXISTS `sc_activities`;
CREATE TABLE `sc_activities` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`author` bigint(20) unsigned DEFAULT NULL,
`date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`content` longtext CHARACTER SET utf8,
`modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`type` varchar(20) CHARACTER SET utf8 DEFAULT 'message',
`comment_count` bigint(20) DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Dump of table sc_forgot_password
# ------------------------------------------------------------
DROP TABLE IF EXISTS `sc_forgot_password`;
CREATE TABLE `sc_forgot_password` (
`id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`time` varchar(30) DEFAULT '',
`user_id` bigint(11) DEFAULT NULL,
`token` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Dump of table sc_login_attempts
# ------------------------------------------------------------
DROP TABLE IF EXISTS `sc_login_attempts`;
CREATE TABLE `sc_login_attempts` (
`id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`time` varchar(30) DEFAULT '',
`user_id` bigint(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
# Dump of table sc_users
# ------------------------------------------------------------
DROP TABLE IF EXISTS `sc_users`;
CREATE TABLE `sc_users` (
`id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(30) NOT NULL DEFAULT '',
`email` varchar(30) NOT NULL DEFAULT '',
`password` varchar(265) NOT NULL DEFAULT '',
`birthday` date DEFAULT NULL,
`role` varchar(10) DEFAULT 'user',
`active` int(11) DEFAULT '0',
`activation_token` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;