function fb_user_update_2 in Drupal for Facebook 6.2
Same name and namespace in other branches
- 5.2 fb_user.install \fb_user_update_2()
- 5 fb_user.install \fb_user_update_2()
- 6.3 fb_user.install \fb_user_update_2()
File
- ./
fb_user.install, line 67 - Install file for fb_user.module.
Code
function fb_user_update_2() {
$ret = array();
// Add local uid to fb_user_app table.
$ret[] = update_sql("ALTER TABLE {fb_user_app} ADD COLUMN uid int(11) DEFAULT NULL");
$ret[] = update_sql("ALTER TABLE {fb_user_app} ADD INDEX (uid)");
//$ret[] = update_sql("ALTER TABLE {fb_user_app} ADD UNIQUE INDEX (uid, apikey)");
return $ret;
}