CREATE TABLE public.prd_aux_baixa_materia_prima ( terminal_ip character varying(15) NOT NULL, filial integer NOT NULL, ordem_producao integer NOT NULL, produto integer NOT NULL, qtd_producao numeric(18,6) NOT NULL, qtd_utilizada numeric(18,6) NOT NULL, CONSTRAINT pk_prd_aux_baixa_materia_prima PRIMARY KEY (terminal_ip, filial, ordem_producao, produto) ) TABLESPACE pg_default; ALTER TABLE public.prd_aux_baixa_materia_prima OWNER to postgres;