mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
add code to drop old databases
Summary: these existed once, are no more, and don't get cleaned up in the current code path Test Plan: storage destroy --dryrun -- noted the correct database names Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T2237 Differential Revision: https://secure.phabricator.com/D4329
This commit is contained in:
parent
7b2ab1a4bc
commit
2f6104bf8b
1 changed files with 3 additions and 0 deletions
|
@ -53,6 +53,9 @@ final class PhabricatorStorageManagementDestroyWorkflow
|
|||
} else {
|
||||
$databases = $api->getDatabaseList($patches);
|
||||
$databases[] = $api->getDatabaseName('meta_data');
|
||||
// These are legacy databases that were dropped long ago. See T2237.
|
||||
$databases[] = $api->getDatabaseName('phid');
|
||||
$databases[] = $api->getDatabaseName('directory');
|
||||
}
|
||||
|
||||
foreach ($databases as $database) {
|
||||
|
|
Loading…
Reference in a new issue