wiki.techinc.nl/maintenance/archives/patch-revision_comment_temp-table.sql
Reedy c00c34f288 Split down patch-comment-table.sql
Bug: T227662
Change-Id: I7617616df57f7468d06e9b52426b6851bfef0e7d
2019-08-20 19:35:57 +00:00

6 lines
299 B
SQL

CREATE TABLE /*_*/revision_comment_temp (
revcomment_rev int unsigned NOT NULL,
revcomment_comment_id bigint unsigned NOT NULL,
PRIMARY KEY (revcomment_rev, revcomment_comment_id)
) /*$wgDBTableOptions*/;
CREATE UNIQUE INDEX /*i*/revcomment_rev ON /*_*/revision_comment_temp (revcomment_rev);