ALTER TABLE sessions ADD COLUMN last_used BIGINT NOT NULL DEFAULT 0 CHECK (last_used >= 0);

UPDATE sessions
SET last_used = unixepoch();
