IF NOT EXISTS (SELECT * FROM SYS.columns WHERE NAME = 'FLAG_INTEGRACAO_ROBO' AND OBJECT_ID = OBJECT_ID('EST_PROD_PRT'))
BEGIN
	ALTER TABLE EST_PROD_PRT ADD FLAG_INTEGRACAO_ROBO INT NOT NULL CONSTRAINT DF_EST_PROD_PRT_FLAG_INTEGRACAO_ROBO DEFAULT 0
END
