Lines 1559-1564
CREATE TABLE `borrowers` (
Link Here
|
1559 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
1559 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
1560 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
1560 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
1561 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
1561 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
|
|
1562 |
`protected` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean flag to mark selected patrons as protected from deletion', |
1562 |
PRIMARY KEY (`borrowernumber`), |
1563 |
PRIMARY KEY (`borrowernumber`), |
1563 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1564 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1564 |
UNIQUE KEY `userid` (`userid`), |
1565 |
UNIQUE KEY `userid` (`userid`), |
Lines 2688-2693
CREATE TABLE `deletedborrowers` (
Link Here
|
2688 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
2689 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
2689 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
2690 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
2690 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
2691 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
|
|
2692 |
`protected` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean flag to mark selected patrons as protected from deletion', |
2691 |
KEY `borrowernumber` (`borrowernumber`), |
2693 |
KEY `borrowernumber` (`borrowernumber`), |
2692 |
KEY `cardnumber` (`cardnumber`), |
2694 |
KEY `cardnumber` (`cardnumber`), |
2693 |
KEY `sms_provider_id` (`sms_provider_id`) |
2695 |
KEY `sms_provider_id` (`sms_provider_id`) |
2694 |
- |
|
|