mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
* 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
9 lines
255 B
SQL
9 lines
255 B
SQL
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
|
|
);
|