feat: index User.email
This commit is contained in:
parent
caf580c6df
commit
eeda0d20d7
1 changed files with 3 additions and 0 deletions
|
@ -30,3 +30,6 @@ CREATE TABLE IF NOT EXISTS user_query
|
|||
|
||||
PRIMARY KEY (user_id)
|
||||
);
|
||||
|
||||
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS user_email_index ON user_query (email);
|
||||
|
|
Loading…
Reference in a new issue