You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/10/02 20:20:43 UTC

git commit: [#5031] remove project_id from unique index; that field doesn't exist

Updated Branches:
  refs/heads/db/5031 [created] 73a39f576


[#5031] remove project_id from unique index; that field doesn't exist


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/73a39f57
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/73a39f57
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/73a39f57

Branch: refs/heads/db/5031
Commit: 73a39f57681d106996bf08158a760d40c51e20ea
Parents: 0298d85
Author: Dave Brondsema <db...@geek.net>
Authored: Tue Oct 2 18:20:30 2012 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Tue Oct 2 18:20:30 2012 +0000

----------------------------------------------------------------------
 ForgeBlog/forgeblog/model/blog.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/73a39f57/ForgeBlog/forgeblog/model/blog.py
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/model/blog.py b/ForgeBlog/forgeblog/model/blog.py
index 945290d..480d9bc 100644
--- a/ForgeBlog/forgeblog/model/blog.py
+++ b/ForgeBlog/forgeblog/model/blog.py
@@ -74,7 +74,7 @@ class BlogPost(M.VersionedArtifact, ActivityObject):
     class __mongometa__:
         name='blog_post'
         history_class = BlogPostSnapshot
-        unique_indexes = [ ('project_id', 'app_config_id', 'slug') ]
+        unique_indexes = [ ('app_config_id', 'slug') ]
     type_s = 'Blog Post'
 
     title = FieldProperty(str, if_missing='Untitled')