if not exists (select * from sys.syscolumns where name = 'Department' AND id = object_id(N'dbo.Connections'))
    alter table dbo.Connections
    add Department nvarchar(256) null
        ,IsSubConnection bit not null constraint DF_Connections_IsSubConnection DEFAULT(0)
        ,IsTemplate bit not null constraint DF_Connections_IsTemplate DEFAULT(0)
        ,Groups nvarchar(256) null
        ,DescriptionRTF nvarchar(max) null
        ,ConnectionMasterSubType varchar(64) null
        ,UrlLink nvarchar(256) null