Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F555088
20200222.xident.02.dropkey.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
548 B
Referenced Files
None
Subscribers
None
20200222.xident.02.dropkey.php
View Options
<?php
// See T13493. This table previously had a UNIQUE KEY on "<accountType,
// accountDomain, accountID>", which is obsolete. The application now violates
// this key, so make sure it gets dropped.
// There's no "IF EXISTS" modifier for "ALTER TABLE" so run this as a PHP patch
// instead of an SQL patch.
$table
=
new
PhabricatorExternalAccount
();
$conn
=
$table
->
establishConnection
(
'w'
);
try
{
queryfx
(
$conn
,
'ALTER TABLE %R DROP KEY %T'
,
$table
,
'account_details'
);
}
catch
(
AphrontQueryException
$ex
)
{
// Ignore.
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 6:23 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
125867
Default Alt Text
20200222.xident.02.dropkey.php (548 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment