if not exists (select name from sys.objects where type_desc = 'DEFAULT_CONSTRAINT' and name = 'DF_ConnectionLog_ID')
    alter table dbo.ConnectionLog add constraint DF_ConnectionLog_ID DEFAULT newid() for ID;