Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix mongodb indexes

  • Loading branch information...
commit 76192739028b4fc25aa3df58a365383e79e7da66 1 parent b07617e
@ornicar ornicar authored
View
4 Resources/config/doctrine/Post.mongodb.xml
@@ -23,8 +23,8 @@
<option name="unique" value="false" />
<option name="dropDups" value="false" />
</index>
- <index name="topic_asc">
- <key name="topic" order="asc" />
+ <index name="topic_id_asc">
+ <key name="topic.$id" order="asc" />
<option name="safe" value="true" />
<option name="unique" value="false" />
<option name="dropDups" value="false" />
View
4 Resources/config/doctrine/Topic.mongodb.xml
@@ -28,8 +28,8 @@
<option name="unique" value="false" />
<option name="dropDups" value="false" />
</index>
- <index name="category_asc">
- <key name="category" order="asc" />
+ <index name="category_id_asc">
+ <key name="category.$id" order="asc" />
<option name="safe" value="true" />
<option name="unique" value="false" />
<option name="dropDups" value="false" />
Please sign in to comment.
Something went wrong with that request. Please try again.