Files
simrsx-be/cmd/migration/migrations/20250904045113.sql
T
2025-09-04 11:53:15 +07:00

13 lines
359 B
SQL

-- Create "Laborant" table
CREATE TABLE "public"."Laborant" (
"Id" serial NOT NULL,
"CreatedAt" timestamptz NULL,
"UpdatedAt" timestamptz NULL,
"DeletedAt" timestamptz NULL,
"Code" character varying(10) NULL,
"Name" character varying(50) NULL,
"Parent_Id" smallint NULL,
PRIMARY KEY ("Id"),
CONSTRAINT "uni_Laborant_Code" UNIQUE ("Code")
);