debugged a bit
changed migration class name to avoid error
added logic to better generate migration file
removed .name to avoid error