Skip to content

Commit 12f279d

Browse files
authored
Disable byName index on subgraph_domains table (#1820)
1 parent eff25f9 commit 12f279d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.changeset/cute-rooms-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ensnode/ensdb-sdk": patch
3+
---
4+
5+
Temporarily removed the `byName` index on `subgraph_domains` table in ENSDb.

packages/ensdb-sdk/src/ensindexer-abstract/subgraph.schema.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ export const subgraph_domain = onchainTable(
9393
expiryDate: t.bigint(),
9494
}),
9595
(t) => ({
96-
byName: index().on(t.name),
96+
// Temporarily disable the `byName` index to avoid index creation issues.
97+
// For more details, see: https://github.com/namehash/ensnode/issues/1819
98+
// byName: index().on(t.name),
9799
byLabelhash: index().on(t.labelhash),
98100
byParentId: index().on(t.parentId),
99101
byOwnerId: index().on(t.ownerId),

0 commit comments

Comments
 (0)