mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-07 19:42:17 +00:00
Make sure that index is set on regatta name for wind tracks
This commit is contained in:
1 parent
5a7967fe79
commit
6a9d419dd2
1 file changed
+1
-1
+1
-1
@@ -100,7 +100,7 @@ public class MongoObjectFactoryImpl implements MongoObjectFactory {
|
||||
|
||||
public DBCollection getWindTrackCollection() {
|
||||
DBCollection result = database.getCollection(CollectionNames.WIND_TRACKS.name());
|
||||
result.ensureIndex(new BasicDBObject(FieldNames.EVENT_NAME.name(), null));
|
||||
result.ensureIndex(new BasicDBObject(FieldNames.REGATTA_NAME.name(), null));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user