Discuz教程网

[二次开发] Discuz开发资料之install.sql注释版

[复制链接]
authicon dly 发表于 2015-2-27 19:26:43 | 显示全部楼层 |阅读模式
  1. <p>DROP TABLE IF EXISTS pre_common_cron;</p><p>CREATE TABLE pre_common_cron (</p><p>  cronid smallint(6) unsigned NOT NULL auto_increment COMMENT '计划任务id',</p><p>  available tinyint(1) NOT NULL default '0' COMMENT '是否启用',</p><p>  `type` enum('user','system','plugin') NOT NULL default 'user' COMMENT '类型',</p><p>  `name` char(50) NOT NULL default '' COMMENT '名称',</p><p>  filename char(50) NOT NULL default '' COMMENT '对应文件',</p><p>  lastrun int(10) unsigned NOT NULL default '0' COMMENT '上次执行时间',</p><p>  nextrun int(10) unsigned NOT NULL default '0' COMMENT '下次执行时间',</p><p>  weekday tinyint(1) NOT NULL default '0' COMMENT '周计划',</p><p>  `day` tinyint(2) NOT NULL default '0' COMMENT '日计划',</p><p>  `hour` tinyint(2) NOT NULL default '0' COMMENT '小时计划',</p><p>  `minute` char(36) NOT NULL default '' COMMENT '分计划',</p><p>  PRIMARY KEY  (cronid),</p><p>  KEY nextrun (available,nextrun)</p><p>) ENGINE=MyISAM COMMENT='计划任务表';</p>
复制代码
游客,如果您要查看本帖隐藏内容请回复





上一篇:Discuz开启Debug模式
下一篇:Discuz开发资料之Ucenter整合网站同步登陆
authicon 要林立 发表于 2015-3-7 11:28:39 | 显示全部楼层
install.sql注释版
转载请注明出处,本文来自:【草根吧源码论坛】http://www.caogen8.co
authicon spicy 发表于 2015-5-21 08:38:33 | 显示全部楼层
[s_catsoul=2].............我擦[/s_catsoul]
authicon spicy 发表于 2015-5-21 08:38:47 | 显示全部楼层
[s_catsoul=2]             我擦[/s_catsoul]
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-6-17 05:23

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表