Lines 1773-1778
CREATE TABLE `reserves` ( -- information related to holds/reserves in Koha
Link Here
|
1773 |
`suspend_until` DATETIME NULL DEFAULT NULL, |
1773 |
`suspend_until` DATETIME NULL DEFAULT NULL, |
1774 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
1774 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
1775 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0, -- Is the hpld placed at item level |
1775 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0, -- Is the hpld placed at item level |
|
|
1776 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0, -- Is this a non priority hold |
1776 |
PRIMARY KEY (`reserve_id`), |
1777 |
PRIMARY KEY (`reserve_id`), |
1777 |
KEY priorityfoundidx (priority,found), |
1778 |
KEY priorityfoundidx (priority,found), |
1778 |
KEY `borrowernumber` (`borrowernumber`), |
1779 |
KEY `borrowernumber` (`borrowernumber`), |
Lines 1814-1819
CREATE TABLE `old_reserves` ( -- this table holds all holds/reserves that have b
Link Here
|
1814 |
`suspend_until` DATETIME NULL DEFAULT NULL, -- the date this hold is suspended until (NULL for infinitely) |
1815 |
`suspend_until` DATETIME NULL DEFAULT NULL, -- the date this hold is suspended until (NULL for infinitely) |
1815 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
1816 |
`itemtype` VARCHAR(10) NULL DEFAULT NULL, -- If record level hold, the optional itemtype of the item the patron is requesting |
1816 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0, -- Is the hpld placed at item level |
1817 |
`item_level_hold` tinyint(1) NOT NULL DEFAULT 0, -- Is the hpld placed at item level |
|
|
1818 |
`non_priority` tinyint(1) NOT NULL DEFAULT 0, -- Is this a non priority hold |
1817 |
PRIMARY KEY (`reserve_id`), |
1819 |
PRIMARY KEY (`reserve_id`), |
1818 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
1820 |
KEY `old_reserves_borrowernumber` (`borrowernumber`), |
1819 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
1821 |
KEY `old_reserves_biblionumber` (`biblionumber`), |
1820 |
- |
|
|