I am dumb and missed the UNIQUE index on this table for some reason.

This commit is contained in:
Rob Nelson
2014-11-12 14:44:11 -08:00
parent 157019ee07
commit 639cf9ecd0
2 changed files with 4 additions and 3 deletions

View File

@@ -110,8 +110,8 @@ CREATE TABLE client (
-- Table: client_roles
CREATE TABLE client_roles (
ckey TEXT UNIQUE,
slot INTEGER,
ckey TEXT NOT NULL,
slot INTEGER NOT NULL,
role TEXT NOT NULL,
preference INTEGER NOT NULL,
PRIMARY KEY ( ckey, slot, role ),