add new entity Details entity in managed object model and did the database migration