ALTER TABLE "basic_contract_templates" ADD CONSTRAINT "template_name_revision_unique" UNIQUE("template_name","revision");