IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'syn_puntoIntegracion' AND COLUMN_NAME = 'cantidadReintentos')
BEGIN
	ALTER TABLE dbo.syn_puntoIntegracion
	ADD cantidadReintentos INT NULL
END

GO

IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'syn_puntoIntegracion' AND COLUMN_NAME = 'intervaloReintentos')
BEGIN
	ALTER TABLE dbo.syn_puntoIntegracion
	ADD intervaloReintentos INT NULL
END

GO

IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'syn_puntoIntegracion' AND COLUMN_NAME = 'codigosReintentos')
BEGIN
	ALTER TABLE dbo.syn_puntoIntegracion
	ADD codigosReintentos VARCHAR(200) NULL
END

GO

IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'seg_registroIntegracion ' AND COLUMN_NAME = 'numeroReintento ')
BEGIN
	ALTER TABLE dbo.seg_registroIntegracion 
	ADD numeroReintento INT NULL
END