You are here

function amazons3_update_7101 in AmazonS3 7

Same name and namespace in other branches
  1. 7.2 amazons3.install \amazons3_update_7101()

Change uid to a varchar.

File

./amazons3.install, line 182
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);
}