Skip to content

Commit

Permalink
Add index at event timestamp field
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed Dec 4, 2023
1 parent 55d3cda commit 00460a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/events.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Event @entity {
indexInBlock: Int!

"Timestamp of the block the event was emitted in"
timestamp: DateTime!
timestamp: DateTime! @index

"More specific event data, which depends on event type"
data: EventData!
Expand Down

0 comments on commit 00460a3

Please sign in to comment.