add endtime to migrations