INSERT INTO log_tipo_operacao (codigo, descricao) VALUES(36, 'Alteração Ficha Técnica Embalagem'); CREATE TABLE public.log_prd_ficha_tecnica_embalagem ( sequencia integer NOT NULL, terminal_ip character varying(50) NOT NULL, usuario integer NOT NULL, data date NOT NULL, hora time without time zone NOT NULL, log_tipo_operacao integer NOT NULL, ant_filial integer NOT NULL, ant_ficha_tecnica integer NOT NULL, ant_sequencia integer NOT NULL, ant_proposta integer NOT NULL, ant_proposta_item integer NOT NULL, ant_cliente integer NOT NULL, ant_produto_acabado integer NOT NULL, ant_plano_fabricacao integer NOT NULL, ant_riscador_vinco_1 integer NOT NULL, ant_riscador_vinco_2 integer NOT NULL, ant_riscador_vinco_3 integer NOT NULL, ant_riscador_vinco_4 integer NOT NULL, ant_riscador_vinco_5 integer NOT NULL, ant_riscador_observacao character varying(300) NOT NULL, ant_impressora_lap integer NOT NULL, ant_impressora_largura_1 integer NOT NULL, ant_impressora_comprimento_1 integer NOT NULL, ant_impressora_largura_2 integer NOT NULL, ant_impressora_comprimento_2 integer NOT NULL, ant_impressora_cliche_nr integer NOT NULL, ant_impressora_faca_nr integer NOT NULL, ant_impressora_cor_01 integer NOT NULL, ant_impressora_cor_02 integer NOT NULL, ant_impressora_cor_03 integer NOT NULL, ant_impressora_cor_04 integer NOT NULL, ant_impressora_cor_05 integer NOT NULL, ant_impressora_observacao character varying(300) NOT NULL, ant_acabamento_amarrado_qtd integer NOT NULL, ant_acabamento_forma_entrega integer NOT NULL, ant_situacao character varying(1) NOT NULL, ant_arranjo_faca_1 integer NOT NULL, ant_arranjo_faca_2 integer NOT NULL, atu_filial integer NOT NULL, atu_ficha_tecnica integer NOT NULL, atu_sequencia integer NOT NULL, atu_proposta integer NOT NULL, atu_proposta_item integer NOT NULL, atu_cliente integer NOT NULL, atu_produto_acabado integer NOT NULL, atu_plano_fabricacao integer NOT NULL, atu_riscador_vinco_1 integer NOT NULL, atu_riscador_vinco_2 integer NOT NULL, atu_riscador_vinco_3 integer NOT NULL, atu_riscador_vinco_4 integer NOT NULL, atu_riscador_vinco_5 integer NOT NULL, atu_riscador_observacao character varying(300) NOT NULL, atu_impressora_lap integer NOT NULL, atu_impressora_largura_1 integer NOT NULL, atu_impressora_comprimento_1 integer NOT NULL, atu_impressora_largura_2 integer NOT NULL, atu_impressora_comprimento_2 integer NOT NULL, atu_impressora_cliche_nr integer NOT NULL, atu_impressora_faca_nr integer NOT NULL, atu_impressora_cor_01 integer NOT NULL, atu_impressora_cor_02 integer NOT NULL, atu_impressora_cor_03 integer NOT NULL, atu_impressora_cor_04 integer NOT NULL, atu_impressora_cor_05 integer NOT NULL, atu_impressora_observacao character varying(300) NOT NULL, atu_acabamento_amarrado_qtd integer NOT NULL, atu_acabamento_forma_entrega integer NOT NULL, atu_situacao character varying(1) NOT NULL, atu_arranjo_faca_1 integer NOT NULL, atu_arranjo_faca_2 integer NOT NULL, CONSTRAINT pk_log_prd_ficha_tecnica_embalagem PRIMARY KEY (sequencia) ) TABLESPACE pg_default; ALTER TABLE public.log_prd_ficha_tecnica_embalagem OWNER to postgres; CREATE SEQUENCE IF NOT EXISTS public.seq_log_prd_ficha_tecnica_embalagem INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 9999999999 CACHE 1; ALTER SEQUENCE public.seq_log_prd_ficha_tecnica_embalagem OWNER TO postgres; COMMENT ON SEQUENCE public.seq_log_prd_ficha_tecnica_embalagem IS 'Sequence do log do cadastro de ficha tecnica embalagem';