Lines 630-635
CREATE TABLE `deletedborrowers` ( -- stores data related to the patrons/borrower
Link Here
|
630 |
`checkprevcheckout` varchar(7) NOT NULL default 'inherit', -- produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
630 |
`checkprevcheckout` varchar(7) NOT NULL default 'inherit', -- produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
631 |
`updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- time of last change could be useful for synchronization with external systems (among others) |
631 |
`updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- time of last change could be useful for synchronization with external systems (among others) |
632 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
632 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
|
|
633 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
633 |
KEY borrowernumber (borrowernumber), |
634 |
KEY borrowernumber (borrowernumber), |
634 |
KEY `cardnumber` (`cardnumber`), |
635 |
KEY `cardnumber` (`cardnumber`), |
635 |
KEY `sms_provider_id` (`sms_provider_id`) |
636 |
KEY `sms_provider_id` (`sms_provider_id`) |
Lines 1655-1661
CREATE TABLE `borrowers` ( -- this table includes information about your patrons
Link Here
|
1655 |
`checkprevcheckout` varchar(7) NOT NULL default 'inherit', -- produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
1656 |
`checkprevcheckout` varchar(7) NOT NULL default 'inherit', -- produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
1656 |
`updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- time of last change could be useful for synchronization with external systems (among others) |
1657 |
`updated_on` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- time of last change could be useful for synchronization with external systems (among others) |
1657 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
1658 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
1658 |
overdrive_auth_token text default NULL, -- persist OverDrive auth token |
1659 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
1659 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1660 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1660 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1661 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1661 |
KEY `categorycode` (`categorycode`), |
1662 |
KEY `categorycode` (`categorycode`), |