--SO 20016218

---------------------ROUTECONTROL-------------------

ALTER TABLE ROUTECONTROL
  ADD (LOCKWORKSTATION_ID NUMBER NULL,
            LOCKTIMESTAMP DATE NULL);

CREATE INDEX XIF6ROUTECONTROL ON ROUTECONTROL (LOCKWORKSTATION_ID);

ALTER TABLE ROUTECONTROL
  ADD CONSTRAINT ROUTECONTROL_LOCKWORKSTATION FOREIGN KEY (LOCKWORKSTATION_ID)
  REFERENCES WORKSTATION (WORKSTATION_ID) ON DELETE SET NULL;