mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 09:10:49 +00:00
osu: [Big!] rework load_beatmap so that it can retrieve beatmapsets
Also - scoreboard can handle beatmapsets now - "when" column is included - beatmapWithMode's mode field is now optional
This commit is contained in:
parent
60a72dad85
commit
b302bd3ce1
13 changed files with 564 additions and 378 deletions
|
@ -0,0 +1,6 @@
|
|||
-- Add migration script here
|
||||
|
||||
ALTER TABLE osu_last_beatmaps RENAME COLUMN mode TO mode_old;
|
||||
ALTER TABLE osu_last_beatmaps ADD COLUMN mode INT NULL;
|
||||
UPDATE osu_last_beatmaps SET mode = mode_old;
|
||||
ALTER TABLE osu_last_beatmaps DROP COLUMN mode_old;
|
Loading…
Add table
Add a link
Reference in a new issue