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

6 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
f4a58a81db
complete difficulty import from sekai-master-db 2022-12-08 14:47:46 +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