function amazons3_update_7101 in AmazonS3 7.2
Same name and namespace in other branches
- 7 amazons3.install \amazons3_update_7101()
Change uid to a varchar.
File
- ./
amazons3.install, line 142 - Install, update and uninstall functions for the AmazonS3 module.
Code
function amazons3_update_7101(&$sandbox) {
$spec = array(
'description' => 'The uid of the user who is associated with the file (not Drupal uid).',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
);
db_change_field('amazons3_file', 'uid', 'uid', $spec);
}