-- Create "Midwife" table
CREATE TABLE "public"."Midwife" (
  "Id" bigserial NOT NULL,
  "CreatedAt" timestamptz NULL,
  "UpdatedAt" timestamptz NULL,
  "DeletedAt" timestamptz NULL,
  "Employee_Id" bigint NULL,
  "IHS_Number" character varying(20) NULL,
  PRIMARY KEY ("Id"),
  CONSTRAINT "uni_Midwife_IHS_Number" UNIQUE ("IHS_Number"),
  CONSTRAINT "fk_Midwife_Employee" FOREIGN KEY ("Employee_Id") REFERENCES "public"."Employee" ("Id") ON UPDATE NO ACTION ON DELETE NO ACTION
);
