install.sql 960 B

123456789101112
  1. CREATE TABLE IF NOT EXISTS `__PREFIX__command` (
  2. `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
  3. `type` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '类型',
  4. `params` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '参数',
  5. `command` varchar(1500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '命令',
  6. `content` text COMMENT '返回结果',
  7. `executetime` bigint(16) UNSIGNED DEFAULT NULL COMMENT '执行时间',
  8. `createtime` bigint(16) UNSIGNED DEFAULT NULL COMMENT '创建时间',
  9. `updatetime` bigint(16) UNSIGNED DEFAULT NULL COMMENT '更新时间',
  10. `status` enum('successed','failured') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'failured' COMMENT '状态',
  11. PRIMARY KEY (`id`) USING BTREE
  12. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '在线命令表';