Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14043378
D10592.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D10592.diff
View Options
diff --git a/src/applications/config/schema/PhabricatorConfigStorageSchema.php b/src/applications/config/schema/PhabricatorConfigStorageSchema.php
--- a/src/applications/config/schema/PhabricatorConfigStorageSchema.php
+++ b/src/applications/config/schema/PhabricatorConfigStorageSchema.php
@@ -169,12 +169,11 @@
public static function getIssueStatus($issue) {
switch ($issue) {
case self::ISSUE_MISSING:
- case self::ISSUE_SUBFAIL:
case self::ISSUE_SURPLUS:
+ case self::ISSUE_SUBFAIL:
return self::STATUS_FAIL;
case self::ISSUE_SUBWARN:
case self::ISSUE_COLUMNTYPE:
- case self::ISSUE_KEYCOLUMNS:
case self::ISSUE_NULLABLE:
return self::STATUS_WARN;
case self::ISSUE_SUBNOTE:
@@ -183,6 +182,7 @@
case self::ISSUE_MISSINGKEY:
case self::ISSUE_SURPLUSKEY:
case self::ISSUE_UNIQUE:
+ case self::ISSUE_KEYCOLUMNS:
return self::STATUS_NOTE;
default:
throw new Exception(pht('Unknown schema issue "%s"!', $issue));
diff --git a/src/applications/nuance/storage/NuanceItem.php b/src/applications/nuance/storage/NuanceItem.php
--- a/src/applications/nuance/storage/NuanceItem.php
+++ b/src/applications/nuance/storage/NuanceItem.php
@@ -38,13 +38,13 @@
),
self::CONFIG_KEY_SCHEMA => array(
'key_source' => array(
- 'columns' => array('sourcePHID', 'status', 'dateNuanced'),
+ 'columns' => array('sourcePHID', 'status', 'dateNuanced', 'id'),
),
'key_owner' => array(
- 'columns' => array('ownerPHID', 'status', 'dateNuanced'),
+ 'columns' => array('ownerPHID', 'status', 'dateNuanced', 'id'),
),
'key_contacter' => array(
- 'columns' => array('requestorPHID', 'status', 'dateNuanced'),
+ 'columns' => array('requestorPHID', 'status', 'dateNuanced', 'id'),
),
),
) + parent::getConfiguration();
diff --git a/src/applications/nuance/storage/NuanceQueueItem.php b/src/applications/nuance/storage/NuanceQueueItem.php
--- a/src/applications/nuance/storage/NuanceQueueItem.php
+++ b/src/applications/nuance/storage/NuanceQueueItem.php
@@ -20,7 +20,12 @@
'unique' => true,
),
'key_queue' => array(
- 'columns' => array('queuePHID', 'itemStatus', 'itemDateNuanced'),
+ 'columns' => array(
+ 'queuePHID',
+ 'itemStatus',
+ 'itemDateNuanced',
+ 'id',
+ ),
),
),
) + parent::getConfiguration();
diff --git a/src/applications/phame/storage/PhamePost.php b/src/applications/phame/storage/PhamePost.php
--- a/src/applications/phame/storage/PhamePost.php
+++ b/src/applications/phame/storage/PhamePost.php
@@ -106,7 +106,12 @@
'unique' => true,
),
'bloggerPosts' => array(
- 'columns' => array('bloggerPHID', 'visibility', 'datePublished'),
+ 'columns' => array(
+ 'bloggerPHID',
+ 'visibility',
+ 'datePublished',
+ 'id',
+ ),
),
),
) + parent::getConfiguration();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 13, 9:50 AM (5 d, 23 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6749461
Default Alt Text
D10592.diff (3 KB)
Attached To
Mode
D10592: Ignore keys with trailing index on table primary key for now
Attached
Detach File
Event Timeline
Log In to Comment