@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Rename "transactionpro" table to "transaction"

Summary: Ref T2217. Cleans up the table names. Moves old data to `maniphest_transaction_legacy`. We'll drop that eventually once it's more clear that I didn't break the world.

Test Plan: Did reads/writes to/from these tables.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2217

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

+9 -10
+5
resources/sql/patches/20130923.mrename.sql
··· 1 + ALTER TABLE {$NAMESPACE}_maniphest.maniphest_transaction 2 + RENAME {$NAMESPACE}_maniphest.maniphest_transaction_legacy; 3 + 4 + ALTER TABLE {$NAMESPACE}_maniphest.maniphest_transactionpro 5 + RENAME {$NAMESPACE}_maniphest.maniphest_transaction;
-5
src/applications/maniphest/storage/ManiphestTransaction.php
··· 17 17 return 'maniphest'; 18 18 } 19 19 20 - public function getTableName() { 21 - // TODO: Remove once the "pro" table gets renamed. 22 - return 'maniphest_transactionpro'; 23 - } 24 - 25 20 public function getApplicationTransactionType() { 26 21 return ManiphestPHIDTypeTask::TYPECONST; 27 22 }
-5
src/applications/maniphest/storage/ManiphestTransactionComment.php
··· 3 3 final class ManiphestTransactionComment 4 4 extends PhabricatorApplicationTransactionComment { 5 5 6 - public function getTableName() { 7 - // TODO: Remove once the "pro" stuff gets dropped. 8 - return 'maniphest_transaction_comment'; 9 - } 10 - 11 6 public function getApplicationTransactionObject() { 12 7 return new ManiphestTransaction(); 13 8 }
+4
src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php
··· 1620 1620 'type' => 'php', 1621 1621 'name' => $this->getPatchPath('20130921.xmigratemaniphest.php'), 1622 1622 ), 1623 + '20130923.mrename.sql' => array( 1624 + 'type' => 'sql', 1625 + 'name' => $this->getPatchPath('20130923.mrename.sql'), 1626 + ), 1623 1627 ); 1624 1628 } 1625 1629 }