From 6c6d3c2671719a2c31f7471ed0d287408a920970 Mon Sep 17 00:00:00 2001 From: Dom Eori <4j6dq2zi8@relay.firefox.com> Date: Fri, 17 Mar 2023 15:19:04 +0900 Subject: [PATCH] [maimai2] Add Festival support --- .../controller/Maimai2ServletController.java | 33 +++++- .../GetUserFriendSeasonRankingHandler.java | 3 +- .../GetUserRecommendRateMusicHandler.java | 43 ++++++++ .../GetUserRecommendSelectMusicHandler.java | 43 ++++++++ .../maimai2/model/response/UserLoginResp.java | 1 + .../response/data/UserRecommendRateMusic.java | 17 +++ .../maimai2/model/userdata/UserExtend.java | 3 +- .../model/userdata/UserMusicDetail.java | 1 + .../maimai2/model/userdata/UserOption.java | 1 + .../mariadb/V229__add_maimai2_fes_table.sql | 11 ++ .../mariadb/V230__add_maimai2_fes_events.sql | 102 ++++++++++++++++++ .../mysql/V229__add_maimai2_fes_table.sql | 11 ++ .../mysql/V230__add_maimai2_fes_events.sql | 102 ++++++++++++++++++ .../sqlite/V229__add_maimai2_fes_table.sql | 11 ++ .../sqlite/V230__add_maimai2_fes_events.sql | 102 ++++++++++++++++++ 15 files changed, 477 insertions(+), 7 deletions(-) create mode 100644 src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendRateMusicHandler.java create mode 100644 src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendSelectMusicHandler.java create mode 100644 src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/data/UserRecommendRateMusic.java create mode 100644 src/main/resources/db/migration/mariadb/V229__add_maimai2_fes_table.sql create mode 100644 src/main/resources/db/migration/mariadb/V230__add_maimai2_fes_events.sql create mode 100644 src/main/resources/db/migration/mysql/V229__add_maimai2_fes_table.sql create mode 100644 src/main/resources/db/migration/mysql/V230__add_maimai2_fes_events.sql create mode 100644 src/main/resources/db/migration/sqlite/V229__add_maimai2_fes_table.sql create mode 100644 src/main/resources/db/migration/sqlite/V230__add_maimai2_fes_events.sql diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/controller/Maimai2ServletController.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/controller/Maimai2ServletController.java index c7c9a5a3..8eb447c2 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/controller/Maimai2ServletController.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/controller/Maimai2ServletController.java @@ -51,6 +51,8 @@ public class Maimai2ServletController { private final GetUserCardPrintErrorHandler getUserCardPrintErrorHandler; private final CMGetUserCharacterHandler cmGetUserCharacterHandler; private final UpsertUserPrintHandler upsertUserPrintHandler; + private final GetUserRecommendRateMusicHandler getUserRecommendRateMusicHandler; + private final GetUserRecommendSelectMusicHandler getUserRecommendSelectMusicHandler; public Maimai2ServletController(GetGameSettingHandler getGameSettingHandler, GetGameEventHandler getGameEventHandler, GetGameRankingHandler getGameRankingHandler, GetGameTournamentInfoHandler getGameTournamentInfoHandler, GetTransferFriendHandler getTransferFriendHandler, GetUserActivityHandler getUserActivityHandler, UserLoginHandler userLoginHandler, UserLogoutHandler userLogoutHandler, @@ -61,7 +63,7 @@ public class Maimai2ServletController { GetGameChargeHandler getGameChargeHandler, GetUserChargeHandler getUserChargeHandler, GetUserCourseHandler getUserCourseHandler, UploadUserPhotoHandler uploadUserPhotoHandler, UploadUserPlaylogHandler uploadUserPlaylogHandler, UploadUserPortraitHandler uploadUserPortraitHandler, GetGameNgMusicIdHandler getGameNgMusicIdHandler,GetUserPortraitHandler getUserPortraitHandler, GetUserFriendSeasonRankingHandler getUserFriendSeasonRankingHandler, CMGetUserPreviewHandler cmGetUserPreviewHandler, CMGetSellingCardHandler cmGetSellingCardHandler, GetUserCardPrintErrorHandler getUserCardPrintErrorHandler, CMGetUserCharacterHandler cmGetUserCharacterHandler, - UpsertUserPrintHandler upsertUserPrintHandler) { + UpsertUserPrintHandler upsertUserPrintHandler, GetUserRecommendRateMusicHandler getUserRecommendRateMusicHandler, GetUserRecommendSelectMusicHandler getUserRecommendSelectMusicHandler) { this.getGameSettingHandler = getGameSettingHandler; this.getGameEventHandler = getGameEventHandler; this.getGameRankingHandler = getGameRankingHandler; @@ -99,6 +101,8 @@ public class Maimai2ServletController { this.getUserCardPrintErrorHandler = getUserCardPrintErrorHandler; this.cmGetUserCharacterHandler = cmGetUserCharacterHandler; this.upsertUserPrintHandler = upsertUserPrintHandler; + this.getUserRecommendRateMusicHandler = getUserRecommendRateMusicHandler; + this.getUserRecommendSelectMusicHandler = getUserRecommendSelectMusicHandler; } // Mandatory for boot @@ -279,9 +283,9 @@ public class Maimai2ServletController { return getUserChargeHandler.handle(request); } - @PostMapping("UploadUserChargelogApi") - public String uploadUserChargelog(@ModelAttribute Map request) { - return "{\"returnCode\":1,\"apiName\":\"com.sega.maimai2servlet.api.UploadUserChargelogApi\"}"; + @PostMapping("UpsertUserChargelogApi") + public String upsertUserChargelog(@ModelAttribute Map request) { + return "{\"returnCode\":1,\"apiName\":\"com.sega.maimai2servlet.api.UpsertUserChargelogApi\"}"; } @PostMapping("GetUserCourseApi") @@ -305,6 +309,27 @@ public class Maimai2ServletController { return "{\"returnCode\":\"1\"}"; } + // Festival APIs + @PostMapping("CreateTokenApi") + String createTokenHandler(@ModelAttribute Map request) { + return "{\"Bearer\":\"AQUATOKEN\"}"; + } + + @PostMapping("RemoveTokenApi") + String removeTokenHandler(@ModelAttribute Map request) { + return "{\"returnCode\":\"1\"}"; + } + + @PostMapping("GetUserRecommendRateMusicApi") + public String getUserRecommendRateMusicHandler(@ModelAttribute Map request) throws JsonProcessingException { + return getUserRecommendRateMusicHandler.handle(request); + } + + @PostMapping("GetUserRecommendSelectMusicApi") + public String getUserRecommendSelectMusicHandler(@ModelAttribute Map request) throws JsonProcessingException { + return getUserRecommendSelectMusicHandler.handle(request); + } + // CardMaker APIs @PostMapping("CMGetSellingCardApi") String cmGetSellingCard(@ModelAttribute Map request) throws JsonProcessingException { diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserFriendSeasonRankingHandler.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserFriendSeasonRankingHandler.java index 906ae79f..240d97c6 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserFriendSeasonRankingHandler.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserFriendSeasonRankingHandler.java @@ -35,8 +35,7 @@ public class GetUserFriendSeasonRankingHandler implements BaseHandler { public String handle(Map request) throws JsonProcessingException { long userId = ((Number) request.get("userId")).longValue(); int nextIndexVal = ((Number) request.get("nextIndex")).intValue(); - - int maxCount = 20; + int maxCount = ((Number) request.get("maxCount")).intValue(); int pageNum = nextIndexVal / maxCount; diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendRateMusicHandler.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendRateMusicHandler.java new file mode 100644 index 00000000..4123ca37 --- /dev/null +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendRateMusicHandler.java @@ -0,0 +1,43 @@ +package icu.samnyan.aqua.sega.maimai2.handler.impl; + +import com.fasterxml.jackson.core.JsonProcessingException; +import icu.samnyan.aqua.sega.maimai2.handler.BaseHandler; +import icu.samnyan.aqua.sega.util.jackson.BasicMapper; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +/** + * @author samnyan (privateamusement@protonmail.com) + */ +@Component("Maimai2GetUserRecommendRateMusicHandler") +public class GetUserRecommendRateMusicHandler implements BaseHandler { + + private static final Logger logger = LoggerFactory.getLogger(GetUserDataHandler.class); + + private final BasicMapper mapper; + + public GetUserRecommendRateMusicHandler(BasicMapper mapper) { + this.mapper = mapper; + } + + @Override + public String handle(Map request) throws JsonProcessingException { + long userId = ((Number) request.get("userId")).longValue(); + + List userRecommendRateMusicIdList = new ArrayList<>(); + + Map resultMap = new LinkedHashMap<>(); + resultMap.put("userId", userId); + resultMap.put("userRecommendRateMusicIdList", userRecommendRateMusicIdList); + + String json = mapper.write(resultMap); + logger.info("Response: " + json); + return json; + } +} diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendSelectMusicHandler.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendSelectMusicHandler.java new file mode 100644 index 00000000..227d98ae --- /dev/null +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/handler/impl/GetUserRecommendSelectMusicHandler.java @@ -0,0 +1,43 @@ +package icu.samnyan.aqua.sega.maimai2.handler.impl; + +import com.fasterxml.jackson.core.JsonProcessingException; +import icu.samnyan.aqua.sega.maimai2.handler.BaseHandler; +import icu.samnyan.aqua.sega.util.jackson.BasicMapper; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Component; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; + +/** + * @author samnyan (privateamusement@protonmail.com) + */ +@Component("Maimai2GetUserRecommendSelectMusicHandler") +public class GetUserRecommendSelectMusicHandler implements BaseHandler { + + private static final Logger logger = LoggerFactory.getLogger(GetUserDataHandler.class); + + private final BasicMapper mapper; + + public GetUserRecommendSelectMusicHandler(BasicMapper mapper) { + this.mapper = mapper; + } + + @Override + public String handle(Map request) throws JsonProcessingException { + long userId = ((Number) request.get("userId")).longValue(); + + List userRecommendSelectionMusicIdList = new ArrayList<>(); + + Map resultMap = new LinkedHashMap<>(); + resultMap.put("userId", userId); + resultMap.put("userRecommendSelectionMusicIdList", userRecommendSelectionMusicIdList); + + String json = mapper.write(resultMap); + logger.info("Response: " + json); + return json; + } +} diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/UserLoginResp.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/UserLoginResp.java index d3518adc..6c7c56da 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/UserLoginResp.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/UserLoginResp.java @@ -16,4 +16,5 @@ public class UserLoginResp { public int loginCount = 1; public int consecutiveLoginCount = 0; public int loginId = 1; // What is this? + public String Bearer = "AQUATOKEN"; } diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/data/UserRecommendRateMusic.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/data/UserRecommendRateMusic.java new file mode 100644 index 00000000..85d88056 --- /dev/null +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/response/data/UserRecommendRateMusic.java @@ -0,0 +1,17 @@ +package icu.samnyan.aqua.sega.maimai2.model.response.data; + +import lombok.AllArgsConstructor; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * @author samnyan (privateamusement@protonmail.com) + */ +@Data +@AllArgsConstructor +@NoArgsConstructor +public class UserRecommendRateMusic { + private int musicId; + private int level; + private int averageAchievement; +} diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserExtend.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserExtend.java index 9136a589..3fe37ff0 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserExtend.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserExtend.java @@ -25,7 +25,7 @@ import lombok.NoArgsConstructor; @NoArgsConstructor @JsonPropertyOrder({"selectMusicId", "selectDifficultyId", "categoryIndex", "musicIndex", "extraFlag", "selectScoreType", "extendContentBit", "isPhotoAgree", "isGotoCodeRead", -"selectResultDetails", "sortCategorySetting", "sortMusicSetting", "selectedCardList", "encountMapNpcList"}) +"selectResultDetails", "sortCategorySetting", "sortMusicSetting", "playStatusSetting", "selectedCardList", "encountMapNpcList"}) public class UserExtend implements Serializable { @Id @@ -52,6 +52,7 @@ public class UserExtend implements Serializable { private boolean selectResultDetails; private int sortCategorySetting; //enum SortTabID private int sortMusicSetting; //enum SortMusicID + private int playStatusSetting; //enum PlaystatusTabID @Convert(converter = IntegerListConverter.class) private List selectedCardList; diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserMusicDetail.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserMusicDetail.java index 6aaf0865..0e10e325 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserMusicDetail.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserMusicDetail.java @@ -38,6 +38,7 @@ public class UserMusicDetail implements Serializable { private int syncStatus; private int deluxscoreMax; private int scoreRank; + private int extNum1; public UserMusicDetail(UserDetail user) { this.user = user; diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserOption.java b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserOption.java index 07ffcef4..1b172945 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserOption.java +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserOption.java @@ -62,6 +62,7 @@ public class UserOption implements Serializable { private int ansVolume; private int tapHoldVolume; private int criticalSe; + private int tapSe; private int breakSe; private int breakVolume; private int exSe; diff --git a/src/main/resources/db/migration/mariadb/V229__add_maimai2_fes_table.sql b/src/main/resources/db/migration/mariadb/V229__add_maimai2_fes_table.sql new file mode 100644 index 00000000..945c6b5f --- /dev/null +++ b/src/main/resources/db/migration/mariadb/V229__add_maimai2_fes_table.sql @@ -0,0 +1,11 @@ +-- maimai2_user_option +ALTER TABLE maimai2_user_option ADD COLUMN tap_se INTEGER; +UPDATE maimai2_user_option SET tap_se=0; + +-- maimai2_user_music_detail +ALTER TABLE maimai2_user_music_detail ADD COLUMN ext_num1 INTEGER; +UPDATE maimai2_user_music_detail SET ext_num1=0; + +-- maimai2_user_extend +ALTER TABLE maimai2_user_extend ADD COLUMN play_status_setting INTEGER; +UPDATE maimai2_user_extend SET play_status_setting=0; \ No newline at end of file diff --git a/src/main/resources/db/migration/mariadb/V230__add_maimai2_fes_events.sql b/src/main/resources/db/migration/mariadb/V230__add_maimai2_fes_events.sql new file mode 100644 index 00000000..9a523925 --- /dev/null +++ b/src/main/resources/db/migration/mariadb/V230__add_maimai2_fes_events.sql @@ -0,0 +1,102 @@ +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (220714, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091511, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091512, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091513, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091514, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091515, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091516, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091517, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091518, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091519, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091521, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091522, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091523, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091524, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091531, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091532, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091533, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091541, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091542, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091551, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091561, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091571, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100723, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100791, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102111, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102121, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102141, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102891, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110411, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110412, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110421, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110422, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110423, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110424, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110425, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110426, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110441, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111051, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111811, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111821, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111831, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111851, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120213, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120223, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120224, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120291, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121631, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121651, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122313, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122341, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122371, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010612, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010622, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010623, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010641, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012041, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020323, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020331, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020351, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23022391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); diff --git a/src/main/resources/db/migration/mysql/V229__add_maimai2_fes_table.sql b/src/main/resources/db/migration/mysql/V229__add_maimai2_fes_table.sql new file mode 100644 index 00000000..945c6b5f --- /dev/null +++ b/src/main/resources/db/migration/mysql/V229__add_maimai2_fes_table.sql @@ -0,0 +1,11 @@ +-- maimai2_user_option +ALTER TABLE maimai2_user_option ADD COLUMN tap_se INTEGER; +UPDATE maimai2_user_option SET tap_se=0; + +-- maimai2_user_music_detail +ALTER TABLE maimai2_user_music_detail ADD COLUMN ext_num1 INTEGER; +UPDATE maimai2_user_music_detail SET ext_num1=0; + +-- maimai2_user_extend +ALTER TABLE maimai2_user_extend ADD COLUMN play_status_setting INTEGER; +UPDATE maimai2_user_extend SET play_status_setting=0; \ No newline at end of file diff --git a/src/main/resources/db/migration/mysql/V230__add_maimai2_fes_events.sql b/src/main/resources/db/migration/mysql/V230__add_maimai2_fes_events.sql new file mode 100644 index 00000000..9a523925 --- /dev/null +++ b/src/main/resources/db/migration/mysql/V230__add_maimai2_fes_events.sql @@ -0,0 +1,102 @@ +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (220714, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091511, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091512, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091513, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091514, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091515, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091516, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091517, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091518, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091519, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091521, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091522, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091523, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091524, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091531, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091532, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091533, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091541, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091542, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091551, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091561, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091571, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100723, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100791, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102111, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102121, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102141, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102891, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110411, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110412, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110421, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110422, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110423, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110424, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110425, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110426, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110441, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111051, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111811, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111821, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111831, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111851, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120213, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120223, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120224, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120291, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121631, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121651, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122313, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122341, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122371, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010612, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010622, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010623, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010641, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012041, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020323, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020331, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020351, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23022391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); diff --git a/src/main/resources/db/migration/sqlite/V229__add_maimai2_fes_table.sql b/src/main/resources/db/migration/sqlite/V229__add_maimai2_fes_table.sql new file mode 100644 index 00000000..945c6b5f --- /dev/null +++ b/src/main/resources/db/migration/sqlite/V229__add_maimai2_fes_table.sql @@ -0,0 +1,11 @@ +-- maimai2_user_option +ALTER TABLE maimai2_user_option ADD COLUMN tap_se INTEGER; +UPDATE maimai2_user_option SET tap_se=0; + +-- maimai2_user_music_detail +ALTER TABLE maimai2_user_music_detail ADD COLUMN ext_num1 INTEGER; +UPDATE maimai2_user_music_detail SET ext_num1=0; + +-- maimai2_user_extend +ALTER TABLE maimai2_user_extend ADD COLUMN play_status_setting INTEGER; +UPDATE maimai2_user_extend SET play_status_setting=0; \ No newline at end of file diff --git a/src/main/resources/db/migration/sqlite/V230__add_maimai2_fes_events.sql b/src/main/resources/db/migration/sqlite/V230__add_maimai2_fes_events.sql new file mode 100644 index 00000000..9a523925 --- /dev/null +++ b/src/main/resources/db/migration/sqlite/V230__add_maimai2_fes_events.sql @@ -0,0 +1,102 @@ +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (220714, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091511, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091512, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091513, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091514, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091515, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091516, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091517, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091518, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091519, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091521, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091522, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091523, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091524, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091531, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091532, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091533, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091541, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091542, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091551, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091561, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22091571, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22092222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100723, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22100791, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102111, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102121, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102141, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22102891, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110411, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110412, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110421, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110422, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110423, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110424, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110425, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110426, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22110441, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111051, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111811, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111821, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111831, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22111851, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120212, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120213, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120222, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120223, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120224, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22120291, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121631, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22121651, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122313, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122341, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122371, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (22122391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010611, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010612, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010621, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010622, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010623, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23010641, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'0'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23012041, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020311, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020312, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020321, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020322, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020323, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020331, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020351, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23020391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021711, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021712, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021721, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021722, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23021741, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23022391, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030211, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030221, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23030241, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031011, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1'); +INSERT INTO `maimai2_game_event` (`id`, `end_date`, `start_date`, `type`, `enable`) VALUES (23031021, '2029-01-01 00:00:00.000000', '2019-01-01 00:00:00.000000',0,'1');