summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
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(