You are here

function s3fs_update_7202 in S3 File System 7.3

Same name and namespace in other branches
  1. 7.2 s3fs.install \s3fs_update_7202()

Converts the `uri` column of the metadata table to BINARY.

File

./s3fs.install, line 362
Install, update and uninstall functions for the S3 File System module.

Code

function s3fs_update_7202() {

  // As of the introduction of this update hook, s3fs_schema() now defines
  // the `uri` column with "binary = TRUE".
  $schema = s3fs_schema();
  db_change_field('s3fs_file', 'uri', 'uri', $schema['s3fs_file']['fields']['uri']);
}