-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathreadme.txt
executable file
·121 lines (107 loc) · 3.5 KB
/
readme.txt
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
#数据库升级(5.0 -> 6.0)
## basic表
增加basictop 字段,int 1,普通索引
## certificate表
增加cetext 字段,text
## content表
增加
contentmodifier varchar(48)
contenttags varchar(120) 普通索引
contentkeywords text 全文索引
## coupon表
增加
couponusername varchar(120) 普通索引
couponusetime int(11) 普通索引
## examsession表
增加
examsessiontoken varchar(32) 普通索引
## knows表
增加
knowssequence int(11) 普通索引
knowsnumber text
knowsquestions mediumtext
## module表
增加
modulelockfields text
## poscontent表
增加
pcposapp varchar(24) 普通索引
pcdescribe text
## sections表
增加
sectionsequence int(11) 普通索引
## 删除seminar表,并运行下面的SQL语句创建新表
CREATE TABLE IF NOT EXISTS `x2_seminar` (
`seminarid` int(11) NOT NULL AUTO_INCREMENT,
`seminartitle` varchar(240) NOT NULL DEFAULT '',
`seminartags` varchar(120) NOT NULL,
`seminarkeywords` text NOT NULL,
`seminarcatid` int(11) NOT NULL DEFAULT '0',
`seminarthumb` varchar(240) NOT NULL DEFAULT '',
`seminarhref` varchar(240) NOT NULL,
`seminargallery` tinytext NOT NULL,
`seminargallerylink` tinytext NOT NULL,
`seminarcode` text NOT NULL,
`seminarusername` varchar(48) NOT NULL DEFAULT '',
`seminarmodifier` varchar(48) NOT NULL,
`seminardescribe` text NOT NULL,
`seminartime` int(11) NOT NULL DEFAULT '0',
`seminarmodifytime` int(11) NOT NULL,
`seminarstatus` int(1) NOT NULL DEFAULT '0',
`seminarorder` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`seminarid`),
KEY `seminarcatid` (`seminarcatid`),
KEY `seminarstatus` (`seminarstatus`),
KEY `seminartime` (`seminartime`),
KEY `seminartags` (`seminartags`),
KEY `seminarorder` (`seminarorder`) USING BTREE,
FULLTEXT KEY `seminarkeywords` (`seminarkeywords`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `x2_seminar_content` (
`sctid` int(11) NOT NULL AUTO_INCREMENT,
`sctelid` int(11) NOT NULL,
`sctcontentid` int(11) NOT NULL,
`sctorder` int(11) NOT NULL,
`sctusername` varchar(120) NOT NULL,
`scttime` int(11) NOT NULL,
PRIMARY KEY (`sctid`),
KEY `sctcontentid` (`sctcontentid`),
KEY `sctorder` (`sctorder`),
KEY `sctelid` (`sctelid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `x2_seminar_elem` (
`selid` int(11) NOT NULL AUTO_INCREMENT,
`sellayout` int(11) DEFAULT NULL,
`selseminar` int(11) DEFAULT NULL,
`seltitle` varchar(120) DEFAULT NULL,
`selorder` int(11) DEFAULT NULL,
`selpos` tinyint(4) DEFAULT NULL,
`seldescribe` tinytext,
`selcode` text,
`seldata` text,
PRIMARY KEY (`selid`),
KEY `sellayout` (`sellayout`,`selseminar`),
KEY `selorder` (`selorder`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `x2_seminar_layout` (
`slayoutid` int(11) NOT NULL AUTO_INCREMENT,
`slayoutseminar` int(11) NOT NULL,
`slayouttitle` varchar(120) NOT NULL,
`slayoutgrid` int(11) NOT NULL,
`slayoutcode` text NOT NULL,
`slayoutorder` int(11) NOT NULL,
`slayoutdescribe` tinytext NOT NULL,
PRIMARY KEY (`slayoutid`),
KEY `slayoutorder` (`slayoutorder`),
KEY `slayoutseminar` (`slayoutseminar`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `x2_seminar_tpls` (
`stplid` int(11) NOT NULL AUTO_INCREMENT,
`stplname` varchar(120) DEFAULT NULL,
`stpltype` varchar(36) DEFAULT NULL,
`stplgrid` int(11) DEFAULT NULL,
`stpldescribe` tinytext,
`stplcode` text,
PRIMARY KEY (`stplid`),
KEY `stpltype` (`stpltype`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;