-- ABS-97815/ ABS-103824

CREATE TABLE INVOICELINEADJUSTED
(
  INVOICELINE_ID NUMBER NOT NULL,
  SYSTEMUSER_ID  NUMBER NOT NULL,
  TIMESTAMP      DATE NOT NULL
);

ALTER TABLE INVOICELINEADJUSTED
  ADD CONSTRAINT XPKINVOICELINEADJUSTED PRIMARY KEY (INVOICELINE_ID);
ALTER TABLE INVOICELINEADJUSTED
  ADD CONSTRAINT FK_INVLINEADJUSTED_IL FOREIGN KEY (INVOICELINE_ID)
  REFERENCES INVOICELINE (INVOICELINE_ID) ON DELETE CASCADE;