File: tables-generated.sql

package info (click to toggle)
mediawiki 1%3A1.43.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 417,464 kB
  • sloc: php: 1,062,949; javascript: 664,290; sql: 9,714; python: 5,458; xml: 3,489; sh: 1,131; makefile: 64
file content (27 lines) | stat: -rw-r--r-- 1,010 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- This file is automatically generated using maintenance/generateSchemaSql.php.
-- Source: tables.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
CREATE TABLE /*_*/linter (
  linter_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
  linter_page INTEGER UNSIGNED NOT NULL,
  linter_namespace INTEGER DEFAULT NULL,
  linter_cat INTEGER UNSIGNED NOT NULL,
  linter_start INTEGER UNSIGNED NOT NULL,
  linter_end INTEGER UNSIGNED NOT NULL,
  linter_params BLOB NOT NULL, linter_template BLOB DEFAULT '' NOT NULL,
  linter_tag BLOB DEFAULT '' NOT NULL
);

CREATE INDEX linter_page ON /*_*/linter (linter_page);

CREATE INDEX linter_cat_namespace ON /*_*/linter (linter_cat, linter_namespace);

CREATE UNIQUE INDEX linter_cat_page_position ON /*_*/linter (
  linter_cat, linter_page, linter_start,
  linter_end
);

CREATE INDEX linter_cat_template ON /*_*/linter (linter_cat, linter_template);

CREATE INDEX linter_cat_tag ON /*_*/linter (linter_cat, linter_tag);