CREATE TABLE tb_usuarios (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    username VARCHAR(50) NOT NULL UNIQUE,
    senha_hash VARCHAR(255) NOT NULL, -- Armazena o HASH da senha
    nome_completo VARCHAR(100),
    is_admin BOOLEAN NOT NULL DEFAULT TRUE,
    deleted CHAR(1) NOT NULL DEFAULT '' CHECK (deleted IN ('', '*')), -- Campo padrão de exclusão lógica
    criado_em TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
	deleted CHAR(1) NOT NULL DEFAULT '' CHECK (deleted IN ('', '*'))
);