CREATE TABLE IF NOT EXISTS users (
    id UUID_TEXT PRIMARY KEY NOT NULL UNIQUE,
    username TEXT NOT NULL UNIQUE CHECK (LENGTH(username) <= 32),
    password_hash TEXT NOT NULL,
    email TEXT NOT NULL UNIQUE CHECK (LENGTH(email) <= 100),
    name TEXT NOT NULL CHECK (LENGTH(name) <= 100)
);
