Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5980225
patch-linter-add-namespace.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
patch-linter-add-namespace.sql
View Options
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: abstractSchemaChanges/patch-linter-add-namespace.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
DROP
INDEX
linter_page
;
DROP
INDEX
linter_cat_page_position
;
CREATE
TEMPORARY
TABLE
/*_*/
__temp__linter
AS
SELECT
linter_id
,
linter_page
,
linter_cat
,
linter_start
,
linter_end
,
linter_params
FROM
/*_*/
linter
;
DROP
TABLE
/*_*/
linter
;
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
,
linter_namespace
INTEGER
DEFAULT
NULL
);
INSERT
INTO
/*_*/
linter
(
linter_id
,
linter_page
,
linter_cat
,
linter_start
,
linter_end
,
linter_params
)
SELECT
linter_id
,
linter_page
,
linter_cat
,
linter_start
,
linter_end
,
linter_params
FROM
/*_*/
__temp__linter
;
DROP
TABLE
/*_*/
__temp__linter
;
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
);
CREATE
INDEX
linter_cat_namespace
ON
/*_*/
linter
(
linter_cat
,
linter_namespace
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 21:17 (1 w, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6b/83/60dc65150af653fb9c35fd585fec
Default Alt Text
patch-linter-add-namespace.sql (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment