enable generate model file and migration