Lines 2822-2828
CREATE TABLE `aqorders_items` ( -- information on items entered in the acquisiti
Link Here
|
2822 |
`itemnumber` int(11) NOT NULL, -- the item number for this item (items.itemnumber) |
2822 |
`itemnumber` int(11) NOT NULL, -- the item number for this item (items.itemnumber) |
2823 |
`timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time this order item was last touched |
2823 |
`timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, -- the date and time this order item was last touched |
2824 |
PRIMARY KEY (`itemnumber`), |
2824 |
PRIMARY KEY (`itemnumber`), |
2825 |
KEY `ordernumber` (`ordernumber`) |
2825 |
KEY `ordernumber` (`ordernumber`), |
|
|
2826 |
CONSTRAINT aqorders_items_ibfk_1 FOREIGN KEY (ordernumber) REFERENCES aqorders (ordernumber) ON DELETE CASCADE ON UPDATE CASCADE |
2826 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
2827 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
2827 |
|
2828 |
|
2828 |
|
2829 |
|