You are here

function imagepicker_update_5201 in Image Picker 5.2

File

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

Code

function imagepicker_update_5201() {
  $ret = array();
  $sql = "ALTER TABLE {imagepicker_user_groups} ADD `avail_roles` VARCHAR(255) NOT NULL DEFAULT 'all'";
  $ret[] = update_sql($sql);
  return $ret;
}