You are here

function private_files_download_permission_update_7204 in Private files download permission 7.2

Prepare the database to handle the "grant_file_owners" option.

File

./private_files_download_permission.install, line 248
Installs, updates and uninstalls module variables and settings.

Code

function private_files_download_permission_update_7204() {

  // Update table schema.
  db_add_field('private_files_download_permission_directory', 'grant_file_owners', array(
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'initial' => 0,
  ));
}