Homestyx hydra
Diffusion hydra 7b695aa43bd1

Migrate revision storage to modern status constants ("accepted") instead of…

Description

Migrate revision storage to modern status constants ("accepted") instead of legacy numeric values ("2")

Summary:
Ref T2543. Rewrites all the storage to use constants.

Note that transactions still use legacy values, I'll migrate and update them separately.

Test Plan:

  • Ran migration.
  • Browsed around, changed revision states, viewed dashboard, etc.
  • Selected DISTINCT() and GROUP_CONCAT() of the status field in the database, saw sane/expected before and after values.
  • Verified that old Conduit methods still return numeric constants for compatibility.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T2543

Differential Revision: https://secure.phabricator.com/D18418

Details

Provenance
epriestleyAuthored on Aug 11 2017, 7:27 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:5348f34c9eec: Make all revision status readers explicitly read modern or legacy status
Branches
Unknown
Tags
Unknown

Event Timeline