Lines 621-626
CREATE TABLE `deletedborrowers` ( -- stores data related to the patrons/borrower
Link Here
|
621 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
621 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
622 |
`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'. |
622 |
`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'. |
623 |
`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) |
623 |
`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) |
|
|
624 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
624 |
KEY borrowernumber (borrowernumber), |
625 |
KEY borrowernumber (borrowernumber), |
625 |
KEY `cardnumber` (`cardnumber`), |
626 |
KEY `cardnumber` (`cardnumber`), |
626 |
KEY `sms_provider_id` (`sms_provider_id`) |
627 |
KEY `sms_provider_id` (`sms_provider_id`) |
Lines 1639-1644
CREATE TABLE `borrowers` ( -- this table includes information about your patrons
Link Here
|
1639 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
1640 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
1640 |
`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'. |
1641 |
`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'. |
1641 |
`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) |
1642 |
`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) |
|
|
1643 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
1642 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1644 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1643 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1645 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1644 |
KEY `categorycode` (`categorycode`), |
1646 |
KEY `categorycode` (`categorycode`), |