-- ABS-6708

ALTER TABLE CHARACTERISTICSTEMPLINE DROP COLUMN CHARACTERISTICSTEMPLINE_ID;

ALTER TABLE CHARACTERISTICSTEMPLINE
  ADD CONSTRAINT XPKCHARACTERISTICSTEMPLINE PRIMARY KEY (CHARACTERISTICSTEMPLATE_ID, CHARACTERISTIC_ID);

DROP SEQUENCE SEQ_CHARACTERISTICSTEMPLINE;