From f833423b504597d58657b731fc0eae327ed54db9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 Sep 2010 01:37:03 +0000 Subject: - Patch #915168 by chx, sun: foreign key support is missing from text and file module. --- modules/file/file.install | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/file/file.install') 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'), + ), + ), ); } -- cgit v1.2.3