diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 09:24:41 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-11-21 09:24:41 +0000 |
commit | 0222fa7003a2a07fceacd2323b709d3af55deccd (patch) | |
tree | e8b161e51de03c8bd8e5995b039935b94bbb73fc /modules/file | |
parent | 17c6a9122bd79d1e7b04388cb540dd33195948f2 (diff) | |
download | brdo-0222fa7003a2a07fceacd2323b709d3af55deccd.tar.gz brdo-0222fa7003a2a07fceacd2323b709d3af55deccd.tar.bz2 |
#970002 by EclipseGc: Fixed file field foreign key table is incorrect
Diffstat (limited to 'modules/file')
-rw-r--r-- | modules/file/file.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/file/file.install b/modules/file/file.install index f313249e2..c697f87af 100644 --- a/modules/file/file.install +++ b/modules/file/file.install @@ -13,7 +13,7 @@ function file_field_schema($field) { return array( 'columns' => array( 'fid' => array( - 'description' => 'The {files}.fid being referenced in this field.', + 'description' => 'The {file_managed}.fid being referenced in this field.', 'type' => 'int', 'not null' => FALSE, 'unsigned' => TRUE, @@ -37,7 +37,7 @@ function file_field_schema($field) { ), 'foreign keys' => array( 'fid' => array( - 'table' => 'file', + 'table' => 'file_managed', 'columns' => array('fid' => 'fid'), ), ), |