1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-12 13:28:30 +00:00

token not unique (#493)

This commit is contained in:
Xiangyue Cai
2021-09-24 18:22:22 +08:00
committed by GitHub
parent 53e8bbe5d4
commit 3d9f19f628
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ CREATE TABLE IF NOT EXISTS RepoUserToken (
email VARCHAR(255),
token CHAR(41),
UNIQUE INDEX(repo_id, token),
UNIQUE INDEX(token),
INDEX(token),
INDEX (email)
) ENGINE=INNODB;