You are here

function filebrowser_update_6212 in Filebrowser 7.4

Same name and namespace in other branches
  1. 6.2 filebrowser.install \filebrowser_update_6212()
  2. 7.2 filebrowser.install \filebrowser_update_6212()
  3. 7.3 filebrowser.install \filebrowser_update_6212()

File

./filebrowser.install, line 372
filbrowser installation file.

Code

function filebrowser_update_6212() {
  $ret = array();
  if (db_column_exists('node_dir_listing', 'path')) {
    db_change_field($ret, 'node_dir_listing', 'path', 'folder_path', array(
      'type' => 'varchar',
      'length' => '255',
      'not NULL' => TRUE,
    ));
  }
  return $ret;
}