mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-08 16:47:47 +08:00
ongeki: update ongeki_static_tech_music_uk
This commit is contained in:
@@ -137,6 +137,9 @@ class OngekiReader(BaseReader):
|
||||
troot.find("EventType").text
|
||||
].value
|
||||
|
||||
if troot.find("EventType").text == "MissionEvent":
|
||||
name = (troot.find("Event").find("MissionName").find("str").text)
|
||||
|
||||
await self.data.static.put_event(self.version, id, event_type, name)
|
||||
self.logger.info(f"Added event {id}")
|
||||
|
||||
|
||||
@@ -135,7 +135,7 @@ tech_music = Table(
|
||||
Column("eventId", Integer, nullable=False),
|
||||
Column("musicId", Integer, nullable=False),
|
||||
Column("level", Integer, nullable=False),
|
||||
UniqueConstraint("version", "musicId", name="ongeki_static_tech_music_uk"),
|
||||
UniqueConstraint("version", "eventId", "musicId", "level", name="ongeki_static_tech_music_uk"),
|
||||
mysql_charset="utf8mb4",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user