system_update_6040
Definition
system_update_6040()
modules/system/system.install, line 2290
Description
Add a weight column to the upload table.
Code
<?php
function system_update_6040() {
$ret = array();
if (db_table_exists('upload')) {
db_add_field($ret, 'upload', 'weight', array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'));
}
return $ret;
}
?> 