Files
phabricator/resources/sql/patches
epriestley 7abe9dc4c0 Migrate all Maniphest transaction data to new storage
Summary:
Ref T2217. This is the risky, hard part; everything after this should be smooth sailing. This is //mostly// clean, except:

  - The old format would opportunistically combine a comment with some other transaction type if it could. We no longer do that, so:
    - When migrating, "edit" + "comment" transactions need to be split in two.
    - When editing now, we should no longer combine these transaction types.
    - These changes are pretty straightforward and low-impact.
  - This migration promotes "auxiliary field" data to the new CustomField/StandardField format, so that's not a straight migration either. The formats are very similar, though.

Broadly, this takes the same attack that the auth migration did: proxy all the code through to the new storage. `ManiphestTransaction` is now just an API on top of `ManiphestTransactionPro`, which is the new storage format. The two formats are very similar, so this was mostly a straight copy from one table to the other.

Test Plan:
  - Without performing the migration, made a bunch of edits and comments on tasks and verified the new code works correctly.
  - Droped the test data and performed the migration.
  - Looked at the resulting data for obvious discrepancies.
  - Looked at a bunch of tasks and their transaction history.
  - Used Conduit to pull transaction data.
  - Edited task description and clicked "View Details" on transaction.
  - Used batch editor.
  - Made a bunch more edits.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2217

Differential Revision: https://secure.phabricator.com/D7068
2013-09-23 14:25:28 -07:00
..
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2012-04-30 07:53:53 -07:00
2013-01-24 17:23:05 -08:00
2013-02-15 07:47:14 -08:00
2013-03-20 18:01:52 -07:00
2013-03-28 09:10:34 -07:00
2013-05-03 15:53:36 -07:00
2013-05-03 15:53:36 -07:00
2013-05-03 15:53:36 -07:00
2013-06-28 13:56:16 -07:00
2012-08-01 17:06:04 -07:00
2012-08-16 14:43:03 -07:00
2012-05-03 09:22:52 -07:00
2012-09-13 10:11:14 -07:00
2012-07-19 09:03:10 -07:00
2012-09-11 12:13:20 -07:00
2012-11-05 13:21:24 -08:00
2013-03-15 11:28:43 +00:00
2012-05-03 18:24:30 -07:00
2012-10-08 16:09:20 -07:00