You are here

function counter_update_6000 in Counter 6.2

1 call to counter_update_6000()
counter_install in ./counter.install
Install the module with a new database table @file

File

./counter.install, line 92
Install the module with a new database table

Code

function counter_update_6000() {
  $ret = array();
  if (db_column_exists('counter', 'counter_page')) {
    db_change_field($ret, 'counter', 'counter_page', 'counter_page', array(
      'type' => 'varchar',
      'length' => '255',
      'not null' => TRUE,
      'default' => '0',
    ));
  }
  return $ret;
}