-- select * from pbx_cliente; -- select cletp_id, cletp_descricao from pbx_cliente_etapa; drop table pbx_cliente_etapas; create table pbx_cliente_etapa( cletp_id int not null primary key, cletp_descricao varchar(64) not null); alter table pbx_cliente add cletp_id int not null default 1; insert into pbx_cliente_etapa values('1', 'VALIDACAO'), ('2', 'PROSPECCAO'), ('3', 'FINALIZACAO'); Alter table add termo_uso_privacidade integer NOT NULL DEFAULT 0; Alter table add termo_uso_privacidade_log character varying(1024);