2020-08-22 20:48:51 +00:00
|
|
|
-- This file is automatically generated using maintenance/generateSchemaSql.php.
|
2022-01-20 22:58:10 +00:00
|
|
|
-- Source: tables.json
|
2020-08-22 20:48:51 +00:00
|
|
|
-- Do not modify this file directly.
|
|
|
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
|
|
|
CREATE TABLE /*_*/linter (
|
|
|
|
linter_id INT UNSIGNED AUTO_INCREMENT NOT NULL,
|
|
|
|
linter_page INT UNSIGNED NOT NULL,
|
2022-01-20 22:58:10 +00:00
|
|
|
linter_namespace INT DEFAULT NULL,
|
2020-08-22 20:48:51 +00:00
|
|
|
linter_cat INT UNSIGNED NOT NULL,
|
|
|
|
linter_start INT UNSIGNED NOT NULL,
|
|
|
|
linter_end INT UNSIGNED NOT NULL,
|
|
|
|
linter_params BLOB DEFAULT NULL,
|
2021-09-09 23:41:20 +00:00
|
|
|
linter_template VARBINARY(255) DEFAULT '' NOT NULL,
|
|
|
|
linter_tag VARBINARY(32) DEFAULT '' NOT NULL,
|
2020-08-22 20:48:51 +00:00
|
|
|
INDEX linter_page (linter_page),
|
2022-01-20 22:58:10 +00:00
|
|
|
INDEX linter_cat_namespace (linter_cat, linter_namespace),
|
2020-08-22 20:48:51 +00:00
|
|
|
UNIQUE INDEX linter_cat_page_position (
|
|
|
|
linter_cat, linter_page, linter_start,
|
|
|
|
linter_end
|
|
|
|
),
|
2021-09-09 23:41:20 +00:00
|
|
|
INDEX linter_cat_template (linter_cat, linter_template),
|
|
|
|
INDEX linter_cat_tag (linter_cat, linter_tag),
|
2020-08-22 20:48:51 +00:00
|
|
|
PRIMARY KEY(linter_id)
|
|
|
|
) /*$wgDBTableOptions*/;
|