let replicas be aware of migrations

(UNTESTED!!)