mediawiki-extensions-Linter/linter.sql
Arlo Breault e75b94d226 Fix schema for sqlite
Change-Id: Iacc26fb2dc6b31914d000a186f61be8244405b47
2016-10-26 01:28:41 +00:00

14 lines
388 B
SQL

CREATE TABLE /*_*/linter (
-- primary key
linter_id int UNSIGNED PRIMARY KEY not null AUTO_INCREMENT,
-- page id
linter_page int UNSIGNED not null,
-- error category
linter_cat VARCHAR(30) not null,
-- 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);