Skip to content

Commit

Permalink
Added index to Notification/created_at table (#2760)
Browse files Browse the repository at this point in the history
Co-authored-by: Can Demiralp <[email protected]>
  • Loading branch information
Lemongrabb and candemiralp authored Oct 3, 2024
1 parent b77251e commit 4a2320d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
<column name="merchant_reference"/>
<column name="event_code"/>
</index>
<index referenceId="ADYEN_NOTIFICATION_CREATED_AT" indexType="btree">
<column name="created_at"/>
</index>
</table>
<table name="adyen_invoice" resource="default" engine="innodb" comment="Adyen Invoice">
<column xsi:type="int" name="entity_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Adyen Invoice Entity ID"/>
Expand Down
5 changes: 3 additions & 2 deletions etc/db_schema_whitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
"ADYEN_NOTIFICATION_PSPREFERENCE": true,
"ADYEN_NOTIFICATION_EVENT_CODE": true,
"ADYEN_NOTIFICATION_PSPREFERENCE_EVENT_CODE": true,
"ADYEN_NOTIFICATION_MERCHANT_REFERENCE_EVENT_CODE": true
"ADYEN_NOTIFICATION_MERCHANT_REFERENCE_EVENT_CODE": true,
"ADYEN_NOTIFICATION_CREATED_AT": true
},
"constraint": {
"PRIMARY": true
Expand Down Expand Up @@ -110,4 +111,4 @@
"PRIMARY": true
}
}
}
}

0 comments on commit 4a2320d

Please sign in to comment.