ALTER TABLE RATEIONF ADD CDTPCTPAGAR VARCHAR2(6) NULL
/

CREATE INDEX FIN00396_FK ON RATEIONF (CDTPCTPAGAR ASC)
/

ALTER TABLE RATEIONF
    ADD CONSTRAINT FKFIN00396TIPOCTPAGAR FOREIGN KEY  (CDTPCTPAGAR)
       REFERENCES TIPOCTPAGAR (CDTPCTPAGAR)
/

ALTER TABLE RATEIONF ADD CDTPCTRECEB VARCHAR2(6) NULL
/

CREATE INDEX FIN00397_FK ON RATEIONF (CDTPCTRECEB ASC)
/

ALTER TABLE RATEIONF
    ADD CONSTRAINT FKFIN00397TIPOCTRE FOREIGN KEY  (CDTPCTRECEB)
       REFERENCES TIPOCTRECEBER (CDTPCTRECEB)
/