function system_update_6040
6.x system.install | system_update_6040() |
Add a weight column to the upload table.
Related topics
File
- drupal-6.x/
modules/ system/ system.install, line 2379
Code
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;
}