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, 7 insertions, 0 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index 428d5ba9a..08638a7c2 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -60,6 +60,13 @@ function upload_schema() {
'size' => 'tiny',
'description' => t('Whether the file should be visibly listed on the node: yes(1) or no(0).'),
),
+ 'weight' => array(
+ 'type' => 'int',
+ 'not null' => TRUE,
+ 'default' => 0,
+ 'size' => 'tiny',
+ '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')),