summaryrefslogtreecommitdiff
path: root/modules/search/search.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search/search.install')
-rw-r--r--modules/search/search.install15
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/search/search.install b/modules/search/search.install
index 75a23e83d..b6e3b7c12 100644
--- a/modules/search/search.install
+++ b/modules/search/search.install
@@ -55,7 +55,9 @@ function search_schema() {
'description' => t('Set to force node reindexing.'),
),
),
- 'unique keys' => array('sid_type' => array('sid', 'type')),
+ 'unique keys' => array(
+ 'sid_type' => array('sid', 'type'),
+ ),
);
$schema['search_index'] = array(
@@ -89,9 +91,11 @@ function search_schema() {
),
'indexes' => array(
'sid_type' => array('sid', 'type'),
- 'word' => array('word')
+ 'word' => array('word'),
+ ),
+ 'unique keys' => array(
+ 'word_sid_type' => array('word', 'sid', 'type'),
),
- 'unique keys' => array('word_sid_type' => array('word', 'sid', 'type')),
);
$schema['search_total'] = array(
@@ -145,9 +149,10 @@ function search_schema() {
),
),
'primary key' => array('sid', 'type', 'nid'),
- 'indexes' => array('nid' => array('nid')),
+ 'indexes' => array(
+ 'nid' => array('nid'),
+ ),
);
return $schema;
}
-