From c179ce6279e0226b6a91ff97c5365f23965bfbfd Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 19 Dec 2013 07:03:51 -0800 Subject: [PATCH] (Later...) Drop legacy Project transaction table Summary: Ref T4010. I'll hold this for a bit, but we should eventually drop this table once the dust has settled. Test Plan: Ran storage upgrade. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4010 Differential Revision: https://secure.phabricator.com/D7372 --- resources/sql/patches/20131219.pxdrop.sql | 1 + .../storage/patch/PhabricatorBuiltinPatchList.php | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 resources/sql/patches/20131219.pxdrop.sql diff --git a/resources/sql/patches/20131219.pxdrop.sql b/resources/sql/patches/20131219.pxdrop.sql new file mode 100644 index 0000000000..c4c2e3d035 --- /dev/null +++ b/resources/sql/patches/20131219.pxdrop.sql @@ -0,0 +1 @@ +DROP TABLE {$NAMESPACE}_project.project_legacytransaction; diff --git a/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php b/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php index fedec040fb..38d46b7d6b 100644 --- a/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php +++ b/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php @@ -1844,6 +1844,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList { 'type' => 'sql', 'name' => $this->getPatchPath('20131217.pushlogphid.3.key.sql'), ), + '20131219.pxdrop.sql' => array( + 'type' => 'sql', + 'name' => $this->getPatchPath('20131219.pxdrop.sql'), + ), ); } }