summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-01 22:07:10 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-01 22:07:10 +0000
commit88c9a015c16bcfc6312f539c13a320aa40d91aa9 (patch)
tree41a4defd81dac7be430769844f9b9548035338b0 /modules/system
parent43b201df91bb883a9e3f95fb3244ee8db0f11891 (diff)
downloadbrdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.gz
brdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.bz2
- Patch #111011 by Josh Waihi: adding foreign key specifications.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.install6
1 files changed, 6 insertions, 0 deletions
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(