-- Table: public.cmi_aux_comissao_fatores DROP TABLE public.cmi_aux_comissao_fatores; CREATE TABLE public.cmi_aux_comissao_fatores ( terminal_ip character varying(15) COLLATE pg_catalog."default" NOT NULL, sequencia integer NOT NULL, vendedor integer NOT NULL, operacao character varying(30) COLLATE pg_catalog."default" NOT NULL, filial integer NOT NULL, documento integer NOT NULL, documento_seq integer NOT NULL, tipo character varying(30) COLLATE pg_catalog."default" NOT NULL, vlr_venda numeric(18,6) NOT NULL, fator numeric(18,6) NOT NULL, valor numeric(18,6) NOT NULL, vlr_venda_com_nf numeric(18,6) NOT NULL, vlr_venda_sem_nf numeric(18,6) NOT NULL, CONSTRAINT pk_cmi_aux_comissao_fatores PRIMARY KEY (terminal_ip, sequencia) ) WITH ( OIDS = FALSE ) TABLESPACE pg_default; ALTER TABLE public.cmi_aux_comissao_fatores OWNER to postgres;