-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbusinesscms_empty.sql
More file actions
220 lines (200 loc) · 6.56 KB
/
businesscms_empty.sql
File metadata and controls
220 lines (200 loc) · 6.56 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50717
Source Host : localhost:3306
Source Database : businesscms_empty
Target Server Type : MYSQL
Target Server Version : 50717
File Encoding : 65001
Date: 2019-01-03 14:29:38
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `ty_admins`
-- ----------------------------
DROP TABLE IF EXISTS `ty_admins`;
CREATE TABLE `ty_admins` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`login_num` int(11) DEFAULT NULL,
`last_login_ip` varchar(255) DEFAULT NULL,
`last_login_time` varchar(255) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_admins
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_articles`
-- ----------------------------
DROP TABLE IF EXISTS `ty_articles`;
CREATE TABLE `ty_articles` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tid` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`seo_title` varchar(255) DEFAULT NULL,
`seo_keywords` varchar(255) DEFAULT NULL,
`seo_description` text,
`image` varchar(255) DEFAULT NULL,
`video` varchar(255) DEFAULT NULL,
`content` text,
`sort` int(11) DEFAULT NULL,
`is_show` int(11) DEFAULT NULL,
`hits` int(11) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tid` (`tid`) USING BTREE,
KEY `title` (`title`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_articles
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_configs`
-- ----------------------------
DROP TABLE IF EXISTS `ty_configs`;
CREATE TABLE `ty_configs` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`title` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`logo` varchar(255) DEFAULT NULL,
`copyright` varchar(255) DEFAULT NULL,
`seo_title` varchar(255) DEFAULT NULL,
`seo_keywords` varchar(255) DEFAULT NULL,
`seo_description` text,
`phone` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`qq` varchar(255) DEFAULT NULL,
`wechat` varchar(255) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_configs
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_feedbacks`
-- ----------------------------
DROP TABLE IF EXISTS `ty_feedbacks`;
CREATE TABLE `ty_feedbacks` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tid` int(11) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`company` varchar(255) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`content` text,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `title` (`title`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_feedbacks
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_friend_links`
-- ----------------------------
DROP TABLE IF EXISTS `ty_friend_links`;
CREATE TABLE `ty_friend_links` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`url` varchar(255) NOT NULL,
`logo` varchar(255) DEFAULT NULL,
`sort` int(11) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_friend_links
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_photos`
-- ----------------------------
DROP TABLE IF EXISTS `ty_photos`;
CREATE TABLE `ty_photos` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tid` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`seo_title` varchar(255) DEFAULT NULL,
`seo_keywords` varchar(255) DEFAULT NULL,
`seo_description` text,
`image` varchar(255) DEFAULT NULL,
`images` text,
`is_show` int(11) DEFAULT NULL,
`sort` int(11) DEFAULT NULL,
`hits` int(11) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tid` (`tid`) USING BTREE,
KEY `title` (`title`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_photos
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_products`
-- ----------------------------
DROP TABLE IF EXISTS `ty_products`;
CREATE TABLE `ty_products` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tid` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`seo_title` varchar(255) DEFAULT NULL,
`seo_keywords` varchar(255) DEFAULT NULL,
`seo_description` text,
`image` varchar(255) DEFAULT NULL,
`images` text,
`video` varchar(255) DEFAULT NULL,
`content` text,
`sort` int(11) DEFAULT NULL,
`is_show` int(11) DEFAULT NULL,
`hits` int(11) DEFAULT NULL,
`price` varchar(255) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `tid` (`tid`) USING BTREE,
KEY `title` (`title`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_products
-- ----------------------------
-- ----------------------------
-- Table structure for `ty_taxons`
-- ----------------------------
DROP TABLE IF EXISTS `ty_taxons`;
CREATE TABLE `ty_taxons` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`module` varchar(20) NOT NULL,
`filename` varchar(255) DEFAULT NULL,
`icon` varchar(255) DEFAULT NULL,
`images` varchar(255) DEFAULT NULL,
`seo_title` varchar(255) DEFAULT NULL,
`seo_keywords` varchar(255) DEFAULT NULL,
`seo_description` text,
`content` text,
`is_show` int(11) DEFAULT NULL,
`sort` int(11) DEFAULT NULL,
`create_time` int(11) DEFAULT NULL,
`update_time` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `parent_id` (`parent_id`) USING BTREE,
KEY `name` (`name`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of ty_taxons
-- ----------------------------