1
0
mirror of https://github.com/Eyre-S/sekai-scores.git synced 2024-11-25 12:37:40 +08:00
Commit Graph

11 Commits

Author SHA1 Message Date
a0e62de2c4
add DDL and getSong for database api. fix /database no param bug 2023-01-22 16:08:27 +08:00
86bc530f14
fixed SekaiSong insert Song ignored its difficulties 2022-12-08 19:09:35 +08:00
7d503f3723
complete cli import song from sekai-master-db
- and added database struct can execute some postgres sekai database action
  - now can insert a Song (without its Difficulties)
  - now can search if a Song exists(by id)
  - added a SekaiDifficulties type struct targeting to database type
  - added a struct SekaiSongDifficulties.DatabaseStruct targeting to database its table struct
- added a class PostgresSession for manager a database action flow
  - and reforged PostgresConfig#connect() to implement it
2022-12-07 22:19:16 +08:00
944b57c012
complete sekai-master-db song(music) parse
- added charset param in database import command
- moved PostgresConfig to sekai-db proj
- added dependency gson
- added data_tool/sekai_master_db with a Music which can parse sekai-master-db musics.json and convert it to the Song object
2022-12-07 13:27:32 +08:00
21dbb194fd
change data/meta definition.
- change the id and seq and name def of SongUnit
- change and added fields to Song
- change and added fields to Difficulty
- add subproj sekai-database for db connection and action(empty currently)
- add sekai-cli command database to execute database manager action(no implementation currently)
2022-12-05 22:16:06 +08:00
2fd49d2bdb
add database config class in cli. add a function that can get all songs object from songs definition class.
- changed the target database from mysql to postgresql
  - so the db.table_prefix changed to db.struct.
- added getAll on Difficulties type
- renamed sekai-scores-db to sekai-meta
- add a new resource file, it will be the next song data storage method.
2022-11-28 18:03:21 +08:00
079da346b0
add "id" field to Song and Difficulty
- add "id" field to Song, means the song id in game and wiki.
- add "id" field to Difficulty, it is a String of EASY/EXPERT etc.
- changes the parseJSONString implementation
- add song 夜に駆ける, complete the group SekaiSpecial
2022-11-21 17:04:20 +08:00
3032af55e5
implement toString to serialize to JSON format, add "id" field for SongUnit 2022-11-21 16:26:17 +08:00
a702965151 add song and difficulty module, add UserScore module, add some Song Data. 2022-11-17 22:34:14 +08:00
a7622bf687
add submodule sekai-scores-db, update build.gradle 2022-11-17 17:22:51 +08:00
f51fbab745
init project (and a subproject cli) 2022-10-09 00:49:26 +08:00