Add index to player account discriminator

This commit is contained in:
Kiana Sheibani 2023-11-26 19:16:04 -05:00
parent 43921bd8fa
commit 0c9d85666c
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS datasets (
CREATE TABLE IF NOT EXISTS players (
id INTEGER PRIMARY KEY,
discrim TEXT NOT NULL,
discrim TEXT UNIQUE NOT NULL,
name TEXT NOT NULL,
prefix TEXT
) STRICT;