From f5d4287cd5561a85061f11f003c27058ddce2dda Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 15 Mar 2008 12:31:29 +0000 Subject: - Patch #214271 by recidive: improved schema identation. --- modules/search/search.install | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'modules/search') 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; } - -- cgit v1.2.3