if not exists (select * from VCLib.T_ENTITIES where BaseEntity = (select EntityId from VCLib.T_ENTITIES where EntName = 'NEWS_BOX' and [Schema] = 'VCLib'))
BEGIN
	ALTER TABLE VCLib.T_NEWS_BOX drop constraint FK_T_ENTITIES_T_NEWS_BOX_type_
	ALTER TABLE VCLib.T_NEWS_BOX drop column type_
END