You are here

function visitors_update_7013 in Visitors 7

Same name and namespace in other branches
  1. 7.2 visitors.install \visitors_update_7013()

Change the visitors_title, visitors_path columns to type text.

File

./visitors.install, line 94
Install/uninstall visitors module.

Code

function visitors_update_7013() {
  db_change_field('visitors', 'visitors_title', 'visitors_title', array(
    'type' => 'text',
    'not null' => TRUE,
  ));
  db_change_field('visitors', 'visitors_path', 'visitors_path', array(
    'type' => 'text',
    'not null' => TRUE,
  ));
}