Merge "Re add wpScrolltop id in EditPage"
[lhc/web/wiklou.git] / maintenance / archives / patch-archive-text_id.sql
1 -- New field in archive table to preserve text source IDs across undeletion.
2 --
3 -- Older entries containing NULL in this field will contain text in the
4 -- ar_text and ar_flags fields, and will cause the (re)creation of a new
5 -- text record upon undeletion.
6 --
7 -- Newer ones will reference a text.old_id with this field, and the existing
8 -- entries will be used as-is; only a revision record need be created.
9 --
10 -- Added 2005-05-01
11
12 ALTER TABLE /*$wgDBprefix*/archive
13 ADD
14 ar_text_id int unsigned;