diff options
Diffstat (limited to 'maintenance/archives')
-rw-r--r-- | maintenance/archives/patch-ipb_allow_usertalk.sql | 3 | ||||
-rw-r--r-- | maintenance/archives/patch-linktables.sql | 2 | ||||
-rw-r--r-- | maintenance/archives/patch-log_user_text.sql | 5 | ||||
-rw-r--r-- | maintenance/archives/patch-ss_active_users.sql | 3 |
4 files changed, 12 insertions, 1 deletions
diff --git a/maintenance/archives/patch-ipb_allow_usertalk.sql b/maintenance/archives/patch-ipb_allow_usertalk.sql new file mode 100644 index 00000000..92e7d9a4 --- /dev/null +++ b/maintenance/archives/patch-ipb_allow_usertalk.sql @@ -0,0 +1,3 @@ +-- Adding ipb_allow_usertalk for blocks +ALTER TABLE /*$wgDBprefix*/ipblocks + ADD ipb_allow_usertalk bool NOT NULL default 1; diff --git a/maintenance/archives/patch-linktables.sql b/maintenance/archives/patch-linktables.sql index ae9768a8..b15878c3 100644 --- a/maintenance/archives/patch-linktables.sql +++ b/maintenance/archives/patch-linktables.sql @@ -49,7 +49,7 @@ CREATE TABLE /*$wgDBprefix*/imagelinks ( -- Filename of target image. -- This is also the page_title of the file's description page; - -- all such pages are in namespace 6 (NS_IMAGE). + -- all such pages are in namespace 6 (NS_FILE). il_to varchar(255) binary NOT NULL default '', UNIQUE KEY il_from(il_from,il_to), diff --git a/maintenance/archives/patch-log_user_text.sql b/maintenance/archives/patch-log_user_text.sql new file mode 100644 index 00000000..f89a35f6 --- /dev/null +++ b/maintenance/archives/patch-log_user_text.sql @@ -0,0 +1,5 @@ +ALTER TABLE /*$wgDBprefix*/logging + ADD log_user_text varchar(255) binary NOT NULL default '', + ADD log_target_id int unsigned NULL, + CHANGE `log_type` `log_type` VARBINARY( 15 ) NOT NULL, + CHANGE `log_action` `log_action` VARBINARY( 15 ) NOT NULL; diff --git a/maintenance/archives/patch-ss_active_users.sql b/maintenance/archives/patch-ss_active_users.sql new file mode 100644 index 00000000..a583cdc8 --- /dev/null +++ b/maintenance/archives/patch-ss_active_users.sql @@ -0,0 +1,3 @@ +-- More statistics, for version 1.14 + +ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_active_users bigint default '-1'; |