Rename ManiphestTransactionPro -> ManiphestTransaction
Summary: Ref T2217. Pro is the new standard. Test Plan: Lots of `grep`, made a pile of Maniphest views/edits. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2217 Differential Revision: https://secure.phabricator.com/D7093
This commit is contained in:
@@ -6,8 +6,9 @@ $conn_w = $task_table->establishConnection('w');
|
||||
$rows = new LiskRawMigrationIterator($conn_w, 'maniphest_transaction');
|
||||
$conn_w->openTransaction();
|
||||
|
||||
$xaction_table = new ManiphestTransactionPro();
|
||||
$comment_table = new ManiphestTransactionComment();
|
||||
// NOTE: These were the correct table names at the time of this patch.
|
||||
$xaction_table_name = 'maniphest_transaction_pro';
|
||||
$comment_table_name = 'maniphest_transaction_comment';
|
||||
|
||||
foreach ($rows as $row) {
|
||||
$row_id = $row['id'];
|
||||
@@ -70,7 +71,7 @@ foreach ($rows as $row) {
|
||||
commentPHID, commentVersion, transactionType, oldValue, newValue,
|
||||
contentSource, metadata, dateCreated, dateModified)
|
||||
VALUES (%s, %s, %s, %s, %s, %s, %d, %s, %ns, %ns, %s, %s, %d, %d)',
|
||||
$xaction_table->getTableName(),
|
||||
$xaction_table_name,
|
||||
$xaction_phid,
|
||||
$row['authorPHID'],
|
||||
$task_phid,
|
||||
@@ -106,7 +107,7 @@ foreach ($rows as $row) {
|
||||
editPolicy, commentVersion, content, contentSource, isDeleted,
|
||||
dateCreated, dateModified)
|
||||
VALUES (%s, %s, %s, %s, %s, %d, %s, %s, %d, %d, %d)',
|
||||
$comment_table->getTableName(),
|
||||
$comment_table_name,
|
||||
$comment_phid,
|
||||
$comment_xaction_phid,
|
||||
$row['authorPHID'],
|
||||
@@ -125,7 +126,7 @@ foreach ($rows as $row) {
|
||||
commentPHID, commentVersion, transactionType, oldValue, newValue,
|
||||
contentSource, metadata, dateCreated, dateModified)
|
||||
VALUES (%s, %s, %s, %s, %s, %s, %d, %s, %ns, %ns, %s, %s, %d, %d)',
|
||||
$xaction_table->getTableName(),
|
||||
$xaction_table_name,
|
||||
$comment_xaction_phid,
|
||||
$row['authorPHID'],
|
||||
$task_phid,
|
||||
|
||||
Reference in New Issue
Block a user