def METHOD_NAME(journalist_id):
    params = {
        "timestamp": random_datetime(nullable=True),
        "journalist_id": journalist_id,
    }
    sql = """INSERT INTO journalist_login_attempt (timestamp,
                journalist_id)
             VALUES (:timestamp, :journalist_id)
          """
    db.engine.execute(text(sql), **params)