Commit Graph

21 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
85be42b2ce67a8e34b32793360824b056c0c2444
6da5abcefc IDZ: Add support for player auras 2019-11-27 02:22:03 +00: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
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