summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/archives/patch-nullable-ar_text.sql
blob: b62ebfacb8d3ce31ec9409345f9e898c07b4c403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;