getByToken migration