Skip to content

Commit a27fc6e

Browse files
committed
Added index for oauth_nonce timestamp
1 parent 37d2ab2 commit a27fc6e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/code/Magento/Integration/etc/db_schema.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
<column name="nonce"/>
8989
<column name="consumer_id"/>
9090
</constraint>
91+
<index name="OAUTH_NONCE_TIMESTAMP" indexType="btree">
92+
<column name="timestamp"/>
93+
</index>
9194
</table>
9295
<table name="integration" resource="default" engine="innodb" comment="integration">
9396
<column xsi:type="int" name="integration_id" padding="10" unsigned="true" nullable="false" identity="true"

app/code/Magento/Integration/etc/db_schema_whitelist.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@
5656
"constraint": {
5757
"OAUTH_NONCE_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID": true,
5858
"OAUTH_NONCE_NONCE_CONSUMER_ID": true
59+
},
60+
"index": {
61+
"OAUTH_NONCE_TIMESTAMP": true
5962
}
6063
},
6164
"integration": {

0 commit comments

Comments
 (0)