HealthMonitoring.Persistence.MySqlDatabase.CreateEndpointStats C# (CSharp) Method

CreateEndpointStats() private method

private CreateEndpointStats ( IDbConnection conn ) : void
conn IDbConnection
return void
        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);
");
        }