From 460051c1d82aedaddebd398755fb397a58103929 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 19 Oct 2013 04:56:17 -0700 Subject: [PATCH] Drop `maniphest_savedquery` table Summary: This data was migrated by D6977 and is now obsolete. I'll hold this patch for a week or two in case we get reports of migration errors. Test Plan: Ran storage upgrade, saw the table vanish. Grepped for references to the table. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D6997 --- resources/sql/patches/20130915.maniphestqdrop.sql | 1 + .../storage/patch/PhabricatorBuiltinPatchList.php | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 resources/sql/patches/20130915.maniphestqdrop.sql diff --git a/resources/sql/patches/20130915.maniphestqdrop.sql b/resources/sql/patches/20130915.maniphestqdrop.sql new file mode 100644 index 0000000000..a9f54884d2 --- /dev/null +++ b/resources/sql/patches/20130915.maniphestqdrop.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS {$NAMESPACE}_maniphest.maniphest_savedquery; diff --git a/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php b/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php index c233b3a105..638d1cf283 100644 --- a/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php +++ b/src/infrastructure/storage/patch/PhabricatorBuiltinPatchList.php @@ -1676,6 +1676,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList { 'type' => 'sql', 'name' => $this->getPatchPath('20131015.cpolicy.sql'), ), + '20130915.maniphestqdrop.sql' => array( + 'type' => 'sql', + 'name' => $this->getPatchPath('20130915.maniphestqdrop.sql'), + ), ); } } -- 2.51.2