Commit Graph

31 Commits

Author SHA1 Message Date
Tau
2c78e6646a Fix trailing comma in SQL 2021-02-04 17:02:23 -05:00
Tau
cb5db5e55f idz: Drop idz_team_auto_uq constraint 2021-02-04 16:41:42 -05:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
ccd5fd72c8 idz: Add field "c" to story cell tuple 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
9f57ff1342 idz: Add idz_my_chara table 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
a7b7a01685 idz: Add idz_weekly_missions table 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
8ada783f7c idz: Add stamps tables 2021-02-03 23:43:41 +00:00
b166fe48b91eb09f279b79a4ecf57b2f8f0d3705
f79c4a4370 idz: Add idz_settings.driving_style column 2021-02-03 23:43:41 +00:00
Tau
75ac6e03f2 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
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a
71a7cd7eed chuni: Correctly implement recent rating requests 2020-08-02 12:22:01 -04:00
5ebef5658c5fcb6f5a62e75318bdc7fad90b21bc
6c22c4287e chuni: implement UserCharge APIs, add table for purchased tickets 2020-08-02 11:24:21 -04:00
Tau
5311618d1d Fix new DB initialization, AGAIN. 2020-01-05 10:45:40 -05:00
Tau
0d8d5845c9 schema: Fix M0011 for newly-created databases 2019-12-09 23:06:20 -05:00
85be42b2ce67a8e34b32793360824b056c0c2444
6da5abcefc 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