diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 09:21:38 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 09:21:38 +0000 |
commit | 17c6a9122bd79d1e7b04388cb540dd33195948f2 (patch) | |
tree | a1717c1e8b87c107ebdf472abef407dcda88b594 /modules/taxonomy | |
parent | 11b932e19d0f2033f0431599428fedb89104ac80 (diff) | |
download | brdo-17c6a9122bd79d1e7b04388cb540dd33195948f2.tar.gz brdo-17c6a9122bd79d1e7b04388cb540dd33195948f2.tar.bz2 |
#970016 by EclipseGc: Fixed taxonomy_field_schema lacks any foreign key support
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install index 8c2de3f86..4b5663ffd 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'), + ), + ), ); } |