- update: schema now sets the skills column to prevent a crash

- update: frontend to only pass the session id
- update: launcher to pass the session correctly
- update: validate session response now returns the session id and user id to the requester
- update: auth client based on session id instead of a jwt token
This commit is contained in:
2025-03-08 13:47:53 -05:00
parent b6f2d3f456
commit 8ba8fce20b
13 changed files with 151 additions and 79 deletions

View File

@@ -37,11 +37,11 @@ create table characters
user_id integer not null
references users
on delete cascade,
is_active boolean default true,
is_active boolean default true,
name varchar(50) not null,
inventory jsonb default '{}'::jsonb,
inventory jsonb default '[]'::jsonb,
stats jsonb default '{}'::jsonb,
skills jsonb default '{}'::jsonb,
skills jsonb default '[]'::jsonb,
looks jsonb default '{}'::jsonb,
position jsonb default '{}'::jsonb,
created_at timestamp default CURRENT_TIMESTAMP,