diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-01 22:07:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-01 22:07:10 +0000 |
commit | 88c9a015c16bcfc6312f539c13a320aa40d91aa9 (patch) | |
tree | 41a4defd81dac7be430769844f9b9548035338b0 /modules/upload/upload.install | |
parent | 43b201df91bb883a9e3f95fb3244ee8db0f11891 (diff) | |
download | brdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.gz brdo-88c9a015c16bcfc6312f539c13a320aa40d91aa9.tar.bz2 |
- Patch #111011 by Josh Waihi: adding foreign key specifications.
Diffstat (limited to 'modules/upload/upload.install')
-rw-r--r-- | modules/upload/upload.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install index 0b50e0bbc..a4d22bea6 100644 --- a/modules/upload/upload.install +++ b/modules/upload/upload.install @@ -83,6 +83,11 @@ function upload_schema() { ), ), 'primary key' => array('vid', 'fid'), + 'foreign keys' => array( + 'fid' => array('files' => 'fid'), + 'nid' => array('node' => 'nid'), + 'vid' => array('node' => 'vid'), + ), 'indexes' => array( 'fid' => array('fid'), 'nid' => array('nid'), |