1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-08 10:48:52 +00:00

update sql

This commit is contained in:
王健辉
2019-09-21 18:02:54 +08:00
parent 241ba8e621
commit 41b5b8724c
2 changed files with 15 additions and 0 deletions

View File

@@ -112,3 +112,14 @@ CREATE TABLE IF NOT EXISTS `social_auth_usersocialauth` (
ALTER TABLE `base_filecomment` ADD `detail` LONGTEXT DEFAULT NULL;
ALTER TABLE `base_filecomment` ADD `resolved` TINYINT(1) NOT NULL DEFAULT 0;
ALTER TABLE `base_filecomment` ADD INDEX `resolved` (`resolved`);
CREATE TABLE IF NOT EXISTS `base_reposecretkey` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`repo_id` varchar(36) NOT NULL,
`secret_key` varchar(44) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `repo_id` (`repo_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;