incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#5031] remove project_id from unique index; that field doesn't exist
Date Tue, 02 Oct 2012 18:20:43 GMT
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 <dbrondsema@geek.net>
Authored: Tue Oct 2 18:20:30 2012 +0000
Committer: Dave Brondsema <dbrondsema@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')


Mime
View raw message