mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
I am so fucking dumb: Fix client_roles primary key.
This commit is contained in:
@@ -114,7 +114,7 @@ CREATE TABLE client_roles (
|
||||
slot INTEGER,
|
||||
role TEXT NOT NULL,
|
||||
preference INTEGER NOT NULL,
|
||||
PRIMARY KEY ( ckey, slot ),
|
||||
PRIMARY KEY ( ckey, slot, role ),
|
||||
FOREIGN KEY ( ckey, slot ) REFERENCES players ( player_ckey, player_slot ) ON DELETE CASCADE
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user