ALTER TABLE ERROAVISONF ADD IDPERMGRUPO VARCHAR2(01) DEFAULT 'N'
/

ALTER TABLE INTG_ITEMAF ADD CDPRODUTOAF VARCHAR2(20)   
/

CREATE INDEX FIS00732_FK ON INTG_ITEMAF (CDPRODUTOAF ASC)
/

ALTER TABLE INTG_ITEMAF ADD QTITEMPRODAF NUMBER
/

ALTER TABLE INTG_ITEMAF ADD VRFATOCONVXML  FLOAT
/

CREATE INDEX FIS00723_FK ON INTG_ITEMAF (NRAUTOFORNE ASC)
/

ALTER TABLE HISTXMLNFE DROP CONSTRAINT CKC_IDSTATUS_HIST
/

ALTER TABLE HISTXMLNFE DROP CONSTRAINT CKC_HISTXMLNFE_IDSTATUS
/

ALTER TABLE HISTXMLNFE ADD CONSTRAINT CKC_IDSTATUS_HIST CHECK (IDSTATUS IN ('S','N','X','B'))
/

ALTER TABLE PARAMGERAL ADD CDGRPERDESBLXML VARCHAR2(02)