You are here

function shurly_update_6101 in ShURLy 6

Convert destination field to text.

File

./shurly.install, line 155
Shurly install file

Code

function shurly_update_6101() {
  $ret = array();
  db_change_field($ret, 'shurly', 'destination', 'destination', array(
    'description' => t('redirect URL'),
    'type' => 'text',
    'not null' => TRUE,
  ));
  return $ret;
}