HomePhabricator

Update database query after schema changes
aabd6ec2b0b2Unpublished

Authored by JeanFred on Jun 5 2019, 2:56 PM.

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Update database query after schema changes

The Wiki Replicas have had schema changes:

  • *_user and *_user_text fields were dropped.
  • there is a new 'actor' table

See https://wikitech.wikimedia.org/wiki/News/Actor_storage_changes_on_the_Wiki_Replicas

Here, we retrieve the actor id from old_image and image,
do an additional join on the actor table to get the user_id,
which we need in order to get the user_registration.

Bug: T224862

Details

Committed
JeanFredJun 5 2019, 2:57 PM
Parents
R1969:5317bb7330ed: Rename variables in method get_country_data
Branches
Unknown
Tags
Unknown
ChangeId
None