Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9DFBE9C72 for ; Mon, 20 May 2013 21:18:41 +0000 (UTC) Received: (qmail 93150 invoked by uid 500); 20 May 2013 21:18:41 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 93112 invoked by uid 500); 20 May 2013 21:18:41 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 93087 invoked by uid 99); 20 May 2013 21:18:41 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 May 2013 21:18:41 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 49259890A24; Mon, 20 May 2013 21:18:41 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: brondsem@apache.org To: allura-commits@incubator.apache.org Date: Mon, 20 May 2013 21:18:41 -0000 Message-Id: <628790c5996049dc83b5121534fb934c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: [#6226] Added missing indexes for project_id for purge script Updated Branches: refs/heads/db/6256 3c3ddcb1d -> 272724290 (forced update) [#6226] Added missing indexes for project_id for purge script Signed-off-by: Cory Johns Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/e34ca49a Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/e34ca49a Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/e34ca49a Branch: refs/heads/db/6256 Commit: e34ca49ab28ced893db93010d8560cd17e9879df Parents: 0d1c69e Author: Cory Johns Authored: Fri May 17 14:29:22 2013 +0000 Committer: Dave Brondsema Committed: Mon May 20 18:25:40 2013 +0000 ---------------------------------------------------------------------- Allura/allura/model/notification.py | 1 + ForgeChat/forgechat/model/chat.py | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e34ca49a/Allura/allura/model/notification.py ---------------------------------------------------------------------- diff --git a/Allura/allura/model/notification.py b/Allura/allura/model/notification.py index 6326bcc..3c3517f 100644 --- a/Allura/allura/model/notification.py +++ b/Allura/allura/model/notification.py @@ -69,6 +69,7 @@ class Notification(MappedClass): class __mongometa__: session = main_orm_session name = 'notification' + indexes = ['project_id'] _id = FieldProperty(str, if_missing=h.gen_message_id) http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e34ca49a/ForgeChat/forgechat/model/chat.py ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/model/chat.py b/ForgeChat/forgechat/model/chat.py index 0035946..981dd38 100644 --- a/ForgeChat/forgechat/model/chat.py +++ b/ForgeChat/forgechat/model/chat.py @@ -28,6 +28,7 @@ class ChatChannel(MappedClass): class __mongometa__: name = 'globals' session = M.main_orm_session + indexes = ['project_id'] unique_indexes = [ 'channel' ] _id = FieldProperty(S.ObjectId)