Updated database schemas
This commit is contained in:
7
migrations/20260901220106_create_table_user-skins.sql
Normal file
7
migrations/20260901220106_create_table_user-skins.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE IF NOT EXISTS user_skins (
|
||||
id uuid DEFAULT gen_random_uuid() PRIMARY KEY,
|
||||
user_id uuid REFERENCES users(id) NOT NULL,
|
||||
skin_id uuid REFERENCES skins(id),
|
||||
agent_id uuid REFERENCES agents(id),
|
||||
team integer NOT NULL -- 0 = CT, 1 = T, 2 = BOTH
|
||||
);
|
||||
Reference in New Issue
Block a user