2011-05-21 01:52:15 +04:00
|
|
|
DROP TABLE IF EXISTS log_activity_comment;
|
|
|
|
|
|
|
|
CREATE TABLE `log_activity_comment` (
|
|
|
|
`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
|
|
|
|
`created` datetime NOT NULL,
|
|
|
|
`modified` datetime NOT NULL,
|
2011-05-24 02:55:50 +04:00
|
|
|
`activity_log_id` int(11) NOT NULL,
|
2011-05-21 01:52:15 +04:00
|
|
|
`comments` longtext NOT NULL
|
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8
|
|
|
|
;
|
|
|
|
|
2011-05-24 02:55:50 +04:00
|
|
|
ALTER TABLE `log_activity_comment`
|
|
|
|
ADD CONSTRAINT FOREIGN KEY (`activity_log_id`) REFERENCES `log_activity` (`id`);
|
|
|
|
|