Add index to player account discriminator
This commit is contained in:
parent
43921bd8fa
commit
0c9d85666c
|
@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS datasets (
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS players (
|
CREATE TABLE IF NOT EXISTS players (
|
||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
discrim TEXT NOT NULL,
|
discrim TEXT UNIQUE NOT NULL,
|
||||||
name TEXT NOT NULL,
|
name TEXT NOT NULL,
|
||||||
prefix TEXT
|
prefix TEXT
|
||||||
) STRICT;
|
) STRICT;
|
||||||
|
|
Loading…
Reference in a new issue