diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-08-22 13:55:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-08-22 13:55:53 +0000 |
commit | db5368027e7b38a274e17bf002f543a0ffbbd7ae (patch) | |
tree | 95d6bbe06b2a58ddbad9e345523f4da2e6dfbe68 /modules/search | |
parent | 39d6704418f4a072f7157a524d4742a6c4e4f593 (diff) | |
download | brdo-db5368027e7b38a274e17bf002f543a0ffbbd7ae.tar.gz brdo-db5368027e7b38a274e17bf002f543a0ffbbd7ae.tar.bz2 |
- Patch #880132 by bojanz: hook_schema() doesn't support compound foreign keys; inconsistent implementations in core.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.install | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/search/search.install b/modules/search/search.install index a73afc751..de870085d 100644 --- a/modules/search/search.install +++ b/modules/search/search.install @@ -85,8 +85,13 @@ function search_schema() { 'sid_type' => array('sid', 'type'), ), 'foreign keys' => array( - 'sid' => array('search_dataset' => 'sid'), - 'type' => array('search_dataset' => 'type'), + 'search_dataset' => array( + 'table' => 'search_dataset', + 'columns' => array( + 'sid' => 'sid', + 'type' => 'type', + ), + ), ), 'primary key' => array('word', 'sid', 'type'), ); |