Implement migration window (close #145)