function fb_user_app_update_2 in Drupal for Facebook 7.3
Same name and namespace in other branches
- 6.3 contrib/fb_user_app.install \fb_user_app_update_2()
File
- contrib/
fb_user_app.install, line 70 - Install file for fb_user.module.
Code
function fb_user_app_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;
}