You are here

function imagepicker_update_1 in Image Picker 5

Same name and namespace in other branches
  1. 5.2 imagepicker.install \imagepicker_update_1()
  2. 6.2 imagepicker.install \imagepicker_update_1()

File

./imagepicker.install, line 102

Code

function imagepicker_update_1() {
  $ret = array();
  $sql = "ALTER TABLE {imagepicker} CHANGE img_id img_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT";
  $ret[] = update_sql($sql);
  return $ret;
}