From 17c6a9122bd79d1e7b04388cb540dd33195948f2 Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Sun, 21 Nov 2010 09:21:38 +0000 Subject: [PATCH] #970016 by EclipseGc: Fixed taxonomy_field_schema lacks any foreign key support --- modules/taxonomy/taxonomy.install | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 8c2de3f86f01..4b5663ffd653 100644 --- a/modules/taxonomy/taxonomy.install +++ b/modules/taxonomy/taxonomy.install @@ -235,6 +235,12 @@ function taxonomy_field_schema($field) { 'indexes' => array( 'tid' => array('tid'), ), + 'foreign keys' => array( + 'tid' => array( + 'table' => 'taxonomy_term_data', + 'columns' => array('tid' => 'tid'), + ), + ), ); } -- GitLab