SamSaffron/MiniProfiler — pull request #114 by JSkimming (2013-02-08 16:02:58+00:00)
Title: Updated TableCreationScript for SQL Azure

I've just been using MiniProfiler and setting it up to store the profile results in SQL Azure. I've used the latest [TableCreationScript](https://github.com/SamSaffron/MiniProfiler/blob/85609b6226eff71ac21dfa990dd1fa54aace237f/StackExchange.Profiling/Storage/SqlServerStorage.cs#L511), but it failed because SQL Azure requires all tables to have a primary clustered index.

I also answered this quest on [stackoverflow](http://stackoverflow.com/a/14775721/495964) while producing the solution.

The change still works on tradition SQL Server, which I use in development.