Lines 3526-3537
CREATE TABLE `identity_provider_domains` (
Link Here
|
3526 |
`identity_provider_domain_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique key, used to identify providers domain', |
3526 |
`identity_provider_domain_id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique key, used to identify providers domain', |
3527 |
`identity_provider_id` int(11) NOT NULL COMMENT 'Reference to provider', |
3527 |
`identity_provider_id` int(11) NOT NULL COMMENT 'Reference to provider', |
3528 |
`domain` varchar(100) DEFAULT NULL COMMENT 'Domain name. If null means all domains', |
3528 |
`domain` varchar(100) DEFAULT NULL COMMENT 'Domain name. If null means all domains', |
3529 |
`auto_register` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow user auto register', |
|
|
3530 |
`update_on_auth` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Update user data on auth login', |
3529 |
`update_on_auth` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Update user data on auth login', |
3531 |
`default_library_id` varchar(10) DEFAULT NULL COMMENT 'Default library to create user if auto register is enabled', |
3530 |
`default_library_id` varchar(10) DEFAULT NULL COMMENT 'Default library to create user if auto register is enabled', |
3532 |
`default_category_id` varchar(10) DEFAULT NULL COMMENT 'Default category to create user if auto register is enabled', |
3531 |
`default_category_id` varchar(10) DEFAULT NULL COMMENT 'Default category to create user if auto register is enabled', |
3533 |
`allow_opac` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Allow provider from opac interface', |
3532 |
`allow_opac` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Allow provider from opac interface', |
3534 |
`allow_staff` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow provider from staff interface', |
3533 |
`allow_staff` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow provider from staff interface', |
|
|
3534 |
`auto_register_opac` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow user auto register (OPAC)', |
3535 |
`auto_register_staff` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Allow user auto register (Staff interface)', |
3535 |
PRIMARY KEY (`identity_provider_domain_id`), |
3536 |
PRIMARY KEY (`identity_provider_domain_id`), |
3536 |
UNIQUE KEY `identity_provider_id` (`identity_provider_id`,`domain`), |
3537 |
UNIQUE KEY `identity_provider_id` (`identity_provider_id`,`domain`), |
3537 |
KEY `domain` (`domain`), |
3538 |
KEY `domain` (`domain`), |
3538 |
- |
|
|