Skip to content

Commit

Permalink
Add index when create WebUploadTempFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
杨赫然 committed Aug 9, 2024
1 parent 99fb39e commit 71a48cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/sql/mysql/seafile.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 71a48cc

Please sign in to comment.