IF NOT EXISTS(SELECT * FROM sys.columns WHERE object_id = OBJECT_ID(N'[dbo].[DOCS_REL_OBJ]')
AND name = 'PK_SIGNATURE_TYPE')
ALTER TABLE DOCS_REL_OBJ ADD PK_SIGNATURE_TYPE INT NULL