IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE NAME = 'CUPOM_FISCAL_HTML' and object_id = object_id('PDV_VD_CLIENTE_CONTROLE_ENVIO'))
BEGIN
	ALTER TABLE PDV_VD_CLIENTE_CONTROLE_ENVIO ADD CUPOM_FISCAL_HTML VARCHAR(MAX) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS
END

IF NOT EXISTS (SELECT 1 FROM SYS.COLUMNS WHERE NAME = 'ID_RETORNO_API' and object_id = object_id('PDV_VD_CLIENTE_CONTROLE_ENVIO'))
BEGIN
	ALTER TABLE PDV_VD_CLIENTE_CONTROLE_ENVIO ADD ID_RETORNO_API VARCHAR(50) COLLATE SQL_LATIN1_GENERAL_CP1_CI_AS
END