I get an SqlException saying that the column ‘CreatedOn’ is not found on the __MigrationHistory table. EF appears to swallow that exception, but if I enable MiniProfiler it propagates to my code and I can’t even catch it!
If I comment this line MiniProfilerEF.Initialize(), disabling EF profiling, I don’t get the exception.