From 46a7676a6aedf47664e759940dd24f92471ee094 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 21 Jun 2011 14:46:59 -0700 Subject: [PATCH] Properly scope some SQL. --- resources/sql/patches/048.relationshipkeys.sql | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/resources/sql/patches/048.relationshipkeys.sql b/resources/sql/patches/048.relationshipkeys.sql index 85cf1bd869..8b8b09c0ee 100644 --- a/resources/sql/patches/048.relationshipkeys.sql +++ b/resources/sql/patches/048.relationshipkeys.sql @@ -1,2 +1,5 @@ -ALTER TABLE search_documentrelationship add key (relatedPHID, relation); -ALTER TABLE search_documentrelationship add key (relation, relatedPHID); +ALTER TABLE phabricator_search.search_documentrelationship + add key (relatedPHID, relation); + +ALTER TABLE phabricator_search.search_documentrelationship + add key (relation, relatedPHID);