Debian Codegraph @

extensions/Linter/sql/sqlite/tables-generated.sql

raw
1 -- This file is automatically generated using maintenance/generateSchemaSql.php.
2 -- Source: tables.json
3 -- Do not modify this file directly.
4 -- See https://www.mediawiki.org/wiki/Manual:Schema_changes
5 CREATE TABLE /*_*/linter (
6 linter_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
7 linter_page INTEGER UNSIGNED NOT NULL,
8 linter_namespace INTEGER DEFAULT NULL,
9 linter_cat INTEGER UNSIGNED NOT NULL,
10 linter_start INTEGER UNSIGNED NOT NULL,
11 linter_end INTEGER UNSIGNED NOT NULL,
12 linter_params BLOB NOT NULL, linter_template BLOB DEFAULT '' NOT NULL,
13 linter_tag BLOB DEFAULT '' NOT NULL
14 );
15
16 CREATE INDEX linter_page ON /*_*/linter (linter_page);
17
18 CREATE INDEX linter_cat_namespace ON /*_*/linter (linter_cat, linter_namespace);
19
20 CREATE UNIQUE INDEX linter_cat_page_position ON /*_*/linter (
21 linter_cat, linter_page, linter_start,
22 linter_end
23 );
24
25 CREATE INDEX linter_cat_template ON /*_*/linter (linter_cat, linter_template);
26
27 CREATE INDEX linter_cat_tag ON /*_*/linter (linter_cat, linter_tag);