Commit Graph

16 Commits

Author SHA1 Message Date
seika1
cdae32ae64 chuni: Correctly implement recent rating requests 2020-08-02 12:22:01 -04:00
Rob
f8a5a9d7a4 chuni: implement UserCharge APIs, add table for purchased tickets 2020-08-02 11:24:21 -04:00
Tau
374bab8ec6 Fix new DB initialization, AGAIN. 2020-01-05 10:45:40 -05:00
Tau
faa02137c6 schema: Fix M0011 for newly-created databases 2019-12-09 23:06:20 -05:00
NeumPhis
afa02c0fc7 chuni: save and load user course result 2019-11-28 11:19:39 -05:00
Matt Bilker
0f2811197a
chunithm: Save and load user duel list 2019-11-28 07:04:33 +00:00
Bemani Witch
87de57fe2f IDZ: Add support for player auras 2019-11-27 02:22:03 +00:00
Tau
d1d63e1ef9 chunithm: Initial implementation code drop
No cleaner development history than this exists. It's difficult to
methodically design something when you don't yet know what it is
you're designing.
2019-11-06 17:29:07 -05:00
Tau
b096a79f95 Simplify aime_player schema 2019-11-06 17:29:07 -05:00
Tau
072d70b42a Migrate to SQLite3
We'll keep the door open for side-by-side support of Postgres in
the background, but due to SQLite's type system quirks we cannot
use the same DDL for both databases, so we would have to maintain
two sets of DDL (schema init and schema migration scripts) at once.

Interested future contributors can shoulder this maintenance burden
if they so choose.
2019-11-06 17:28:30 -05:00
Tau
30d42bd832 Store array colums as CSV text
This is in preparation for a transition to SQLite, which sadly does
not support array-valued columns (or indeed have much of a type
system in general).
2019-11-06 17:28:30 -05:00
Tau
6ab2112ea9 Stop using SQL namespaces ("schemas")
This is in preparation for a transition to SQLite. SQLite does have
a similar concept called "attached databases", but it's kind of a
pain to deal with if you're casually browsing a database from the
`sqlite3` CLI so we'll just use some slightly uglier explicitly
namespaced table name identifiers instead.
2019-11-06 17:28:30 -05:00
Tau
a5256c97d3 Fix SQL column capitalization 2019-11-06 17:28:30 -05:00
Tau
d1c3051a5e idz: Add initial team tables 2019-11-06 17:28:30 -05:00
Tau
c2b0bcabc4 idz: Remove profile ext id
Turns out (while researching team creation) the profile ext id
is just the aime id. After creating a team a profile discovery
request is immediately issued with the "profile id" in the field
that holds the aime id during initial profile load.
2019-11-06 17:28:30 -05:00
Tau
1aaae51eab Add ID generation sprocs for manual db interventions 2019-11-06 17:28:30 -05:00