Skip to content

Commit dd207b7

Browse files
author
Stanislav Idolov
authored
ENGCOM-2279: [Port 2.3] Add indexes to timestamp field in oauth_nonce #16715
2 parents bd8b9e5 + 09ca029 commit dd207b7

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)