added automatic migration creation and how to