From 88c9a015c16bcfc6312f539c13a320aa40d91aa9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 1 Jun 2009 22:07:10 +0000 Subject: - Patch #111011 by Josh Waihi: adding foreign key specifications. --- modules/aggregator/aggregator.install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/aggregator/aggregator.install') 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; -- cgit v1.2.3