Entity Framework 6 migrations with SQLite

The Entity Framework also supports database migration with Code First method. However, this feature must be explicitly supported by the database provider (for MS SQL this is the case). Unfortunately, this feature is not implemented in SQLite. In this article I show a feasible way how this can be implemented with EF6 and current SQLite version.