if not exists (select * FROM sys.syscolumns where name = 'HasAccessCli' AND id = object_id(N'dbo.UserSecurity'))
	alter table dbo.UserSecurity add HasAccessCli bit not null constraint DF_UserSecurity_HasAccessCli default(1);