Updates to migration and models v1.2