CREATE TABLE tb_modelos (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    nome VARCHAR(80) NOT NULL UNIQUE,
    provedor VARCHAR(60),
    api_key_hash VARCHAR(255),
    status CHAR(1) NOT NULL DEFAULT '1' CHECK (status IN ('0', '1')),
    deleted CHAR(1) NOT NULL DEFAULT '' CHECK (deleted IN ('', '*'))
);