Mirgration to the last db commit.