How to do a lightweight Core Data migration in Swift

Here’s a stack overflow post on the topic.
Define migrationOptions to be used in persistentStoreCoordinator

Inclue options in:

It should end up like this:

Similarly in Objective C. Thanks @rockvotes