noise-server/src/sqlite/users.sql

10 lines
236 B
MySQL
Raw Normal View History

2021-06-07 19:16:47 +02:00
-- users definition
CREATE TABLE users (
id BLOB NOT NULL PRIMARY KEY,
2021-06-07 19:16:47 +02:00
user_name TEXT NOT NULL,
display_name TEXT,
activated BOOLEAN DEFAULT 0 NOT NULL CHECK (activated IN (0, 1)),
2021-06-07 19:16:47 +02:00
created INTEGER NOT NULL,
last_online INTEGER
);