CREATE SEQUENCE public."PayCategory_PayCategoryId_seq";
CREATE TABLE IF NOT EXISTS public."PayCategory"
(
    "PayCategoryId" integer NOT NULL DEFAULT nextval('"PayCategory_PayCategoryId_seq"'::regclass),
    "PayCategoryName" text COLLATE pg_catalog."default" NOT NULL,
    "Active" boolean NOT NULL DEFAULT true,
    "CreatedBy" integer NOT NULL,
    "CreatedDate" timestamp(6) without time zone NOT NULL,
    "ModifiedBy" integer,
    "ModifiedDate" timestamp(6) without time zone,
    CONSTRAINT "PayCategory_pkey" PRIMARY KEY ("PayCategoryId"),
    CONSTRAINT "UQ_PayCategory_PayCategoryName" UNIQUE ("PayCategoryName")
)


INSERT INTO "LogType"("LogTypeId","LogTypeName", "Active")
VALUES (60,'Masters', true);