2016-10-13 08:14:18 +00:00
|
|
|
CREATE TABLE /*_*/linter (
|
|
|
|
-- primary key
|
2016-10-24 19:41:02 +00:00
|
|
|
linter_id int UNSIGNED PRIMARY KEY not null AUTO_INCREMENT,
|
2016-10-13 08:14:18 +00:00
|
|
|
-- page id
|
|
|
|
linter_page int UNSIGNED not null,
|
2016-11-22 09:03:02 +00:00
|
|
|
-- error category (see CategoryManager::$categoryIds)
|
2016-10-29 01:06:08 +00:00
|
|
|
linter_cat int UNSIGNED not null,
|
2016-10-13 08:14:18 +00:00
|
|
|
-- extra parameters about the error, JSON encoded
|
|
|
|
linter_params blob NOT NULL
|
|
|
|
) /*$wgDBTableOptions*/;
|
|
|
|
|
|
|
|
-- Query by page
|
|
|
|
CREATE INDEX /*i*/linter_page ON /*_*/linter (linter_page);
|
2016-11-03 20:59:48 +00:00
|
|
|
-- Query by category
|
|
|
|
CREATE INDEX /*i*/linter_cat ON /*_*/linter (linter_cat);
|