Lines 2522-2531
CREATE TABLE `aqorders` (
Link Here
|
2522 |
PRIMARY KEY (`ordernumber`), |
2522 |
PRIMARY KEY (`ordernumber`), |
2523 |
KEY `basketno` (`basketno`), |
2523 |
KEY `basketno` (`basketno`), |
2524 |
KEY `biblionumber` (`biblionumber`), |
2524 |
KEY `biblionumber` (`biblionumber`), |
|
|
2525 |
KEY `budget_id` (`budget_id`), |
2525 |
CONSTRAINT `aqorders_ibfk_1` FOREIGN KEY (`basketno`) REFERENCES `aqbasket` (`basketno`) ON DELETE CASCADE ON UPDATE CASCADE, |
2526 |
CONSTRAINT `aqorders_ibfk_1` FOREIGN KEY (`basketno`) REFERENCES `aqbasket` (`basketno`) ON DELETE CASCADE ON UPDATE CASCADE, |
2526 |
CONSTRAINT `aqorders_ibfk_2` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE SET NULL ON UPDATE CASCADE |
2527 |
CONSTRAINT `aqorders_ibfk_2` FOREIGN KEY (`biblionumber`) REFERENCES `biblio` (`biblionumber`) ON DELETE SET NULL ON UPDATE CASCADE |
2527 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
2528 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
2528 |
|
2529 |
|
|
|
2530 |
|
2529 |
-- |
2531 |
-- |
2530 |
-- Table structure for table `aqorders_items` |
2532 |
-- Table structure for table `aqorders_items` |
2531 |
-- |
2533 |
-- |