restore GormSpec