1
0
mirror of https://github.com/Eyre-S/sekai-scores.git synced 2024-11-22 19:24:55 +08:00
Commit Graph

3 Commits

Author SHA1 Message Date
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