Set nullable flag to model fields