CREATE TABLE tb_configuracoes_clientes (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    id_cliente UUID NOT NULL REFERENCES tb_cliente(id),
    id_rotina UUID NOT NULL REFERENCES tb_rotinas(id),
    id_modelo UUID NOT NULL REFERENCES tb_modelos(id),
	deleted CHAR(1) NOT NULL DEFAULT '' CHECK (deleted IN ('', '*')),
    UNIQUE (id_cliente, id_rotina)
);