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/system/system.install | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/system') diff --git a/modules/system/system.install b/modules/system/system.install index 4f94fb27e..2bfe95db7 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -681,6 +681,9 @@ function system_schema() { 'timestamp' => array('timestamp'), ), 'primary key' => array('fid'), + 'foreign keys' => array( + 'uid' => array('users' => 'uid'), + ), ); $schema['flood'] = array( @@ -1237,6 +1240,9 @@ function system_schema() { 'timestamp' => array('timestamp'), 'uid' => array('uid'), ), + 'foreign keys' => array( + 'uid' => array('users' => 'uid'), + ), ); $schema['system'] = array( -- cgit v1.2.3