CREATE TABLE IF NOT EXISTS public.vnd_credito_data ( filial integer NOT NULL, cod_credito integer NOT NULL, data_cadastro date NOT NULL, CONSTRAINT vnd_credito_data_pkey PRIMARY KEY (filial, cod_credito) ) TABLESPACE pg_default; ALTER TABLE IF EXISTS public.vnd_credito_data OWNER to postgres;