1
1
-- phpMyAdmin SQL Dump
2
- -- version 3.2.0.1
2
+ -- version 4.0.7
3
3
-- http://www.phpmyadmin.net
4
4
--
5
5
-- 主机: localhost
6
- -- 生成日期: 2014 年 04 月 18 日 02:18
7
- -- 服务器版本: 5.1.36
8
- -- PHP 版本: 5.2.11
6
+ -- 生成日期: 2014-07-06 11:20:07
7
+ -- 服务器版本: 5.5.34-log
8
+ -- PHP 版本: 5.3.27
9
9
10
- SET SQL_MODE= " NO_AUTO_VALUE_ON_ZERO" ;
10
+ SET SQL_MODE = " NO_AUTO_VALUE_ON_ZERO" ;
11
+ SET time_zone = " +00:00" ;
12
+
13
+
14
+ /* !40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ ;
15
+ /* !40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */ ;
16
+ /* !40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */ ;
17
+ /* !40101 SET NAMES utf8 */ ;
11
18
12
19
--
13
20
-- 数据库: `peento`
@@ -46,7 +53,7 @@ CREATE TABLE IF NOT EXISTS `article_list` (
46
53
KEY ` updated_at` (` updated_at` ),
47
54
KEY ` is_removed` (` is_removed` ),
48
55
KEY ` sort` (` sort` )
49
- ) ENGINE= MyISAM DEFAULT CHARSET= utf8;
56
+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8 AUTO_INCREMENT = 6 ;
50
57
51
58
-- --------------------------------------------------------
52
59
@@ -80,6 +87,27 @@ CREATE TABLE IF NOT EXISTS `article_tag` (
80
87
81
88
-- --------------------------------------------------------
82
89
90
+ --
91
+ -- 表的结构 `comment_list`
92
+ --
93
+
94
+ CREATE TABLE IF NOT EXISTS ` comment_list` (
95
+ ` id` int (11 ) NOT NULL AUTO_INCREMENT,
96
+ ` article_id` int (11 ) NOT NULL ,
97
+ ` name` varchar (50 ) NOT NULL ,
98
+ ` email` varchar (255 ) NOT NULL ,
99
+ ` content` text NOT NULL ,
100
+ ` created_at` int (11 ) NOT NULL ,
101
+ ` is_removed` tinyint (4 ) NOT NULL ,
102
+ PRIMARY KEY (` id` ),
103
+ KEY ` article_id` (` article_id` ),
104
+ KEY ` email` (` email` ),
105
+ KEY ` created_at` (` created_at` ),
106
+ KEY ` is_removed` (` is_removed` )
107
+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8 AUTO_INCREMENT= 3 ;
108
+
109
+ -- --------------------------------------------------------
110
+
83
111
--
84
112
-- 表的结构 `config`
85
113
--
@@ -92,6 +120,21 @@ CREATE TABLE IF NOT EXISTS `config` (
92
120
93
121
-- --------------------------------------------------------
94
122
123
+ --
124
+ -- 表的结构 `nav_list`
125
+ --
126
+
127
+ CREATE TABLE IF NOT EXISTS ` nav_list` (
128
+ ` name` varchar (255 ) NOT NULL ,
129
+ ` type` int (11 ) NOT NULL ,
130
+ ` parent` varchar (255 ) NOT NULL ,
131
+ ` title` varchar (255 ) NOT NULL ,
132
+ ` url` text NOT NULL ,
133
+ ` sort` int (11 ) NOT NULL
134
+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8;
135
+
136
+ -- --------------------------------------------------------
137
+
95
138
--
96
139
-- 表的结构 `tag_list`
97
140
--
@@ -101,7 +144,7 @@ CREATE TABLE IF NOT EXISTS `tag_list` (
101
144
` name` varchar (255 ) NOT NULL ,
102
145
PRIMARY KEY (` id` ),
103
146
KEY ` name` (` name` )
104
- ) ENGINE= MyISAM DEFAULT CHARSET= utf8;
147
+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8 AUTO_INCREMENT = 8 ;
105
148
106
149
-- --------------------------------------------------------
107
150
@@ -116,4 +159,8 @@ CREATE TABLE IF NOT EXISTS `user_list` (
116
159
` display_name` varchar (50 ) NOT NULL ,
117
160
PRIMARY KEY (` id` ),
118
161
UNIQUE KEY ` email` (` email` )
119
- ) ENGINE= MyISAM DEFAULT CHARSET= utf8;
162
+ ) ENGINE= MyISAM DEFAULT CHARSET= utf8 AUTO_INCREMENT= 2 ;
163
+
164
+ /* !40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */ ;
165
+ /* !40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */ ;
166
+ /* !40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ ;
0 commit comments