We need to update the ENSNode Metadata table and rename the ens_indexer_schema_name column to ensdb_writer_schema_name.
Following that update we have to use the generic term for existing environment variables that reference ENSINDEXER_SCHEMA_NAME. It should be replaced with ENSDB_WRITER_SCHEMA_NAME.
Similar updates have to be completed for ENSDb SDK, where all "ENSIndexer" references must be replaced with "ENSDb Writer". For example, ensIndexerSchema() must become ensDbWriterSchema, and ensIndexerSchemaName must become ensDbWriterSchemaName.
|
/** |
|
* Getter for the "concrete" ENSIndexer Schema definition used in the Drizzle client |
|
* for ENSDb instance. |
|
* |
|
* Useful while working on complex queries for ENSDb. |
|
* |
|
* Note: using `ensIndexerSchema` name for this getter to make it read better |
|
* in the context of query building. For example: |
|
* `this.ensDb.select().from(this.ensIndexerSchema.event)` vs. |
|
* `this.ensDb.select().from(this.concreteEnsIndexerSchema.event)`. |
|
*/ |
|
get ensIndexerSchema(): ConcreteEnsIndexerSchema { |
|
return this._concreteEnsIndexerSchema; |
|
} |
|
|
|
/** |
|
* Getter for the ENSIndexer Schema Name used by this ENSDbReader instance. |
|
*/ |
|
get ensIndexerSchemaName(): string { |
|
return this._ensIndexerSchemaName; |
|
} |
We need to update the ENSNode Metadata table and rename the
ens_indexer_schema_namecolumn toensdb_writer_schema_name.Following that update we have to use the generic term for existing environment variables that reference
ENSINDEXER_SCHEMA_NAME. It should be replaced withENSDB_WRITER_SCHEMA_NAME.Similar updates have to be completed for ENSDb SDK, where all "ENSIndexer" references must be replaced with "ENSDb Writer". For example,
ensIndexerSchema()must becomeensDbWriterSchema, andensIndexerSchemaNamemust becomeensDbWriterSchemaName.ensnode/packages/ensdb-sdk/src/client/ensdb-reader.ts
Lines 105 to 125 in 7d23ee9