CREATE TABLE users (
    userid TEXT PRIMARY KEY,
    publickey TEXT NOT NULL,
    last_signedin_at TIMESTAMP,
    created_at TIMESTAMP DEFAULT NOW(),
    tg_userid TEXT DEFAULT NULL,
    delegated BOOLEAN DEFAULT FALSE
);
