CREATE TABLE IF NOT EXISTS `RewardUser` ( 
`Id` int(11) NOT NULL AUTO_INCREMENT, 
`RewardId` INT  NOT NULL,
`UserId` INT  NOT NULL,
`Response` TEXT  NOT NULL,
`Status` INT  NOT NULL,
PRIMARY KEY (`Id`),
CONSTRAINT `Reward_RewardUser` FOREIGN KEY (`RewardId`) REFERENCES `RewardReward`(`Id`),
CONSTRAINT `ee_user_RewardUser` FOREIGN KEY (`UserId`) REFERENCES `ee_user`(`Id`)
) ENGINE=InnoDB  DEFAULT CHARACTER SET `utf8`; 