def METHOD_NAME():
    if random_bool():
        otp_secret = random_chars(16, string.ascii_uppercase + "234567")
    else:
        otp_secret = None
    is_totp = random_bool()
    if is_totp:
        hotp_counter = 0 if random_bool() else None
    else:
        hotp_counter = random.randint(0, 10000) if random_bool() else None
    last_token = random_chars(6, string.digits) if random_bool() else None
    params = {
        "username": random_username(),
        "pw_salt": random_bytes(1, 64, nullable=True),
        "pw_hash": random_bytes(32, 64, nullable=True),
        "is_admin": bool_or_none(),
        "otp_secret": otp_secret,
        "is_totp": is_totp,
        "hotp_counter": hotp_counter,
        "last_token": last_token,
        "created_on": random_datetime(nullable=True),
        "last_access": random_datetime(nullable=True),
    }
    sql = """INSERT INTO journalists (username, pw_salt, pw_hash,
                is_admin, otp_secret, is_totp, hotp_counter, last_token,
                created_on, last_access)
             VALUES (:username, :pw_salt, :pw_hash, :is_admin,
                :otp_secret, :is_totp, :hotp_counter, :last_token,
                :created_on, :last_access);
          """
    db.engine.execute(text(sql), **params)