mediawiki-extensions-Linter/sql/sqlite/tables-generated.sql
Reedy 3387c848d0 Convert Linter to abstract schema
Bug: T259374
Change-Id: Ida866d45bc3daca6ed763df2b8c38d2b27c809aa
2020-08-22 23:33:46 +01:00

20 lines
662 B
SQL

-- 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_cat INTEGER UNSIGNED NOT NULL,
linter_start INTEGER UNSIGNED NOT NULL,
linter_end INTEGER UNSIGNED NOT NULL,
linter_params BLOB DEFAULT NULL
);
CREATE INDEX linter_page ON /*_*/linter (linter_page);
CREATE UNIQUE INDEX linter_cat_page_position ON /*_*/linter (
linter_cat, linter_page, linter_start,
linter_end
);