HomePhabricator

Migrate Audit comment text into new storage

Description

Migrate Audit comment text into new storage

Summary:
Ref T4896. This is substantially similar to D8196.

Migrate the comment text out of the audit_comment table and into the audit_transaction_comment table. Do double reads on PhabricatorAuditComment so the APIs aren't disturbed. The old table is still updated.

Test Plan:

  • Before applying migration, cleared cache and browsed around. Things looked fine, except no comment text.
  • Applied migration.
  • Cleared cache, browsed around, saw all my old comments.
  • Added some new comments.
  • Spot checked migrated and new rows in database.

Reviewers: btrahan, joshuaspence

Reviewed By: joshuaspence

Subscribers: epriestley

Maniphest Tasks: T4896

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jul 25 2014, 1:00 AM
Reviewer
joshuaspence
Differential Revision
D10020: Migrate Audit comment text into new storage
Parents
rPdc5c87f74cda: Hide Audit comment table reads behind an API
Branches
Unknown
Tags
Unknown

Event Timeline