@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.

at recaptime-dev/main 21 lines 548 B view raw
1<?php 2 3// See T13493. This table previously had a UNIQUE KEY on "<accountType, 4// accountDomain, accountID>", which is obsolete. The application now violates 5// this key, so make sure it gets dropped. 6 7// There's no "IF EXISTS" modifier for "ALTER TABLE" so run this as a PHP patch 8// instead of an SQL patch. 9 10$table = new PhabricatorExternalAccount(); 11$conn = $table->establishConnection('w'); 12 13try { 14 queryfx( 15 $conn, 16 'ALTER TABLE %R DROP KEY %T', 17 $table, 18 'account_details'); 19} catch (AphrontQueryException $ex) { 20 // Ignore. 21}