From db5368027e7b38a274e17bf002f543a0ffbbd7ae Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 22 Aug 2010 13:55:53 +0000 Subject: - Patch #880132 by bojanz: hook_schema() doesn't support compound foreign keys; inconsistent implementations in core. --- modules/statistics/statistics.install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/statistics/statistics.install') diff --git a/modules/statistics/statistics.install b/modules/statistics/statistics.install index a54a7ffda..553b3033a 100644 --- a/modules/statistics/statistics.install +++ b/modules/statistics/statistics.install @@ -90,7 +90,10 @@ function statistics_schema() { ), 'primary key' => array('aid'), 'foreign keys' => array( - 'uid' => array('users' => 'uid'), + 'visitor' => array( + 'table' => 'users', + 'columns' => array('uid' => 'uid'), + ), ), ); -- cgit v1.2.3