diff options
author | Ammarpad <ammarpad@yahoo.com> | 2021-03-22 15:42:19 +0100 |
---|---|---|
committer | Ammarpad <ammarpad@yahoo.com> | 2021-04-30 06:58:25 +0100 |
commit | d9400049cf9ea38a74830fefb21c8abd73f91fab (patch) | |
tree | b269c964de0415df654ba336f8253e7f7cae4de7 /includes | |
parent | 39d2f55d0496691272005e95c49c18bd6cb4d9ca (diff) | |
download | mediawikicore-d9400049cf9ea38a74830fefb21c8abd73f91fab.tar.gz mediawikicore-d9400049cf9ea38a74830fefb21c8abd73f91fab.zip |
Rename `page_timestamp` revision index
Rename to `rev_page_timestamp`
Bug: T270033
Depends-On: I16fc273b14e7f4b00e8c31ec1ed7712149aafe37
Change-Id: I93fcfb3caf8c6bd7f9e46921065b751c23571ae1
Diffstat (limited to 'includes')
-rw-r--r-- | includes/installer/MysqlUpdater.php | 4 | ||||
-rw-r--r-- | includes/installer/SqliteUpdater.php | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 9c15b4e4e56e..635a51172695 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -246,6 +246,10 @@ class MysqlUpdater extends DatabaseUpdater { [ 'modifyField', 'page', 'page_title', 'patch-page-page_title-varbinary.sql' ], [ 'dropDefault', 'page', 'page_touched' ], [ 'modifyField', 'user', 'user_name', 'patch-user_table-updates.sql' ], + + // 1.37 + [ 'renameIndex', 'revision', 'page_timestamp', 'rev_page_timestamp', false, + 'patch-revision-rename-index.sql' ], ]; } diff --git a/includes/installer/SqliteUpdater.php b/includes/installer/SqliteUpdater.php index 59b21f58a4d2..25091c045a53 100644 --- a/includes/installer/SqliteUpdater.php +++ b/includes/installer/SqliteUpdater.php @@ -213,6 +213,9 @@ class SqliteUpdater extends DatabaseUpdater { [ 'modifyField', 'page', 'page_title', 'patch-page-page_title-varbinary.sql' ], [ 'modifyField', 'user', 'user_name', 'patch-user_table-updates.sql' ], + // 1.37 + [ 'renameIndex', 'revision', 'page_timestamp', 'rev_page_timestamp', false, + 'patch-revision-rename-index.sql' ], ]; } |