add definition to Usage Limit sql script

This commit is contained in:
amentis 2024-07-24 14:00:41 +03:00
parent 4862a79c0f
commit 25c3ae2c11
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ BEGIN
updated_at timestamp without time zone NOT NULL, updated_at timestamp without time zone NOT NULL,
is_active smallint NOT NULL, is_active smallint NOT NULL,
tenant uuid, tenant uuid,
PRIMARY KEY (id), definition xml NOT NULL,
CONSTRAINT "UsageLimit_pkey" PRIMARY KEY (id),
CONSTRAINT "UsageLimit_tenant_fkey" FOREIGN KEY (tenant) CONSTRAINT "UsageLimit_tenant_fkey" FOREIGN KEY (tenant)
REFERENCES public."Tenant" (id) MATCH SIMPLE REFERENCES public."Tenant" (id) MATCH SIMPLE
ON UPDATE NO ACTION ON UPDATE NO ACTION