fix generators, migrations and specs

fixed generators
when you run migration it runs on your project as well
fixed failing specs