diff --git a/schema.go b/schema.go index 8299c3f..95a98db 100644 --- a/schema.go +++ b/schema.go @@ -187,7 +187,7 @@ func createIndexes(ctx context.Context) error { return err } - if len(userIndexes) < 4 { + if len(userIndexes) < 3 { _, err := userColl.Indexes().CreateMany(ctx, []mongo.IndexModel{ { Keys: bson.D{{Key: "audon_id", Value: 1}},