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/aggregator | |
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/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.install | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install index 43fcf8119..6f5230db7 100644 --- a/modules/aggregator/aggregator.install +++ b/modules/aggregator/aggregator.install @@ -80,7 +80,10 @@ function aggregator_schema() { 'fid' => array('fid'), ), 'foreign keys' => array( - 'cid' => array('aggregator_category' => 'cid'), + 'aggregator_category' => array( + 'table' => 'aggregator_category', + 'columns' => array('cid' => 'cid'), + ), ), ); @@ -105,7 +108,10 @@ function aggregator_schema() { 'iid' => array('iid'), ), 'foreign keys' => array( - 'cid' => array('aggregator_category' => 'cid'), + 'aggregator_category' => array( + 'table' => 'aggregator_category', + 'columns' => array('cid' => 'cid'), + ), ), ); @@ -264,7 +270,10 @@ function aggregator_schema() { 'fid' => array('fid'), ), 'foreign keys' => array( - 'fid' => array('aggregator_feed' => 'fid'), + 'aggregator_feed' => array( + 'table' => 'aggregator_feed', + 'columns' => array('fid' => 'fid'), + ), ), ); |