CREATE TABLE `lmmc`.`event_comment` ( 
    `id` INT NOT NULL AUTO_INCREMENT , 
    `name` VARCHAR(100) NOT NULL , 
    `rate` SMALLINT(2) NOT NULL , 
    `date` TIMESTAMP NOT NULL , 
    `comment` TEXT NOT NULL ,
    `status` TINYINT(1) NOT NULL DEFAULT '1', 
    `event_id` INT(10) NOT NULL , 
    PRIMARY KEY (`id`));

ALTER TABLE `event_comment`
ADD KEY `fk_event_comments_event_id` (`event_id`),
ADD CONSTRAINT `fk_event_comments_event_id` FOREIGN KEY (`event_id`) REFERENCES `event` (`event_id`) ON UPDATE CASCADE;