You are here

function feedback_update_6101 in Feedback 6.2

Same name and namespace in other branches
  1. 7.2 feedback.install \feedback_update_6101()

Add column for absolute URL.

File

./feedback.install, line 75

Code

function feedback_update_6101() {
  $ret = array();
  db_add_field($ret, 'feedback', 'url', array(
    'type' => 'text',
    'not null' => TRUE,
  ));
  $ret[] = update_sql("UPDATE {feedback} SET url = location");
  return $ret;
}