I wouldn't apply this as a part of the migration. I'd recommend doing this as a backfill on all columns that are NULL *later*.