-- users definition CREATE TABLE users ( id BLOB NOT NULL PRIMARY KEY, user_name TEXT NOT NULL, display_name TEXT, activated BOOLEAN DEFAULT 0 NOT NULL CHECK (activated IN (0, 1)), created INTEGER NOT NULL, last_online INTEGER );