Source code for the article:
This article’s goal is to help one avoid all the hassle of looking for different solutions to small problems when implementing a production-ready mobile local database, and creating code-first migrations for it on both Windows and Mac machines.
Bonus : How to ship a pre-created database file with your app