Feature/improve migrations

How does this work?