-- Table: public."ScanClassification"

-- DROP TABLE public."ScanClassification";

CREATE TABLE public."ScanClassification"
(
    "ScanClassificationId" serial integer NOT NULL,
    "ScanClassificationName" character varying 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 "ScanClassificationId_pkey" PRIMARY KEY ("ScanClassificationId"),
    CONSTRAINT "FK_ScanClassification_CreatedBy" FOREIGN KEY ("CreatedBy")
        REFERENCES public."Account" ("AccountId") MATCH SIMPLE
        ON UPDATE NO ACTION
        ON DELETE CASCADE,
    CONSTRAINT "FK_ScanClassification_ModifiedBy" FOREIGN KEY ("ModifiedBy")
        REFERENCES public."Account" ("AccountId") MATCH SIMPLE
        ON UPDATE NO ACTION
        ON DELETE CASCADE
)
WITH (
    OIDS = FALSE
)
TABLESPACE pg_default;

ALTER TABLE public."ScanClassification"
    OWNER to postgres;