You are here

function word_link_update_7004 in Word Link 7.2

Rename 'except' field to 'except_list'.

File

./word_link.install, line 169
Install, update, and uninstall functions for the word_link module.

Code

function word_link_update_7004() {
  if (!db_field_exists('word_link', 'except_list')) {
    $spec = array(
      'type' => 'text',
      'length' => 255,
      'not null' => TRUE,
    );
    db_change_field('word_link', 'except', 'except_list', $spec);
  }
}