migration to consumes/getByToken