1 2 3 4 5
-- T182678: Make ar_rev_id not nullable define mw_prefix='{$wgDBprefix}'; ALTER TABLE &mw_prefix.archive MODIFY ar_rev_id NUMBER NOT NULL;