Lines 6118-6123
CREATE TABLE `suggestions` (
Link Here
|
6118 |
`place` varchar(255) DEFAULT NULL COMMENT 'publication place of the suggested item', |
6118 |
`place` varchar(255) DEFAULT NULL COMMENT 'publication place of the suggested item', |
6119 |
`isbn` varchar(30) DEFAULT NULL COMMENT 'isbn of the suggested item', |
6119 |
`isbn` varchar(30) DEFAULT NULL COMMENT 'isbn of the suggested item', |
6120 |
`biblionumber` int(11) DEFAULT NULL COMMENT 'foreign key linking the suggestion to the biblio table after the suggestion has been ordered', |
6120 |
`biblionumber` int(11) DEFAULT NULL COMMENT 'foreign key linking the suggestion to the biblio table after the suggestion has been ordered', |
|
|
6121 |
`ordernumber` int(10) DEFAULT NULL COMMENT 'foreign key linking the suggestion to the acquisitions order after the suggestion has been ordered', |
6121 |
`reason` mediumtext DEFAULT NULL COMMENT 'reason for accepting or rejecting the suggestion', |
6122 |
`reason` mediumtext DEFAULT NULL COMMENT 'reason for accepting or rejecting the suggestion', |
6122 |
`patronreason` mediumtext DEFAULT NULL COMMENT 'reason for making the suggestion', |
6123 |
`patronreason` mediumtext DEFAULT NULL COMMENT 'reason for making the suggestion', |
6123 |
`budgetid` int(11) DEFAULT NULL COMMENT 'foreign key linking the suggested budget to the aqbudgets table', |
6124 |
`budgetid` int(11) DEFAULT NULL COMMENT 'foreign key linking the suggested budget to the aqbudgets table', |
Lines 6145-6151
CREATE TABLE `suggestions` (
Link Here
|
6145 |
CONSTRAINT `suggestions_ibfk_lastmodificationby` FOREIGN KEY (`lastmodificationby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6146 |
CONSTRAINT `suggestions_ibfk_lastmodificationby` FOREIGN KEY (`lastmodificationby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6146 |
CONSTRAINT `suggestions_ibfk_managedby` FOREIGN KEY (`managedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6147 |
CONSTRAINT `suggestions_ibfk_managedby` FOREIGN KEY (`managedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6147 |
CONSTRAINT `suggestions_ibfk_rejectedby` FOREIGN KEY (`rejectedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6148 |
CONSTRAINT `suggestions_ibfk_rejectedby` FOREIGN KEY (`rejectedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
6148 |
CONSTRAINT `suggestions_ibfk_suggestedby` FOREIGN KEY (`suggestedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE |
6149 |
CONSTRAINT `suggestions_ibfk_suggestedby` FOREIGN KEY (`suggestedby`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE, |
|
|
6150 |
CONSTRAINT `suggestions_ordernumber` FOREIGN KEY (`ordernumber`) REFERENCES `aqorders` (`ordernumber`) ON DELETE SET NULL ON UPDATE CASCADE |
6149 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
6151 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
6150 |
/*!40101 SET character_set_client = @saved_cs_client */; |
6152 |
/*!40101 SET character_set_client = @saved_cs_client */; |
6151 |
|
6153 |
|
6152 |
- |
|
|