Lines 632-637
CREATE TABLE `deletedborrowers` ( -- stores data related to the patrons/borrower
Link Here
|
632 |
`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'. |
632 |
`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'. |
633 |
`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) |
633 |
`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) |
634 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
634 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
|
|
635 |
`login_attempts` int(4) default 0, -- number of failed login attemps |
635 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
636 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
636 |
KEY borrowernumber (borrowernumber), |
637 |
KEY borrowernumber (borrowernumber), |
637 |
KEY `cardnumber` (`cardnumber`), |
638 |
KEY `cardnumber` (`cardnumber`), |
Lines 1663-1668
CREATE TABLE `borrowers` ( -- this table includes information about your patrons
Link Here
|
1663 |
`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'. |
1664 |
`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'. |
1664 |
`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) |
1665 |
`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) |
1665 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
1666 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
|
|
1667 |
`login_attempts` int(4) default 0, -- number of failed login attemps |
1666 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
1668 |
`overdrive_auth_token` text default NULL, -- persist OverDrive auth token |
1667 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1669 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1668 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1670 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |