源战役
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.

25 line
1.5 KiB

  1. -- tyl 孩子添加玩具相关
  2. CREATE TABLE IF NOT EXISTS `child_toy` (
  3. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  4. `suit_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '套装类型',
  5. `toy_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '玩具Id',
  6. `toy_lv` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '玩具等级',
  7. PRIMARY KEY (`role_id`,`suit_type`,`toy_id`)
  8. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='孩子玩具数据表';
  9. CREATE TABLE IF NOT EXISTS `child_toy_suit` (
  10. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  11. `suit_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '玩具套装类型',
  12. `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '领取状态',
  13. `collect_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '集齐时间',
  14. PRIMARY KEY (`role_id`,`suit_type`)
  15. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='孩子玩具套装数据表';
  16. CREATE TABLE IF NOT EXISTS `log_child_toy_suit` (
  17. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
  18. `role_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '角色Id',
  19. `suit_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '玩具套装类型',
  20. `status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '收集进度状态',
  21. `time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间戳',
  22. PRIMARY KEY (`id`)
  23. ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='孩子玩具套装日志表';