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 1640-1645
CREATE TABLE `borrowers` ( -- this table includes information about your patrons
Link Here
|
1640 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
1641 |
`privacy_guarantor_checkouts` tinyint(1) NOT NULL DEFAULT '0', -- controls if relatives can see this patron's checkouts |
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'. |
1642 |
`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'. |
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 |
`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) |
|
|
1644 |
`lastseen` datetime default NULL, -- last time a patron has been seed (connected at the OPAC or staff interface) |
1643 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1645 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1644 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1646 |
PRIMARY KEY `borrowernumber` (`borrowernumber`), |
1645 |
KEY `categorycode` (`categorycode`), |
1647 |
KEY `categorycode` (`categorycode`), |