--ABS-11734

CREATE SEQUENCE SEQ_EXCHANGECARTDELIVERYSTOP
START WITH 1 
INCREMENT BY 1;

ALTER TABLE EXCHANGECARTDELIVERYSTOP ADD (EXCHANGECARTDELIVERYSTOP_ID NUMBER NOT NULL);

ALTER TABLE EXCHANGECARTDELIVERYSTOP
  DROP CONSTRAINT XPKEXCHANGECARTDELIVERYSTOP CASCADE;
  
ALTER TABLE EXCHANGECARTDELIVERYSTOP
  ADD CONSTRAINT XPKEXCHANGECARTDELIVERYSTOP PRIMARY KEY (EXCHANGECARTDELIVERYSTOP_ID);
  
CREATE UNIQUE INDEX XAK1EXCHANGECARTDELIVERYSTOP ON EXCHANGECARTDELIVERYSTOP (EXCHANGECART_ID ASC, STARTDATE ASC);
