Index: trunk/extensions/EducationProgram/sql/EducationProgram.sql |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | CREATE INDEX /*i*/ep_articles_user_id ON /*_*/ep_articles (article_user_id); |
91 | 91 | CREATE INDEX /*i*/ep_articles_course_id ON /*_*/ep_articles (article_course_id); |
92 | 92 | CREATE INDEX /*i*/ep_articles_page_id ON /*_*/ep_articles (article_page_id); |
93 | | -CREATE UNIQUE INDEX /*i*/ep_articles_course_page ON /*_*/ep_articles (article_course_id, article_page_id); |
| 93 | +CREATE UNIQUE INDEX /*i*/ep_articles_course_page ON /*_*/ep_articles (article_course_id, article_user_id, article_page_id); |
94 | 94 | |
95 | 95 | |
96 | 96 | |