Homec4science

Migrate project membership to edges

Authored by epriestley <git@epriestley.com> on Aug 8 2012, 03:02.

Description

Migrate project membership to edges

Summary:

  • Store project members in edges.
  • Migrate existing members to edge storage.
  • Delete PhabricatorProjectAffiliation.
  • I left the actual underlying data around just in case something goes wrong; we can delete it evenutally.

Test Plan:

  • Ran migration.
  • Created a new project.
  • Joined and left a project.
  • Added and removed project members.
  • Manually called PhabricatorOwnersOwner::loadAffiliatedUserPHIDs() to verify its behavior.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Maniphest Tasks: T603

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

Details

Committed
epriestley <git@epriestley.com>Aug 8 2012, 03:02
Pushed
aubortJan 31 2017, 17:16
Parents
rPHd5a0352fd731: Make project membership edits use transactions and PHIDs and not be awful
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHf9fcaa1f8447: Migrate project membership to edges (authored by epriestley <git@epriestley.com>).Aug 8 2012, 03:02