diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-01 22:07:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-01 22:07:10 +0000 |
commit | 88c9a015c16bcfc6312f539c13a320aa40d91aa9 (patch) | |
tree | 41a4defd81dac7be430769844f9b9548035338b0 /modules/aggregator/aggregator.install | |
parent | 43b201df91bb883a9e3f95fb3244ee8db0f11891 (diff) | |
download | brdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.gz brdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.bz2 |
- Patch #111011 by Josh Waihi: adding foreign key specifications.
Diffstat (limited to 'modules/aggregator/aggregator.install')
-rw-r--r-- | modules/aggregator/aggregator.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/aggregator/aggregator.install b/modules/aggregator/aggregator.install index e63ce4fd7..d6a811313 100644 --- a/modules/aggregator/aggregator.install +++ b/modules/aggregator/aggregator.install @@ -89,6 +89,9 @@ function aggregator_schema() { 'indexes' => array( 'fid' => array('fid'), ), + 'foreign keys' => array( + 'cid' => array('aggregator_category' => 'cid'), + ), ); $schema['aggregator_category_item'] = array( @@ -111,6 +114,9 @@ function aggregator_schema() { 'indexes' => array( 'iid' => array('iid'), ), + 'foreign keys' => array( + 'cid' => array('aggregator_category' => 'cid'), + ), ); $schema['aggregator_feed'] = array( @@ -258,6 +264,9 @@ function aggregator_schema() { 'indexes' => array( 'fid' => array('fid'), ), + 'foreign keys' => array( + 'fid' => array('aggregator_feed' => 'fid'), + ), ); return $schema; |