Merge pull request 'feat: index User.email' (#33) from email-index into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #33
This commit is contained in:
commit
e3fb0f775d
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