10 lines
236 B
SQL
10 lines
236 B
SQL
-- 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
|
|
); |