Lines 3542-3547
CREATE TABLE `hold_fill_targets` (
Link Here
|
3542 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
3542 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
3543 |
/*!40101 SET character_set_client = @saved_cs_client */; |
3543 |
/*!40101 SET character_set_client = @saved_cs_client */; |
3544 |
|
3544 |
|
|
|
3545 |
-- |
3546 |
-- Table structure for table `hold_groups` |
3547 |
-- |
3548 |
DROP TABLE IF EXISTS `hold_groups`; |
3549 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
3550 |
/*!40101 SET character_set_client = utf8mb4 */; |
3551 |
CREATE TABLE hold_groups ( |
3552 |
`hold_group_id` int(10) unsigned NOT NULL AUTO_INCREMENT, |
3553 |
PRIMARY KEY (`hold_group_id`) |
3554 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
3555 |
/*!40101 SET character_set_client = @saved_cs_client */; |
3556 |
|
3545 |
-- |
3557 |
-- |
3546 |
-- Table structure for table `housebound_profile` |
3558 |
-- Table structure for table `housebound_profile` |
3547 |
-- |
3559 |
-- |
Lines 5093-5110
CREATE TABLE `old_issues` (
Link Here
|
5093 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5105 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5094 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5106 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5095 |
|
5107 |
|
5096 |
-- |
|
|
5097 |
-- Table structure for table `hold_groups` |
5098 |
-- |
5099 |
DROP TABLE IF EXISTS `hold_groups`; |
5100 |
/*!40101 SET @saved_cs_client = @@character_set_client */; |
5101 |
/*!40101 SET character_set_client = utf8 */; |
5102 |
CREATE TABLE hold_groups ( |
5103 |
hold_group_id int unsigned NOT NULL AUTO_INCREMENT, |
5104 |
PRIMARY KEY (hold_group_id) |
5105 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5106 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5107 |
|
5108 |
-- |
5108 |
-- |
5109 |
-- Table structure for table `old_reserves` |
5109 |
-- Table structure for table `old_reserves` |
5110 |
-- |
5110 |
-- |
Lines 5139-5145
CREATE TABLE `old_reserves` (
Link Here
|
5139 |
`itemtype` varchar(10) DEFAULT NULL COMMENT 'If record level hold, the optional itemtype of the item the patron is requesting', |
5139 |
`itemtype` varchar(10) DEFAULT NULL COMMENT 'If record level hold, the optional itemtype of the item the patron is requesting', |
5140 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is the hold placed at item level', |
5140 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is the hold placed at item level', |
5141 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is this a non priority hold', |
5141 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is this a non priority hold', |
5142 |
`hold_group_id` int unsigned NULL DEFAULT NULL COMMENT 'The id of a group of titles reservations fulfilled when one title is picked', |
5142 |
`hold_group_id` int(10) unsigned DEFAULT NULL COMMENT 'The id of a group of titles reservations fulfilled when one title is picked', |
5143 |
PRIMARY KEY (`reserve_id`), |
5143 |
PRIMARY KEY (`reserve_id`), |
5144 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
5144 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
5145 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
5145 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
Lines 5153-5160
CREATE TABLE `old_reserves` (
Link Here
|
5153 |
CONSTRAINT `old_reserves_ibfk_3` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE SET NULL ON UPDATE SET NULL, |
5153 |
CONSTRAINT `old_reserves_ibfk_3` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE SET NULL ON UPDATE SET NULL, |
5154 |
CONSTRAINT `old_reserves_ibfk_4` FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE SET NULL ON UPDATE SET NULL, |
5154 |
CONSTRAINT `old_reserves_ibfk_4` FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE SET NULL ON UPDATE SET NULL, |
5155 |
CONSTRAINT `old_reserves_ibfk_branchcode` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE SET NULL ON UPDATE CASCADE, |
5155 |
CONSTRAINT `old_reserves_ibfk_branchcode` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE SET NULL ON UPDATE CASCADE, |
5156 |
CONSTRAINT `old_reserves_ibfk_ig` FOREIGN KEY (`item_group_id`) REFERENCES `item_groups` (`item_group_id`) ON DELETE SET NULL ON UPDATE SET NULL, |
5156 |
CONSTRAINT `old_reserves_ibfk_hg` FOREIGN KEY (`hold_group_id`) REFERENCES `hold_groups` (`hold_group_id`) ON DELETE SET NULL ON UPDATE SET NULL, |
5157 |
CONSTRAINT `old_reserves_ibfk_hg` FOREIGN KEY (`hold_group_id`) REFERENCES `hold_groups` (`hold_group_id`) ON DELETE SET NULL ON UPDATE SET NULL |
5157 |
CONSTRAINT `old_reserves_ibfk_ig` FOREIGN KEY (`item_group_id`) REFERENCES `item_groups` (`item_group_id`) ON DELETE SET NULL ON UPDATE SET NULL |
5158 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5158 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5159 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5159 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5160 |
|
5160 |
|
Lines 5711-5717
CREATE TABLE `reserves` (
Link Here
|
5711 |
`itemtype` varchar(10) DEFAULT NULL COMMENT 'If record level hold, the optional itemtype of the item the patron is requesting', |
5711 |
`itemtype` varchar(10) DEFAULT NULL COMMENT 'If record level hold, the optional itemtype of the item the patron is requesting', |
5712 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is the hold placed at item level', |
5712 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is the hold placed at item level', |
5713 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is this a non priority hold', |
5713 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Is this a non priority hold', |
5714 |
`hold_group_id` int unsigned NULL DEFAULT NULL COMMENT 'The id of a group of titles reservations fulfilled when one title is picked', |
5714 |
`hold_group_id` int(10) unsigned DEFAULT NULL COMMENT 'The id of a group of titles reservations fulfilled when one title is picked', |
5715 |
PRIMARY KEY (`reserve_id`), |
5715 |
PRIMARY KEY (`reserve_id`), |
5716 |
KEY `priorityfoundidx` (`priority`,`found`), |
5716 |
KEY `priorityfoundidx` (`priority`,`found`), |
5717 |
KEY `borrowernumber` (`borrowernumber`), |
5717 |
KEY `borrowernumber` (`borrowernumber`), |
Lines 5728-5735
CREATE TABLE `reserves` (
Link Here
|
5728 |
CONSTRAINT `reserves_ibfk_4` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE, |
5728 |
CONSTRAINT `reserves_ibfk_4` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE, |
5729 |
CONSTRAINT `reserves_ibfk_5` FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE CASCADE ON UPDATE CASCADE, |
5729 |
CONSTRAINT `reserves_ibfk_5` FOREIGN KEY (`itemtype`) REFERENCES `itemtypes` (`itemtype`) ON DELETE CASCADE ON UPDATE CASCADE, |
5730 |
CONSTRAINT `reserves_ibfk_6` FOREIGN KEY (`desk_id`) REFERENCES `desks` (`desk_id`) ON DELETE SET NULL ON UPDATE CASCADE, |
5730 |
CONSTRAINT `reserves_ibfk_6` FOREIGN KEY (`desk_id`) REFERENCES `desks` (`desk_id`) ON DELETE SET NULL ON UPDATE CASCADE, |
5731 |
CONSTRAINT `reserves_ibfk_ig` FOREIGN KEY (`item_group_id`) REFERENCES `item_groups` (`item_group_id`) ON DELETE SET NULL ON UPDATE CASCADE, |
5731 |
CONSTRAINT `reserves_ibfk_hg` FOREIGN KEY (`hold_group_id`) REFERENCES `hold_groups` (`hold_group_id`) ON DELETE SET NULL ON UPDATE CASCADE, |
5732 |
CONSTRAINT `reserves_ibfk_hg` FOREIGN KEY (`hold_group_id`) REFERENCES `hold_groups` (`hold_group_id`) ON DELETE SET NULL ON UPDATE CASCADE |
5732 |
CONSTRAINT `reserves_ibfk_ig` FOREIGN KEY (`item_group_id`) REFERENCES `item_groups` (`item_group_id`) ON DELETE SET NULL ON UPDATE CASCADE |
5733 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5733 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
5734 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5734 |
/*!40101 SET character_set_client = @saved_cs_client */; |
5735 |
|
5735 |
|
5736 |
- |
|
|