ALTER TABLE RightsADD CONSTRAINT fk_RoleIdFOREIGN KEY (RoleId)REFERENCES Roles(Id)ON DELETE CASCADE
Login to post response