1
0
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:
feiniks
2024-08-09 17:45:43 +08:00
committed by GitHub
parent 9930112249
commit 31c81c1f28
2 changed files with 3 additions and 2 deletions

View File

@@ -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;