You are here

function customfilter_update_6114 in Custom filter 6

Same name and namespace in other branches
  1. 7.2 customfilter.install \customfilter_update_6114()
  2. 7 customfilter.install \customfilter_update_6114()

Implements hook_update_N().

File

./customfilter.install, line 417
Installation file for Custom filter.

Code

function customfilter_update_6114() {
  $ret = array();
  if (!db_column_exists('customfilter_filter', 'type')) {
    db_add_field($ret, 'customfilter_filter', 'type', array(
      'description' => 'The machine-readable name of this filter.',
      'type' => 'varchar',
      'length' => 32,
      'not null' => TRUE,
      'default' => '',
    ));
  }
  return $ret;
}