def get_db_access_token(db, user_id):
    """Get the OAuth access token for the specified user"""
    row = db.execute("SELECT access_token FROM users WHERE id = ?", [user_id]).fetchone()
    return None if row is None else row[0]