Reverting a mistake in a migration

It seems that @k0piator mistakenly removed a part of an existing migration with @7189296. This reverts the change.