summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/archives/patch-nullable-ar_text.sql
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/archives/patch-nullable-ar_text.sql')
-rw-r--r--www/wiki/maintenance/archives/patch-nullable-ar_text.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-nullable-ar_text.sql b/www/wiki/maintenance/archives/patch-nullable-ar_text.sql
new file mode 100644
index 00000000..b62ebfac
--- /dev/null
+++ b/www/wiki/maintenance/archives/patch-nullable-ar_text.sql
@@ -0,0 +1,13 @@
+--
+-- patch-nullable-ar_text.sql
+--
+-- This patch is provided as an example for people not using update.php.
+-- You need to make a change like this before running a version of MediaWiki
+-- containing Gerrit change 5ca2d4a551, then you can run maintenance/migrateArchiveText.php
+-- and apply patch-drop-ar_text.sql at your leisure.
+--
+-- See also T33223.
+
+ALTER TABLE /*_*/archive
+ MODIFY COLUMN ar_text mediumblob NULL,
+ MODIFY COLUMN ar_flags tinyblob NULL;