I would like to write a unit test which migrates to the latest schema then tears back down to nothing.
For the migration I can do :
db.Database.Migrate();
but how to I rollback?
Was digging in the assemblies and found I can do this :
db.Database.GetService<IMigrator>().Migrate("0");