revert index count

peertube
Namekuji 2023-01-27 01:52:04 -05:00
rodzic 9543928276
commit b571b4df30
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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}},