Drop archive.ar_text and ar_flags
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 28 Nov 2017 22:32:05 +0000 (17:32 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 3 Apr 2018 16:54:27 +0000 (12:54 -0400)
commit21c6ae1163b07da7ac49938f50613c0e1cf262c3
treefaf4c4d4c5eebbf8b63726a0ca4854311113eb30
parent1a9ba829a5fbf40c0c2835efd441aaa70f9c319b
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
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