def get_unique_antenna_ids(connection):
    """Return distinct antenna_ids from the database."""
    cur = connection.cursor()
    cur.execute("SELECT DISTINCT antenna_id FROM public.opal;")
    result = cur.fetchall()
    cur.close()
    return result