I have followed the upgrade from Phabricator guide here and have done the following.
Upgraded phabricator to the last stable release. The storage upgrade ran fine with this.
I then followed the upgrade process to change over to Phorge and I am getting errors when doing the storage upgrade part. I redid the upgrade process a few times to make sure I didn't fat finger or make a mistake but it all returns this same error.
Applying patch "phabricator:20200220.xaccount.01.sql" to host "localhost"...
[2023-11-29 07:42:51] EXCEPTION: (AphrontQueryException) #1050: Table 'user_externalaccountidentifier' already exists at [<phorge>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:396]
arcanist(head=stable, ref.master=b50a646a3f49, ref.stable=25611ba24add), phorge(head=stable, ref.master=dec95228a241, ref.stable=c3850a3c1530)
#0 AphrontBaseMySQLDatabaseConnection::throwQueryCodeException(integer, string) called at [<phorge>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:321]
#1 AphrontBaseMySQLDatabaseConnection::throwQueryException(mysqli) called at [<phorge>/src/infrastructure/storage/connection/mysql/AphrontBaseMySQLDatabaseConnection.php:217]
#2 AphrontBaseMySQLDatabaseConnection::executeQuery(PhutilQueryString) called at [<phorge>/src/infrastructure/storage/xsprintf/queryfx.php:8]
#3 queryfx(AphrontMySQLiDatabaseConnection, string, string) called at [<phorge>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:285]
#4 PhabricatorStorageManagementAPI::applyPatchSQL(string) called at [<phorge>/src/infrastructure/storage/management/PhabricatorStorageManagementAPI.php:253]
#5 PhabricatorStorageManagementAPI::applyPatch(PhabricatorStoragePatch) called at [<phorge>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:1163]
#6 PhabricatorStorageManagementWorkflow::doUpgradeSchemata(array, NULL, boolean, boolean) called at [<phorge>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:905]
#7 PhabricatorStorageManagementWorkflow::upgradeSchemata(array, NULL, boolean, boolean) called at [<phorge>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php:78]
#8 PhabricatorStorageManagementUpgradeWorkflow::didExecute(PhutilArgumentParser) called at [<phorge>/src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php:107]
#9 PhabricatorStorageManagementWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:492]
#10 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:377]
#11 PhutilArgumentParser::parseWorkflows(array) called at [<phorge>/scripts/sql/manage_storage.php:249]