CREATE SEQUENCE IF NOT EXISTS public."AdmissionPayType_AdmissionPayTypeId_seq"
    INCREMENT 1
    START 1
    MINVALUE 1
    MAXVALUE 9223372036854775807
    CACHE 1;

ALTER SEQUENCE public."AdmissionPayType_AdmissionPayTypeId_seq"
    OWNER TO postgres;
	
	
	
------------------------------------------------------------------------------------------


CREATE TABLE IF NOT EXISTS public."AdmissionPayType"
(
    "AdmissionPayTypeId" bigint NOT NULL DEFAULT nextval('"AdmissionPayType_AdmissionPayTypeId_seq"'::regclass) Primary key,
    "AdmissionPayTypeName" character varying(255) COLLATE pg_catalog."default",
    "Active" boolean DEFAULT true

)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public."AdmissionPayType"
    OWNER to postgres;



-------------------------------------------------------------------------------	
INSERT INTO public."AdmissionPayType"(
	 "AdmissionPayTypeName", "Active")
	VALUES ('Cash', TRUE),('Credit',TRUE);
	