if not exists(select 1 from sys.syscolumns where name = N'RecordingCount' and id = object_id(N'dbo.Connections'))
    alter table dbo.Connections add RecordingCount int null constraint DF_Connections_RecordingCount DEFAULT(0);