Drop archive.ar_text and ar_flags
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 28 Nov 2017 22:32:05 +0000 (17:32 -0500)
committerJforrester <jforrester@wikimedia.org>
Thu, 3 May 2018 18:12:42 +0000 (18:12 +0000)
commitbb8c060128a79532e1b6885fb3ebd6174d3f4d4d
tree76cc0db285e94a291cb2adfd7ebe74eb13ed206f
parentccc3d1fc0570c6e3057562b1583bd743aef5d9fb
Drop archive.ar_text and ar_flags

This should have been done long ago. Now it is being done.

This also changes ar_text_id to NOT NULL, since it should never be null
anymore, and DEFAULT 0 in preparation for MCR stopping writing it.

Bug: T33223
Change-Id: I18f1c740b7537c7dc3cfeba9b241d0a9f31caa34
(cherry picked from commit 21c6ae1163b07da7ac49938f50613c0e1cf262c3)
26 files changed:
RELEASE-NOTES-1.31
includes/Revision.php
includes/Storage/RevisionStore.php
includes/api/ApiQueryAllDeletedRevisions.php
includes/api/ApiQueryDeletedRevisions.php
includes/api/ApiQueryDeletedrevs.php
includes/installer/DatabaseUpdater.php
includes/page/PageArchive.php
includes/page/WikiPage.php
maintenance/archives/patch-drop-ar_text.sql [new file with mode: 0644]
maintenance/archives/patch-nullable-ar_text.sql [new file with mode: 0644]
maintenance/mssql/archives/patch-drop-ar_text.sql [new file with mode: 0644]
maintenance/mssql/tables.sql
maintenance/oracle/archives/patch-drop-ar_text.sql [new file with mode: 0644]
maintenance/oracle/tables.sql
maintenance/postgres/archives/patch-drop-ar_text.sql [new file with mode: 0644]
maintenance/postgres/tables.sql
maintenance/sqlite/archives/patch-actor-table.sql
maintenance/sqlite/archives/patch-ar_rev_id-not-null.sql
maintenance/sqlite/archives/patch-drop-ar_text.sql [new file with mode: 0644]
maintenance/storage/trackBlobs.php
maintenance/tables.sql
tests/phpunit/includes/PageArchiveTest.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/RevisionTest.php
tests/phpunit/includes/Storage/RevisionStoreTest.php