Index: trunk/extensions/PageTriage/sql/PageTriage.sql |
— | — | @@ -0,0 +1,12 @@ |
| 2 | + |
| 3 | +-- mapping table for user to pages |
| 4 | +CREATE TABLE /*_*/pagetriage ( |
| 5 | + ptr_user_id int UNSIGNED NOT NULL, |
| 6 | + ptr_recentchanges_id int NOT NULL, |
| 7 | + ptr_timestamp varbinary(14) NOT NULL |
| 8 | +) /*$wgDBTableOptions*/; |
| 9 | + |
| 10 | +CREATE UNIQUE INDEX /*i*/ptr_user_rc ON /*_*/pagetriage (ptr_user_id,ptr_recentchanges_id); |
| 11 | + |
| 12 | +-- this stores when a page was checked. we'll be interested in that sometimes. |
| 13 | +CREATE INDEX /*i*/ptr_timestamp ON /*_*/pagetriage (ptr_timestamp); |
\ No newline at end of file |
Property changes on: trunk/extensions/PageTriage/sql/PageTriage.sql |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |