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