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

CreateEndpointConfig() private static method

private static CreateEndpointConfig ( IDbConnection conn ) : void
conn IDbConnection
return void
        private static void CreateEndpointConfig(IDbConnection conn)
        {
            conn.Execute(@"
create table EndpointConfig (
    Id char(36) primary key, 
    MonitorType varchar(100) not null, 
    Address varchar(2048) not null, 
    GroupName varchar(1024) not null, 
    Name varchar(1024) not null,
    Tags varchar(4096),
    Password char(64),
    RegisteredOnUtc datetime not null,
    RegistrationUpdatedOnUtc datetime not null,
    MonitorTag varchar(1024) not null default 'default'
);

create index EndpointConfig_MonitorType_idx on EndpointConfig(MonitorType);
create index EndpointConfig_MonitorTag_idx on EndpointConfig(MonitorTag);
");
        }