-- ABS-62313/ ABS-64862

DROP TABLE CONTRACTSALESLEADS;

-- CONTRACT table --
ALTER TABLE CONTRACT ADD (SALESLEADEMPLOYEE_ID NUMBER NULL);

CREATE INDEX XIF20CONTRACT ON CONTRACT (SALESLEADEMPLOYEE_ID ASC);

ALTER TABLE CONTRACT
  ADD CONSTRAINT CONTRACT_SALESLEADEMPLOYEE FOREIGN KEY (SALESLEADEMPLOYEE_ID)
  REFERENCES EMPLOYEE (EMPLOYEE_ID);
