From 25c3ae2c11cb96ceb68a07e182d26e1d1254def6 Mon Sep 17 00:00:00 2001 From: amentis Date: Wed, 24 Jul 2024 14:00:41 +0300 Subject: [PATCH] add definition to Usage Limit sql script --- dmp-db-scema/updates/00.01.067_Add_UsageLimits.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dmp-db-scema/updates/00.01.067_Add_UsageLimits.sql b/dmp-db-scema/updates/00.01.067_Add_UsageLimits.sql index eaaf80488..9cbd7c18c 100644 --- a/dmp-db-scema/updates/00.01.067_Add_UsageLimits.sql +++ b/dmp-db-scema/updates/00.01.067_Add_UsageLimits.sql @@ -14,7 +14,8 @@ BEGIN updated_at timestamp without time zone NOT NULL, is_active smallint NOT NULL, tenant uuid, - PRIMARY KEY (id), + definition xml NOT NULL, + CONSTRAINT "UsageLimit_pkey" PRIMARY KEY (id), CONSTRAINT "UsageLimit_tenant_fkey" FOREIGN KEY (tenant) REFERENCES public."Tenant" (id) MATCH SIMPLE ON UPDATE NO ACTION