diff options
Diffstat (limited to 'modules/file/file.install')
-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'), + ), + ), ); } |