diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-29 01:37:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-29 01:37:03 +0000 |
commit | f833423b504597d58657b731fc0eae327ed54db9 (patch) | |
tree | 3a71e23649d64713bb53a64e28da6e2104082941 /modules/file | |
parent | c90c201e30084c272c73ed319f648a99edbbcb62 (diff) | |
download | brdo-f833423b504597d58657b731fc0eae327ed54db9.tar.gz brdo-f833423b504597d58657b731fc0eae327ed54db9.tar.bz2 |
- Patch #915168 by chx, sun: foreign key support is missing from text and file module.
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/file.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/file/file.install b/modules/file/file.install index fdf908805..f313249e2 100644 --- a/modules/file/file.install +++ b/modules/file/file.install @@ -35,6 +35,12 @@ function file_field_schema($field) { 'indexes' => array( 'fid' => array('fid'), ), + 'foreign keys' => array( + 'fid' => array( + 'table' => 'file', + 'columns' => array('fid' => 'fid'), + ), + ), ); } |