CREATE TABLE public.rcb_dup_historico_canc ( filial integer NOT NULL, sequencia integer NOT NULL, usuario integer NOT NULL, data date NOT NULL, hora time without time zone NOT NULL, historico_filial integer NOT NULL, historico_sequencia integer NOT NULL, historico_banco integer NOT NULL, historico_duplicata_seq integer NOT NULL, historico_usuario integer NOT NULL, historico_data date NOT NULL, historico_hora time without time zone NOT NULL, historico_cod_retorno integer NOT NULL, historico_cod_evento character varying(5) NOT NULL, historico_situacao character varying(1) NOT NULL, historico_seq_arquivo integer NOT NULL, historico_nosso_numero character varying(20) NOT NULL, historico_agencia character varying(10) NOT NULL, historico_conta character varying(15) NOT NULL, CONSTRAINT pk_rcb_dup_historico_canc PRIMARY KEY (filial, sequencia) ) WITH ( OIDS=FALSE ); ALTER TABLE public.rcb_dup_historico_canc OWNER TO postgres; COMMENT ON TABLE public.rcb_dup_historico_canc IS 'Cadastro cancelamento do historico';