This table will store expiries for watchlist items, so that pages can be automatically unwatched at a specific time. Bug: T240094 Change-Id: I014ffccb91969e7a222a83858c55e71067b0f2af
9 lines
300 B
SQL
9 lines
300 B
SQL
-- Allows setting an expiry for watchlist items.
|
|
CREATE TABLE /*_*/watchlist_expiry (
|
|
-- Key to watchlist.wl_id
|
|
we_item int unsigned NOT NULL PRIMARY KEY,
|
|
-- Expiry time
|
|
we_expiry binary(14) NOT NULL
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
CREATE INDEX /*i*/we_expiry ON /*_*/watchlist_expiry (we_expiry);
|