1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-17 23:59:44 +00:00

sql 8.0 repo_auto_delete (#438)

This commit is contained in:
欢乐马
2021-01-04 15:04:22 +08:00
committed by GitHub
parent 686755f474
commit a9d1347152
2 changed files with 10 additions and 0 deletions

View File

@@ -37,3 +37,11 @@ CREATE TABLE IF NOT EXISTS `ocm_share_received` (
KEY `ocm_share_received_repo_id_9e77a1b9` (`repo_id`),
KEY `ocm_share_received_provider_id_60c873e0` (`provider_id`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `repo_auto_delete` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`repo_id` varchar(36) NOT NULL,
`days` int(11) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `repo_id` (`repo_id`)
) ENGINE = InnoDB DEFAULT CHARSET=utf8;