Lines 1523-1528
CREATE TABLE `borrowers` (
Link Here
|
1523 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
1523 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
1524 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
1524 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
1525 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
1525 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
|
|
1526 |
`protected` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean flag to mark selected patrons as protected from deletion', |
1526 |
PRIMARY KEY (`borrowernumber`), |
1527 |
PRIMARY KEY (`borrowernumber`), |
1527 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1528 |
UNIQUE KEY `cardnumber` (`cardnumber`), |
1528 |
UNIQUE KEY `userid` (`userid`), |
1529 |
UNIQUE KEY `userid` (`userid`), |
Lines 2650-2655
CREATE TABLE `deletedborrowers` (
Link Here
|
2650 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
2651 |
`anonymized` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'flag for data anonymization', |
2651 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
2652 |
`autorenew_checkouts` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'flag for allowing auto-renewal', |
2652 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
2653 |
`primary_contact_method` varchar(45) DEFAULT NULL COMMENT 'useful for reporting purposes', |
|
|
2654 |
`protected` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'boolean flag to mark selected patrons as protected from deletion', |
2653 |
KEY `borrowernumber` (`borrowernumber`), |
2655 |
KEY `borrowernumber` (`borrowernumber`), |
2654 |
KEY `cardnumber` (`cardnumber`), |
2656 |
KEY `cardnumber` (`cardnumber`), |
2655 |
KEY `sms_provider_id` (`sms_provider_id`) |
2657 |
KEY `sms_provider_id` (`sms_provider_id`) |
2656 |
- |
|
|