API key index
This commit is contained in:
parent
d7352ddb53
commit
ee405ac050
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ CREATE TABLE IF NOT EXISTS api_keys(
|
||||||
api_key UUID UNIQUE NOT NULL
|
api_key UUID UNIQUE NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE INDEX IF NOT EXISTS api_keys_api_key ON api_keys(api_key);
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS systems(
|
CREATE TABLE IF NOT EXISTS systems(
|
||||||
id INTEGER PRIMARY KEY,
|
id INTEGER PRIMARY KEY,
|
||||||
name TEXT NOT NULL
|
name TEXT NOT NULL
|
||||||
|
|
Loading…
Reference in a new issue