summaryrefslogtreecommitdiffstats
path: root/src/daemon/jsondbreducedefinition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/jsondbreducedefinition.cpp')
-rw-r--r--src/daemon/jsondbreducedefinition.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/daemon/jsondbreducedefinition.cpp b/src/daemon/jsondbreducedefinition.cpp
index 1bc4c71..6de9f43 100644
--- a/src/daemon/jsondbreducedefinition.cpp
+++ b/src/daemon/jsondbreducedefinition.cpp
@@ -136,9 +136,6 @@ void JsonDbReduceDefinition::releaseScriptEngine()
void JsonDbReduceDefinition::initIndexes()
{
- // TODO: this index should not be automatic
- mTargetTable->addIndexOnProperty(mSourceKeyName, QLatin1String("string"), mSourceType);
- // TODO: this index should not be automatic
mTargetTable->addIndexOnProperty(mTargetKeyName, QLatin1String("string"), mTargetType);
mTargetTable->addIndexOnProperty(QLatin1String("_reduceUuid"), QLatin1String("string"), mTargetType);
}