API key index

This commit is contained in:
Daniel 2024-07-17 19:34:19 -04:00
parent d7352ddb53
commit ee405ac050

View file

@ -18,6 +18,8 @@ CREATE TABLE IF NOT EXISTS api_keys(
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(
id INTEGER PRIMARY KEY,
name TEXT NOT NULL