create and migrate setup