HomePhabricator

Migrate old AuxiliaryField storage to modern CustomField storage

Description

Migrate old AuxiliaryField storage to modern CustomField storage

Summary: Ref T2222. Ref T3886. Differential has a legacy storage table for auxiliary fields; move the data to modern storage.

Test Plan:

  • Ran migration.
  • Verified fields still worked properly afterward (view, edit, etc).

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T3886, T2222

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

Details

Event Timeline

I'm not sure why, but arc diff broke after this commit.

[2014-02-27 10:03:18] EXCEPTION: (ConduitClientException) ERR-CONDUIT-CORE: Bad getter call: getValue at [/opt/arc/libphutil/src/conduit/ConduitFuture.php:57]
  #0 ConduitFuture::didReceiveResult(Array of size 3 starting with: { 0 => Object HTTPFutureResponseStatusHTTP }) called at [/opt/arc/libphutil/src/future/FutureProxy.php:61]
  #1 FutureProxy::getResult() called at [/opt/arc/libphutil/src/future/FutureProxy.php:38]
  #2 FutureProxy::resolve() called at [/opt/arc/libphutil/src/conduit/ConduitClient.php:26]
  #3 ConduitClient::callMethodSynchronous(differential.updaterevision, Array of size 4 starting with: { fields => Array of size 6 starting with: { title => Voeg een pagination-helper toe aan View-helpers } }) called at [/opt/arc/arcanist/src/workflow/ArcanistDiffWorkflow.php:559]
  #4 ArcanistDiffWorkflow::run() called at [/opt/arc/arcanist/scripts/arcanist.php:321]