11 lines
309 B
SQL
11 lines
309 B
SQL
CREATE TABLE IF NOT EXISTS users (
|
|
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
username text UNIQUE NOT NULL,
|
|
display_name text,
|
|
email text,
|
|
avatar_url text,
|
|
status_text text,
|
|
last_seen_at timestamptz,
|
|
created_at timestamptz DEFAULT now()
|
|
);
|