* Make the field nullable for consistency with ar_rev_id and ar_text_id and between MySQL and PostgreSQL and generally so you can cleanly tell between bogus fields and ones that predate use of the field * Remove duplicate incorrect adding of the field for postgres * Rename to ar_page_id for consistency with ar_rev_id and ar_text_id * Rename the patch file for naming consistency Note that there's no documentation of this schema change in the release notes either, which bugs me a bit.
6 lines
189 B
SQL
6 lines
189 B
SQL
-- Reference to page_id. Useful for sysadmin fixing of large
|
|
-- pages merged together in the archives
|
|
-- Added 2007-07-21
|
|
|
|
ALTER TABLE /*$wgDBprefix*/archive
|
|
ADD ar_page_id int unsigned;
|