function efSocialProfileSchemaUpdates( $updater = null ) {
	global $wgDBtype;

	$dir = dirname( __FILE__ );
	$dbExt = '';

	if ( $wgDBtype == 'postgres' ) {
		$dbExt = '.postgres';
	}

	efSocialProfileDBUpdate( $updater, 'user_board', "$dir/UserBoard/user_board$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_profile', "$dir/UserProfile/user_profile$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_stats', "$dir/UserStats/user_stats$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_relationship',	"$dir/UserRelationship/user_relationship$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_relationship_request', "$dir/UserRelationship/user_relationship$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_system_gift', "$dir/SystemGifts/systemgifts$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'system_gift', "$dir/SystemGifts/systemgifts$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_gift', "$dir/UserGifts/usergifts$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'gift', "$dir/UserGifts/usergifts$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_system_messages', "$dir/UserSystemMessages/user_system_messages$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_status', "$dir/UserStatus/userstatus$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_status_history', "$dir/UserStatus/userstatus$dbExt.sql" );
	efSocialProfileDBUpdate( $updater, 'user_status_likes', "$dir/UserStatus/userstatus$dbExt.sql" );

	return true;
}
function efSocialProfileSchemaUpdates($updater = null)
{
    $dir = dirname(__FILE__);
    $dbExt = "";
    global $wgExtNewTables, $wgDBtype;
    if ($wgDBtype == 'postgres') {
        $dbExt = '.postgres';
    }
    efSocialProfileDBUpdate($updater, 'user_board', "{$dir}/UserBoard/user_board{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_profile', "{$dir}/UserProfile/user_profile{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_stats', "{$dir}/UserStats/user_stats{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_relationship', "{$dir}/UserRelationship/user_relationship{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_relationship_request', "{$dir}/UserRelationship/user_relationship{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_system_gift', "{$dir}/SystemGifts/systemgifts{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'system_gift', "{$dir}/SystemGifts/systemgifts{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_gift', "{$dir}/UserGifts/usergifts{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'gift', "{$dir}/UserGifts/usergifts{$dbExt}.sql");
    efSocialProfileDBUpdate($updater, 'user_system_messages', "{$dir}/UserSystemMessages/user_system_messages{$dbExt}.sql");
    return true;
}