yiiext/comment-module — Issue #2: replace the field name
Author: bogusbd
Created: 2011-12-18 23:38:48+00:00
State: open

file: yiiext/comment-module/blob/master/README.md

CREATE TABLE IF NOT EXISTS `posts_comments_nm` (
`postId` int(11) UNSIGNED NOT NULL,
`commentId` int(11) UNSIGNED NOT NULL,
PRIMARY KEY (`taskId`,`commentId`),
KEY `fk_tasks_comments_comments` (`commentId`),
KEY `fk_tasks_comments_tasks` (`taskId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

in line PRIMARY KEY (`taskId`,`commentId`),

`taskId` should be replaced by `postId`