CREATE TABLE IF NOT EXISTS users
(
id INTEGER PRIMARY KEY NOT NULL,
username TEXT NOT NULL,
saltyhash text NOT NULL,
permissions INTEGER DEFAULT 0,
token TEXT NOT NULL,
UNIQUE(id, username)
)