Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5978686
patch-add-af_actor.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-add-af_actor.sql
View Options
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: db_patches/abstractSchemaChanges/patch-add-af_actor.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
DROP
INDEX
af_user
;
DROP
INDEX
af_group_enabled
;
CREATE
TEMPORARY
TABLE
/*_*/
__temp__abuse_filter
AS
SELECT
af_id
,
af_pattern
,
af_user
,
af_user_text
,
af_timestamp
,
af_enabled
,
af_comments
,
af_public_comments
,
af_hidden
,
af_hit_count
,
af_throttled
,
af_deleted
,
af_actions
,
af_global
,
af_group
FROM
/*_*/
abuse_filter
;
DROP
TABLE
/*_*/
abuse_filter
;
CREATE
TABLE
/*_*/
abuse_filter
(
af_id
INTEGER
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
af_pattern
BLOB
NOT
NULL
,
af_user
BIGINT
UNSIGNED
DEFAULT
0
NOT
NULL
,
af_user_text
BLOB
DEFAULT
''
NOT
NULL
,
af_timestamp
BLOB
NOT
NULL
,
af_enabled
SMALLINT
DEFAULT
1
NOT
NULL
,
af_comments
BLOB
DEFAULT
NULL
,
af_public_comments
BLOB
DEFAULT
NULL
,
af_hidden
SMALLINT
DEFAULT
0
NOT
NULL
,
af_hit_count
BIGINT
DEFAULT
0
NOT
NULL
,
af_throttled
SMALLINT
DEFAULT
0
NOT
NULL
,
af_deleted
SMALLINT
DEFAULT
0
NOT
NULL
,
af_actions
VARCHAR
(
255
)
DEFAULT
''
NOT
NULL
,
af_global
SMALLINT
DEFAULT
0
NOT
NULL
,
af_group
BLOB
DEFAULT
'default'
NOT
NULL
,
af_actor
BIGINT
UNSIGNED
DEFAULT
0
NOT
NULL
);
INSERT
INTO
/*_*/
abuse_filter
(
af_id
,
af_pattern
,
af_user
,
af_user_text
,
af_timestamp
,
af_enabled
,
af_comments
,
af_public_comments
,
af_hidden
,
af_hit_count
,
af_throttled
,
af_deleted
,
af_actions
,
af_global
,
af_group
)
SELECT
af_id
,
af_pattern
,
af_user
,
af_user_text
,
af_timestamp
,
af_enabled
,
af_comments
,
af_public_comments
,
af_hidden
,
af_hit_count
,
af_throttled
,
af_deleted
,
af_actions
,
af_global
,
af_group
FROM
/*_*/
__temp__abuse_filter
;
DROP
TABLE
/*_*/
__temp__abuse_filter
;
CREATE
INDEX
af_user
ON
/*_*/
abuse_filter
(
af_user
);
CREATE
INDEX
af_group_enabled
ON
/*_*/
abuse_filter
(
af_group
,
af_enabled
,
af_id
);
CREATE
INDEX
af_actor
ON
/*_*/
abuse_filter
(
af_actor
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 20:31 (3 d, 21 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
10/f2/1866382697b691f3ebf8f599ce08
Default Alt Text
patch-add-af_actor.sql (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment