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/trigger/trigger.install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/trigger') diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install index e34c66c27..309ad5747 100644 --- a/modules/trigger/trigger.install +++ b/modules/trigger/trigger.install @@ -36,7 +36,10 @@ function trigger_schema() { ), 'primary key' => array('hook', 'aid'), 'foreign keys' => array( - 'aid' => array('actions' => 'aid'), + 'action' => array( + 'table' => 'actions', + 'columns' => array('aid' => 'aid'), + ), ), ); return $schema; -- cgit v1.2.3