if not exists (select * FROM sys.syscolumns where name = 'HasAccessRDM' AND id = object_id(N'dbo.UserSecurity'))
	alter table dbo.UserSecurity add HasAccessRDM bit not null constraint DF_UserSecurity_HasAccessRDM default(1),
        HasAccessPVM bit not null constraint DF_UserSecurity_HasAccessPVM default(1),
        HasAccessWeb bit not null constraint DF_UserSecurity_HasAccessWeb default(1),
        HasAccessWebLogin bit not null constraint DF_UserSecurity_HasAccessWebLogin default(1);