mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 22:54:11 +00:00
Upgrade 9.0 10.0 (#5374)
* upgrade_9.0_10.0 * seafile-monitor.sh * rm seahub-extra in scripts * rm seafile_auth_token
This commit is contained in:
21
scripts/upgrade/sql/10.0.0/mysql/seahub.sql
Normal file
21
scripts/upgrade/sql/10.0.0/mysql/seahub.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
CREATE TABLE IF NOT EXISTS `org_saml_config` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`org_id` int(11) NOT NULL,
|
||||
`metadata_url` longtext NOT NULL,
|
||||
`single_sign_on_service` longtext NOT NULL,
|
||||
`single_logout_service` longtext NOT NULL,
|
||||
`valid_days` int(11) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `org_id` (`org_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `base_usermonitoredrepos` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`email` varchar(254) NOT NULL,
|
||||
`repo_id` varchar(36) NOT NULL,
|
||||
`timestamp` datetime(6) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `base_usermonitoredrepos_email_repo_id_b4ab00e4_uniq` (`email`,`repo_id`),
|
||||
KEY `base_usermonitoredrepos_email_55ead1b9` (`email`),
|
||||
KEY `base_usermonitoredrepos_repo_id_00e624c3` (`repo_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
Reference in New Issue
Block a user