add sql script for diagnose and procedure src

This commit is contained in:
dpurbosakti
2025-08-25 17:31:16 +07:00
parent f06286cbc6
commit d76c5de6df
4 changed files with 43 additions and 1 deletions
@@ -0,0 +1,24 @@
-- Create "DiagnoseSrc" table
CREATE TABLE "public"."DiagnoseSrc" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Code" character varying(10) NULL,
"Name" character varying(2048) NULL,
"IndName" character varying(2048) NULL,
PRIMARY KEY ("Id"),
CONSTRAINT "uni_DiagnoseSrc_Code" UNIQUE ("Code")
);
-- Create "ProcedureSrc" table
CREATE TABLE "public"."ProcedureSrc" (
"Id" bigserial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Code" character varying(10) NULL,
"Name" character varying(2048) NULL,
"IndName" character varying(2048) NULL,
PRIMARY KEY ("Id"),
CONSTRAINT "uni_ProcedureSrc_Code" UNIQUE ("Code")
);