源战役
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
1.2 KiB

  1. -- liushl
  2. CREATE TABLE `seckill_goods`(
  3. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区id',
  4. `grade_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '奖励档次',
  5. `count` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '购买数量',
  6. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '购买时间',
  7. PRIMARY KEY(`zone_id`, `grade_id`)
  8. )ENGINE=InnoDB CHARSET=utf8 COMMENT="秒杀-商品数据(合服保留)";
  9. CREATE TABLE `seckill_log`(
  10. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
  11. `zone_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '分区id',
  12. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '物品id',
  13. `num` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '物品数量',
  14. `server` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '服务器',
  15. `name` varchar(50) NOT NULL DEFAULT '[]' COMMENT '购买玩家',
  16. `cost` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '花费',
  17. `tv_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '传闻id',
  18. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '购买时间',
  19. PRIMARY KEY(`id`)
  20. )ENGINE=InnoDB CHARSET=utf8 COMMENT="秒杀-购买记录(合服保留)";