summaryrefslogtreecommitdiff
path: root/modules/upload/upload.install
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-29 11:49:34 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-29 11:49:34 +0000
commitaafd4733ba094572a9098bef23b0df26f821f167 (patch)
treea27a7870448f21a8ce486cc4d05301144d39a6e9 /modules/upload/upload.install
parent79792eeb6fccfdbe91affb228e3e6259328d7c7a (diff)
downloadbrdo-aafd4733ba094572a9098bef23b0df26f821f167.tar.gz
brdo-aafd4733ba094572a9098bef23b0df26f821f167.tar.bz2
#193105 by dmitrig01, quicksketch: add weights and drag and drop ordering support to uploads
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')),