From: Andrew Garrett Date: Wed, 10 Jan 2007 23:47:10 +0000 (+0000) Subject: I must not forget SVN ADD X-Git-Tag: 1.31.0-rc.0~54525 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=a6123ba18955b213e834a83ae9856958fba28c9b;p=lhc%2Fweb%2Fwiklou.git I must not forget SVN ADD I must not forget SVN ADD I must not forget SVN ADD I must not forget SVN ADD I must not forget SVN ADD --- diff --git a/maintenance/archives/patch-page_restrictions.sql b/maintenance/archives/patch-page_restrictions.sql new file mode 100644 index 0000000000..8805c2f866 --- /dev/null +++ b/maintenance/archives/patch-page_restrictions.sql @@ -0,0 +1,22 @@ +--- Used for storing page restrictions (i.e. protection levels) +CREATE TABLE /*$wgDBprefix*/page_restrictions ( + -- Page to apply restrictions to (Foreign Key to page). + pr_page int(8) NOT NULL, + -- The protection type (edit, move, etc) + pr_type varchar(255) NOT NULL, + -- The protection level (Sysop, autoconfirmed, etc) + pr_level varchar(255) NOT NULL, + -- Whether or not to cascade the protection down to pages transcluded. + pr_cascade tinyint(4) NOT NULL, + -- Field for future support of per-user restriction. + pr_user int(8) NULL, + -- Field for future support of time-limited protection. + pr_expiry char(14) binary NULL, + + PRIMARY KEY (pr_page,pr_type), + + KEY pr_page (pr_page), + KEY pr_typelevel (pr_type,pr_level), + KEY pr_level (pr_level), + KEY pr_cascade (pr_cascade) +) TYPE=InnoDB; \ No newline at end of file