Split down patch-comment-table.sql
[lhc/web/wiklou.git] / maintenance / postgres / archives / patch-revision_comment_temp-table.sql
1 CREATE TABLE revision_comment_temp (
2 revcomment_rev INTEGER NOT NULL,
3 revcomment_comment_id INTEGER NOT NULL,
4 PRIMARY KEY (revcomment_rev, revcomment_comment_id)
5 );
6 CREATE UNIQUE INDEX revcomment_rev ON revision_comment_temp (revcomment_rev);