write migration time