Skip to content

Commit

Permalink
Use only one case insensitive index
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Jan 4, 2025
1 parent 29b6291 commit 26beac0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fastapi_users_db_beanie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class BeanieBaseUser(BaseModel):
class Settings:
email_collation = Collation("en", strength=2)
indexes = [
IndexModel("email"),
IndexModel(
"email",
name="case_insensitive_email_index",
Expand Down

0 comments on commit 26beac0

Please sign in to comment.