ALTER TABLE FCT_MEDICAOAPU ADD (
  NRGRUPOFATURA NUMBER(10) DEFAULT NULL NULL
)
/
ALTER TABLE FCT_CONTRATOREAJUSTE DROP CONSTRAINT CK_IDREAJUSTE
/
ALTER TABLE FCT_CONTRATOREAJUSTE ADD CONSTRAINT CK_IDREAJUSTE CHECK (IDREAJUSTE IN ('P', 'I', 'V'))
/
ALTER TABLE FCT_CONTRATOREAJUSTE ADD (
  VRPERCVARIACAOIT DOUBLE PRECISION DEFAULT NULL NULL
)
/
ALTER TABLE FCT_ITEMORCAMENTO MODIFY (
  DSQTITEMORCA VARCHAR2(30) DEFAULT NULL NULL
)
/
ALTER TABLE FCT_TRABSERVORCAMENTO DROP CONSTRAINT FK_FCT_ORCAMENTO_TRABSERVORCA
/
ALTER TABLE FCT_TRABSERVORCAMENTO ADD CONSTRAINT FKSM00012FCT_ORCAMENTO FOREIGN KEY (NRSEQORCAMENTO, NRORG) REFERENCES FCT_ORCAMENTO (NRSEQORCAMENTO, NRORG) ON DELETE CASCADE