You are here

function s3fs_update_7006 in S3 File System 7.2

Same name and namespace in other branches
  1. 7.3 s3fs.install \s3fs_update_7006()
  2. 7 s3fs.install \s3fs_update_7006()

Add Version schema change to existing installs.

File

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

Code

function s3fs_update_7006() {
  $version = array(
    'description' => 'The S3 VersionId of the object.',
    'type' => 'varchar',
    'length' => 32,
    'not null' => FALSE,
    'default' => '',
  );
  db_add_field('s3fs_file', 'version', $version);
}