ALTER TABLE CRM_Cont_Motivos ADD Id_Email INT
GO


ALTER TABLE CRM_Cont_Motivos ADD Mails_Notif VARCHAR(5000)
GO


CREATE INDEX IX_CRMT_PorEmail ON CRM_Cont_Motivos (Id_Motivo_Contacto,Id_Email)
GO

ALTER TABLE CRM_Cont_Motivos ADD CONSTRAINT FK_CRMT_Tab_Emails_Config FOREIGN KEY (Id_Email)
	REFERENCES Tab_Emails_Config (Id_Email)
GO


