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