mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 07:26:37 +00:00
Don't create repo_id unique index (#679)
* Don't create repo_id unique index * Add index when create WebUploadTempFiles --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -324,5 +324,6 @@ CREATE TABLE IF NOT EXISTS WebUploadTempFiles (
|
||||
id BIGINT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
repo_id CHAR(40) NOT NULL,
|
||||
file_path TEXT NOT NULL,
|
||||
tmp_file_path TEXT NOT NULL
|
||||
tmp_file_path TEXT NOT NULL,
|
||||
INDEX(repo_id)
|
||||
) ENGINE=INNODB;
|
||||
|
Reference in New Issue
Block a user