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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user