--INÍCIO - [gilberto.nery] - 28.10.2016

alter table controlesla add datainicial2 timestamp;
update controlesla set datainicial2 = datainicial;
alter table controlesla drop column datainicial;
alter table controlesla RENAME COLUMN datainicial2 TO datainicial;

alter table controlesla add datafinal2 timestamp;
update controlesla set datafinal2 = datafinal;
alter table controlesla drop column datafinal;
alter table controlesla RENAME COLUMN datafinal2 TO datafinal;

alter table controlesla RENAME COLUMN statusinicial TO idstatusinicial;
alter table controlesla RENAME COLUMN statusfinal TO idstatusfinal;

-- FIM - [gilberto.nery] - 28.10.2016