summaryrefslogtreecommitdiff
path: root/modules/upload/upload.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.install')
-rw-r--r--modules/upload/upload.install7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index 08638a7c2..2a5fa213f 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -68,8 +68,11 @@ function upload_schema() {
'description' => t('Weight of this upload in relation to other uploads in this node.'),
),
),
- 'primary key' => array('fid', 'vid'),
- 'indexes' => array('vid' => array('vid'), 'nid' => array('nid')),
+ 'primary key' => array('vid', 'fid'),
+ 'indexes' => array(
+ 'fid' => array('fid'),
+ 'nid' => array('nid'),
+ ),
);
return $schema;