mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-08 22:51:30 -07:00
migrating more stuff into domain pkg
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- Accounts stored as a JSON blob with generated (virtual) columns for querying.
|
||||
-- Generated from src/accounts-db.ts (SCHEMA_DDL) — keep in sync.
|
||||
-- Generated from @repo/domain's accounts-db.ts (SCHEMA_DDL) — keep in sync.
|
||||
|
||||
CREATE TABLE IF NOT EXISTS accounts (
|
||||
data TEXT NOT NULL,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
-- Store the player's avatar (set via the econ worker's /api/avatar/v2/set). It's
|
||||
-- an opaque JSON payload that isn't queried, so a single nullable TEXT column on
|
||||
-- the account row suffices. Kept in sync with SCHEMA_DDL in src/accounts-db.ts.
|
||||
-- the account row suffices. Kept in sync with SCHEMA_DDL in @repo/domain's accounts-db.ts.
|
||||
|
||||
ALTER TABLE accounts ADD COLUMN avatar TEXT;
|
||||
|
||||
Reference in New Issue
Block a user