You are here

function location_www_update_7001 in Location 7.3

Increase the length of www field to maximum URLs length, 2,048 characters.

File

contrib/location_www/location_www.install, line 121
Install, update and uninstall functions for the location_www module.

Code

function location_www_update_7001() {
  db_change_field('location_www', 'www', 'www', array(
    'description' => 'www adress',
    'type' => 'varchar',
    'length' => 2048,
    'not null' => TRUE,
    'default' => '',
  ));
}