updates migrations to include type for inheritance
finishes factories generation