mysql.sql

来自「采用模块化开发」· SQL 代码 · 共 17 行

SQL
17
字号
INSERT INTO `phpcms_module` ( `name`, `module`, `moduledir`, `moduledomain`, `iscore`, `iscopy`, `isshare`, `version`, `author`, `site`, `email`, `introduce`, `license`, `faq`, `setting`, `disabled`, `publishdate`, `installdate`, `updatedate`) VALUES ('评论', 'comment', 'comment', '', 0, 0, 1, '1.0.0', 'phpcms', 'www.phpcms.cn', 'phpcms@163.com', 'comment', '', '', '', 0, '0000-00-00', '0000-00-00', '0000-00-00');DROP TABLE IF EXISTS `phpcms_comment`;CREATE TABLE `phpcms_comment` (  `cid` int(10) unsigned NOT NULL auto_increment,  `keyid` varchar(20) NOT NULL default '0',  `itemid` int(10) unsigned NOT NULL default '0',  `username` varchar(30) NOT NULL default '',  `score` tinyint(1) unsigned NOT NULL default '0',  `support` int(8) NOT NULL default '0',  `against` int(8) NOT NULL default '0',  `content` text NOT NULL,  `ip` varchar(15) NOT NULL default '',  `addtime` int(10) unsigned NOT NULL default '0',  `passed` tinyint(1) unsigned NOT NULL default '0',  PRIMARY KEY  (`cid`),  KEY `comment` (`keyid`,`itemid`,`passed`,`cid`)) TYPE=MyISAM ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?