allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#5031] remove project_id from unique index; that field doesn't exist
Date Fri, 05 Oct 2012 13:42:48 GMT
Updated Branches:
  refs/heads/master 80934a197 -> 40777de32


[#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/40777de3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/40777de3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/40777de3

Branch: refs/heads/master
Commit: 40777de32d2893eadbd157c4654ed36f7f8dab8e
Parents: 80934a1
Author: Dave Brondsema <dbrondsema@geek.net>
Authored: Tue Oct 2 18:20:30 2012 +0000
Committer: Cory Johns <johnsca@geek.net>
Committed: Fri Oct 5 13:42:18 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/40777de3/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