add generator for model and migration