finished database migration