You are here

function filefield_paths_update_7106 in File (Field) Paths 7

Increase length of 'type' and 'field' columns.

File

./filefield_paths.install, line 135
Install, update and uninstall functions for the File (Field) Paths module.

Code

function filefield_paths_update_7106() {
  db_change_field('filefield_paths', 'type', 'type', array(
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
  ));
  db_change_field('filefield_paths', 'field', 'field', array(
    'type' => 'varchar',
    'length' => 128,
    'not null' => TRUE,
    'default' => '',
  ));
}