mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-02-20 23:23:35 +00:00
Persistent Vehicle Loadouts (#863)
* persisting vehicle loadouts in between sessions, saving to db and loading from db * reusing refactored code for clob; initial loadout without empty entries; reverting method of stopping session child actors
This commit is contained in:
parent
e2a81d68c1
commit
7c64b23e1f
5 changed files with 307 additions and 69 deletions
|
|
@ -0,0 +1,8 @@
|
|||
CREATE TABLE IF NOT EXISTS "vehicleloadout" (
|
||||
"id" SERIAL PRIMARY KEY NOT NULL,
|
||||
"avatar_id" INT NOT NULL REFERENCES avatar (id),
|
||||
"loadout_number" INT NOT NULL,
|
||||
"name" VARCHAR(36) NOT NULL,
|
||||
"vehicle" SMALLINT NOT NULL,
|
||||
"items" TEXT NOT NULL
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue