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