HomePhabricator

Migrate recentchanges table to abstract schema

Description

Migrate recentchanges table to abstract schema

This table is massive but thankfully we fixed most of its complexities
in previous patches.

For MySQL/Sqlite:

  • Change type of rc_title and rc_source from "varchar binary" to "varbinary"
  • Drop default of rc_timestamp
  • Change rc_timestamp from varbinary(14) to binary(14) to standardize timestamp datatypes

One index doesn't follow the uniform prefix rule but since it's in a
maintenance script, will fix that in a follow up.

Bug: T230428
Bug: T42626
Change-Id: I13994e02ad3a2293148346ef7be96746578ad854

Details

Provenance
LadsgroupAuthored on Feb 26 2021, 12:52 PM
Parents
rMW859b2f52d353: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I13994e02ad3a2293148346ef7be96746578ad854