diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-03-15 12:31:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-03-15 12:31:29 +0000 |
commit | f5d4287cd5561a85061f11f003c27058ddce2dda (patch) | |
tree | bf0cd7c6d93060bf316541729b94d1ca5fafb0ce /modules/search | |
parent | 637ec9359cb3ef8e5e16008b800d5633c4fe7890 (diff) | |
download | brdo-f5d4287cd5561a85061f11f003c27058ddce2dda.tar.gz brdo-f5d4287cd5561a85061f11f003c27058ddce2dda.tar.bz2 |
- Patch #214271 by recidive: improved schema identation.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.install | 15 |
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; } - |