generate migration file for user