Lines 1763-1768
CREATE TABLE `old_issues` ( -- lists items that were checked out and have been r
Link Here
|
1763 |
ON DELETE SET NULL ON UPDATE SET NULL, |
1763 |
ON DELETE SET NULL ON UPDATE SET NULL, |
1764 |
CONSTRAINT `old_issues_ibfk_2` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) |
1764 |
CONSTRAINT `old_issues_ibfk_2` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) |
1765 |
ON DELETE SET NULL ON UPDATE SET NULL |
1765 |
ON DELETE SET NULL ON UPDATE SET NULL |
|
|
1766 |
CONSTRAINT `old_reserves_ibfk_4` FOREIGN KEY (reserve_group_id) REFERENCES reserve_group (reserve_group_id) |
1767 |
ON DELETE SET NULL ON UPDATE CASCADE |
1766 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
1768 |
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; |
1767 |
|
1769 |
|
1768 |
-- |
1770 |
-- |
Lines 1915-1920
CREATE TABLE `old_reserves` ( -- this table holds all holds/reserves that have b
Link Here
|
1915 |
`suspend` BOOLEAN NOT NULL DEFAULT 0, -- in this hold suspended (1 for yes, 0 for no) |
1917 |
`suspend` BOOLEAN NOT NULL DEFAULT 0, -- in this hold suspended (1 for yes, 0 for no) |
1916 |
`suspend_until` DATETIME NULL DEFAULT NULL, -- the date this hold is suspended until (NULL for infinitely) |
1918 |
`suspend_until` DATETIME NULL DEFAULT NULL, -- the date this hold is suspended until (NULL for infinitely) |
1917 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
1919 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
|
|
1920 |
`reserve_group_id` int unsigned NULL DEFAULT NULL, -- The id of a group of titles reservations fulfilled when one title is picked |
1918 |
PRIMARY KEY (`reserve_id`), |
1921 |
PRIMARY KEY (`reserve_id`), |
1919 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
1922 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
1920 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
1923 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
1921 |
- |
|
|