if not exists (select * from sys.syscolumns where name = 'CustomField1' and id = object_id(N'dbo.ConnectionLog'))
begin
    alter table dbo.ConnectionLog add CustomField1 nvarchar(256) null, CustomField2 nvarchar(256) null, CustomField3 nvarchar(256) null
end