if not exists (select * FROM sys.syscolumns where name = 'UserLicenceTypeMode' AND id = object_id(N'dbo.UserSecurity'))
	alter table dbo.UserSecurity add UserLicenceTypeMode int constraint DF_UserSecurity_UserLicenceTypeMode default (0);