CREATE TABLE IF NOT EXISTS user_appearance (
    "user" UUID PRIMARY KEY REFERENCES "user"(id),
    theme TEXT NOT NULL DEFAULT 'system',
    code_theme TEXT NOT NULL DEFAULT 'default',
    layout_density TEXT NOT NULL DEFAULT 'normal',
    sidebar_collapsed BOOLEAN NOT NULL DEFAULT FALSE,
    show_line_numbers BOOLEAN NOT NULL DEFAULT TRUE,
    created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
    updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
);
