Make sure that index is set on regatta name for wind tracks

This commit is contained in:
Simon Pamies committed 2013-03-05 20:27:15 +01:00
1 parent 5a7967fe79
commit 6a9d419dd2
1 file changed
+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;
}