You are here

function word_link_update_7003 in Word Link 7.2

Adding a status column.

File

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

Code

function word_link_update_7003() {
  if (!db_field_exists('word_link', 'status')) {
    db_add_field('word_link', 'status', array(
      'type' => 'int',
      'not null' => TRUE,
      'default' => 1,
      'size' => 'tiny',
    ));
  }
}