Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
🧐 added indices to name
Browse files Browse the repository at this point in the history
  • Loading branch information
vikiival committed Aug 12, 2022
1 parent 74b53eb commit 4f70797
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type CollectionEntity @entity {
issuer: String!
meta: MetadataEntity
metadata: String
name: String
name: String @index
nfts: [NFTEntity!] @derivedFrom(field: "collection")
updatedAt: DateTime!
type: CollectionType!
Expand All @@ -20,14 +20,14 @@ type NFTEntity @entity {
burned: Boolean!
collection: CollectionEntity!
createdAt: DateTime!
currentOwner: String!
currentOwner: String! @index
events: [Event!] @derivedFrom(field: "nft")
offers: [Offer!] @derivedFrom(field: "nft")
hash: String! @index
issuer: String!
meta: MetadataEntity
metadata: String
name: String
name: String @index
price: BigInt
royalty: Int
recipient: String
Expand Down

0 comments on commit 4f70797

Please sign in to comment.