CREATE TABLE TESISSEG.dbo.ResetPassword (
	RP_Id int IDENTITY(0,1) NOT NULL,
	UseID smallint NOT NULL,
	RP_Token varchar(100) NOT NULL,
	RP_Expiration_Date datetime NOT NULL,
	RP_Used_Flag bit DEFAULT 0 NOT NULL,
	CONSTRAINT ResetPassword_FK FOREIGN KEY (UseID) REFERENCES TESISSEG.dbo.Usuarios(UseID)
);

ALTER TABLE TESISSEG.dbo.AS_EMAIL_CONFIRMATIONS ADD expirationDate datetime NULL;

