Revert 274e965..4158aef

This rolls back to commit 274e965a580391f93ed594c55af9294615f6e285.
bug fixing on ' --create-migration [migration-name]'