fixes generator spec test directory
simplifies migration file and makes it more consistent to other migrations