Add was_migrated flag to model object.