Description
https://docs.google.com/spreadsheets/d/13P64IG2HBr76pQ-Dz33_qiapTRv16vBVMfn-iNrjF8o/edit#gid=0
PR
- 予告、告知画像
- 【事前】ヴァルハラステージ
- 【追加】ヴァルハラステージ
- 新規カード、スキル
- シーズンパス
- データ集計
- 管理画面
https://docs.google.com/spreadsheets/d/13P64IG2HBr76pQ-Dz33_qiapTRv16vBVMfn-iNrjF8o/edit#gid=0
CREATE TABLE `user_valhalla` (
`user_no` int(11) NOT NULL,
`season_no` smallint(6) NOT NULL,
`battle_spirit` mediumint(9) NOT NULL DEFAULT '0',
`battle_spirit_record` mediumint(9) NOT NULL DEFAULT '0',
`stage_type` smallint(6) NOT NULL DEFAULT '0',
`encounter_count` tinyint(4) NOT NULL DEFAULT '0',
`monster_limit` tinyint(4) NOT NULL DEFAULT '0',
`stage_click` smallint(6) NOT NULL DEFAULT '0',
`stage_record` smallint(6) NOT NULL DEFAULT '0',
`cps_1` smallint(6) NOT NULL DEFAULT '0',
`cps_2` smallint(6) NOT NULL DEFAULT '0',
`card_piece_1` smallint(6) NOT NULL DEFAULT '0',
`card_piece_2` smallint(6) NOT NULL DEFAULT '0',
`card_piece_3` smallint(6) NOT NULL DEFAULT '0',
`card_piece_4` smallint(6) NOT NULL DEFAULT '0',
`card_piece_5` smallint(6) NOT NULL DEFAULT '0',
`card_piece_6` smallint(6) NOT NULL DEFAULT '0',
`card_piece_esc` mediumint(9) NOT NULL DEFAULT '0',
`card_piece_esc_count` smallint(6) NOT NULL DEFAULT '0',
`card_piece_record` int(11) NOT NULL DEFAULT '0',
`notice_1` mediumint(9) NOT NULL DEFAULT '0',
`notice_2` mediumint(9) NOT NULL DEFAULT '0',
`notice_3` mediumint(9) NOT NULL DEFAULT '0',
`notice_4` mediumint(9) NOT NULL DEFAULT '0',
`secret_key` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `user_valhalla`
ADD PRIMARY KEY (`user_no`,`season_no`),
ADD KEY `season_no` (`season_no`);
#ヤマダ対応
ALTER TABLE `user_valhalla` ADD `cps_3` SMALLINT NOT NULL DEFAULT '0' AFTER `cps_2`;
ALTER TABLE `user_valhalla` ADD `cps_4` SMALLINT NOT NULL DEFAULT '0' AFTER `cps_3`;
CREATE TABLE `user_season_pass` (
`user_no` int(11) NOT NULL,
`season_no` tinyint(4) NOT NULL,
`season_point` int(11) unsigned NOT NULL,
`unlocked_paid_pass` tinyint(4) NOT NULL,
`received_steps` text COLLATE utf8_unicode_ci,
`daily_progresses` text COLLATE utf8_unicode_ci,
`season_progresses` text COLLATE utf8_unicode_ci,
`ship_skins` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`battle_skins` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
`chat_stamps` varchar(128) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`user_no`,`season_no`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='シーズンパス-ユーザデータ';
#↓シーズン2から
#ロキの鍵枠
ALTER TABLE `user_season_pass` ADD `treasure_key` MEDIUMINT NOT NULL DEFAULT '0' AFTER `season_point`;
#勝利の証3枠目追加
ALTER TABLE `user_valhalla` ADD `cps_3` SMALLINT NOT NULL DEFAULT '0' AFTER `cps_2`;#↓シーズン2から
CREATE TABLE `log_season_pass_loki` (
`id` int(11) NOT NULL,
`season_no` smallint(6) NOT NULL,
`user_no` bigint(20) NOT NULL,
`item_type` int(11) NOT NULL,
`item_id` int(11) NOT NULL,
`item_count` int(11) NOT NULL,
`reg_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `log_season_pass_loki`
ADD PRIMARY KEY (`id`),
ADD KEY `user_no` (`user_no`,`season_no`) USING BTREE,
ADD KEY `reg_date` (`reg_date`);
ALTER TABLE `log_season_pass_loki`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;1405,1410,1411,1412,1413,1414
10/8 5631 新ステージ「ヴァルハラ島」が登場!
10/8 5637 剛勇のビョルンの魅力を紹介!
10/23 5683 【予告】パイレーツパスが登場!
10/26 5695 【予告】いよいよ明日!パイレーツパスが登場!
10/27 5682 「剛勇のビョルン」の強化アイテムと専用ドリンクでさらに強く!
11/3 5724 シーズンミッション追加&ヴァルハラのコンパスについて
11/25 5784 パイレーツパスのデイリーミッションに報酬が追加されました!CREATE TABLE `cpanel_season_pass_summary` (
`reg_date` DATE NOT NULL ,
`day_week_flag` TINYINT(4) NOT NULL DEFAULT '0' ,
`season_no` TINYINT(4) NOT NULL ,
`day_week_no` TINYINT(4) NOT NULL ,
`sequence_no` TINYINT(4) NOT NULL ,
`user_count` INT(11) NOT NULL
) ENGINE =InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `cpanel_season_pass_summary`
ADD PRIMARY KEY( `reg_date`, `day_week_flag`, `season_no`, `day_week_no`, `sequence_no`);
CREATE TABLE cpanel_season_pass_step_summary (
reg_date DATE NOT NULL ,
season_no TINYINT(4) NOT NULL ,
paid_user_count TEXT NOT NULL ,
not_paid_user_count TEXT NOT NULL
) ENGINE =InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE cpanel_season_pass_step_summary
ADD PRIMARY KEY( reg_date );
CREATE TABLE `cpanel_season_pass_kpi` (
`season_no` smallint(6) NOT NULL,
`genre` tinyint(4) NOT NULL,
`type` tinyint(4) NOT NULL,
`uu` int(11) NOT NULL,
`sum` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
ALTER TABLE `cpanel_season_pass_kpi`
ADD PRIMARY KEY (`season_no`,`genre`,`type`);
■所持数や設定数(管理画面で表示するデータ)
CREATE TABLE `cpanel_season_pass_skin_set` (
`season_no` tinyint(4) NOT NULL,
`date` date NOT NULL,
`skin_type` tinyint(4) NOT NULL,
`skin_no` int(11) NOT NULL,
`user_count` int(11) NOT NULL,
`set_count` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='シーズンパス-スキン設定状況';
ALTER TABLE `cpanel_season_pass_skin_set`
ADD PRIMARY KEY (`season_no`,`date`,`skin_type`,`skin_no`);
■毎週、プレイヤー毎の設定状況を記録しておく(不要になったら消したほうが良い)
CREATE TABLE `log_season_pass_user_skin_set` (
`id` int(11) NOT NULL,
`season_no` tinyint(4) NOT NULL,
`date` date NOT NULL,
`user_no` bigint(20) NOT NULL,
`skin_type` tinyint(4) NOT NULL,
`skin_no` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='シーズンパス-スキン設定状況';
ALTER TABLE `log_season_pass_user_skin_set`
ADD PRIMARY KEY (`id`),
ADD KEY `idx_season_no_date` (`season_no`,`date`);
ALTER TABLE `log_season_pass_user_skin_set`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;