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.install8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/search/search.install b/modules/search/search.install
index 684e85e4d..a7d8adbb1 100644
--- a/modules/search/search.install
+++ b/modules/search/search.install
@@ -55,9 +55,7 @@ function search_schema() {
'description' => t('Set to force node reindexing.'),
),
),
- 'indexes' => array(
- 'sid_type' => array('sid', 'type'),
- ),
+ 'primary key' => array('sid', 'type'),
);
$schema['search_index'] = array(
@@ -93,9 +91,7 @@ function search_schema() {
'sid_type' => array('sid', 'type'),
'word' => array('word'),
),
- 'unique keys' => array(
- 'word_sid_type' => array('word', 'sid', 'type'),
- ),
+ 'primary key' => array('word', 'sid', 'type'),
);
$schema['search_total'] = array(