You are here

function imagepicker_update_1 in Image Picker 5.2

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

File

./imagepicker.install, line 89
imagepicker install, update and uninstall functions

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;
}