private void CreateEndpointStats(IDbConnection conn)
{
conn.Execute(@"
create table EndpointStats (
Id char(36) primary key,
EndpointId char(36) not null,
CheckTimeUtc datetime not null,
ResponseTime integer not null,
Status integer not null
);
create index EndpointStats_EndpointId_idx on EndpointStats(EndpointId);
create index EndpointStats_CheckTimeUtc_idx on EndpointStats(CheckTimeUtc);
create index EndpointStats_EndpointIdCheckTimeUtc_idx on EndpointStats(EndpointId,CheckTimeUtc);
");
}