Revisions deleted before MediaWiki 1.5 do not have a value in this field. This is going to be a problem for migration to the MCR schema, so provide a maintenance script to clean this up. Then, for good measure, change the schema to make the field non-nullable. Bug: T182678 Change-Id: Ie2e11f12a30f379db32c3e074658012c6f93adb0
3 lines
124 B
SQL
3 lines
124 B
SQL
-- T182678: Make ar_rev_id not nullable
|
|
ALTER TABLE /*_*/archive
|
|
CHANGE COLUMN ar_rev_id ar_rev_id int unsigned NOT NULL;
|