Commit Graph

24 Commits

Author SHA1 Message Date
Tau
93db3831be idz: Support multiple major versions
Doesn't actually add support for any additional versions, but it
does lay the groundwork.
2021-02-03 23:43:39 +00:00
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
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
6d91659b24 Add automated schema management 2019-11-06 17:28:31 -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
Tau
f08c47306d wip fix settings pack width 2019-11-06 17:28:30 -05:00
Tau
d0671f84d9 wip sql syntax error 2019-11-06 17:28:30 -05:00
Tau
e18c2d44c5 wip augment TA stored data 2019-11-06 17:28:30 -05:00
Tau
1a5290a461 wip fixes 2019-11-06 17:28:30 -05:00
Tau
968e98fbb4 fixup sql 2019-11-06 17:28:30 -05:00
Tau
f3256df06d Add initial IDZero SQL schema 2019-11-06 17:28:30 -05:00
Tau
648a4b0797 Add initial core Aime schema 2019-11-06 17:28:30 -05:00
Tau
a85ed40d43 Add db metadata "schema" 2019-11-06 17:28:30 -05:00