-- 删除跨服BOSS，旧本服BOSS，婚姻相关
drop table if exists boss;
drop table if exists boss_sp;
drop table if exists boss_remind;
drop table if exists log_boss;
drop table if exists log_boss_drop;
drop table if exists log_boss_enter_type;
drop table if exists log_boss_rank_reward;
drop table if exists log_boss_reborn;
drop table if exists kf_boss_remind;
drop table if exists kf_boss_revive;
drop table if exists log_kf_boss_drop;
drop table if exists log_kf_boss_killer;
drop table if exists log_marriage_answer;
drop table if exists log_marriage_divorse;
drop table if exists log_marriage_life_train;
drop table if exists log_marriage_love_box;
drop table if exists log_marriage_parade_end;
drop table if exists log_marriage_parade_order;
drop table if exists log_marriage_propose;
drop table if exists log_marriage_ring_polish;
drop table if exists log_marriage_ring_upgrade;
drop table if exists log_marriage_wedding_aura;
drop table if exists log_marriage_wedding_end;
drop table if exists log_marriage_wedding_invitation;
drop table if exists log_marriage_wedding_order;
drop table if exists log_parade_follow;
drop table if exists log_parade_wedding_aura;
drop table if exists marriage_ask_time;
drop table if exists marriage_couple_info;
drop table if exists marriage_couple_propose;
drop table if exists marriage_guidance;
drop table if exists marriage_guidance_task;
drop table if exists marriage_life_player;
drop table if exists marriage_love_box;
drop table if exists marriage_parade_order_info;
drop table if exists marriage_personals_follow;
drop table if exists marriage_personals_player;
drop table if exists marriage_ring_player;
drop table if exists marriage_wedding_guest;
drop table if exists marriage_wedding_order_info;
drop table if exists marriage_wedding_restart;

-- huangyongxing
-- 魂珠
DROP TABLE IF EXISTS `log_dungeon_seal_soul`;
-- 神格
DROP TABLE IF EXISTS `deity`;
DROP TABLE IF EXISTS `log_deity_up`;
DROP TABLE IF EXISTS `player_deity`;
-- 宝藏
DROP TABLE IF EXISTS `treasure_guardians`;
DROP TABLE IF EXISTS `log_treasure`;
-- 婚礼榜
DROP TABLE IF EXISTS `log_wed_rank`;
DROP TABLE IF EXISTS `wed_rank_act`;
-- 神秘限购
DROP TABLE IF EXISTS `limit_shop_sell`;
DROP TABLE IF EXISTS `log_limit_shop_buy`;
-- 家族商店
DROP TABLE IF EXISTS `player_guild_shop`;
-- 圣器契约（永恒碑谷）
DROP TABLE IF EXISTS `eternal_valley_chapter`;
DROP TABLE IF EXISTS `eternal_valley_stage`;
DROP TABLE IF EXISTS `log_eternal_valley_reward`;
DROP TABLE IF EXISTS `log_eternal_valley_stage`;
-- 天命觉醒
DROP TABLE IF EXISTS `awakening`;
DROP TABLE IF EXISTS `log_awakening`;
-- 圣灵
DROP TABLE IF EXISTS `log_spirit_lv_up`;
-- 降神残留
DROP TABLE IF EXISTS `god_rune_pos`;
DROP TABLE IF EXISTS `log_god_active`;
DROP TABLE IF EXISTS `log_god_active_pyx`;
DROP TABLE IF EXISTS `log_god_active_rune`;
DROP TABLE IF EXISTS `log_god_active_rune_pos`;
DROP TABLE IF EXISTS `log_god_lv_up`;
DROP TABLE IF EXISTS `log_god_pyx_lv`;
DROP TABLE IF EXISTS `log_god_seal_lv_up`;
DROP TABLE IF EXISTS `log_god_stren_rune`;
DROP TABLE IF EXISTS `log_god_stren_rune_goods`;


-- hh
CREATE TABLE IF NOT EXISTS `role_guild_collect`(
    `role_id` bigint(20) UNSIGNED NOT NULL COMMENT '玩家id',
    `last_collect_time` int(11) UNSIGNED DEFAULT 0 COMMENT '最近一次封印时间',
    `last_enter_time` int(11) UNSIGNED DEFAULT 0 COMMENT '最近一次参与活动时间',
    PRIMARY KEY(`role_id`)
)ENGINE=InnoDB CHARSET=utf8 COMMENT="玩家公会采集信息";


DROP TABLE IF EXISTS `log_light_weapon_upgrade`;

DROP TABLE IF EXISTS `log_light_weapon_uplv`;

DROP TABLE IF EXISTS `log_light_weapon_upstar`;

DROP TABLE IF EXISTS `log_god_active_rune`;
DROP TABLE IF EXISTS `log_god_stren_rune`;
DROP TABLE IF EXISTS `log_god_stren_rune_goods`;
