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