close migration log