- Add special_live_rotation_m data to main.db for rotated special live scheduling
- Split normal and special live queries to avoid selecting special-only columns from normal_live_m
- Build live schedule/status around rotated special lives and derived training lives
- Reuse user training energy values in login top info and live party list responses
- Set training energy and max training energy defaults to 999
Signed-off-by: Sean Du <do4suki@gmail.com>
Drop LevelDB and move all the things to SQLite.
Implemented endpoints:
/api <unit, accessoryMaterialAll>
/api <unit, accessoryTab>
/live/continue
/live/partyList
/unit/favoriteAccessory (WIP)
/unit/sale
Signed-off-by: Sean Du <do4suki@gmail.com>
We manually added a package called 99_0_115.zip which is the last one of
99 series (download/update) and it contains a modified server_info.json.
Let's add its file size to database so the client will receive it and
no longer need to replace external server_info.json manually anymore.
SQL: INSERT INTO "main"."download_db" ("pkg_type", "pkg_id", "pkg_order", "pkg_size") VALUES (99, 0, 115, 1317);
Note: You should update pkg_size value for yourself.
Signed-off-by: Yuan Si <do4suki@gmail.com>