Migration with type creation