Skip to content

Commit b259b41

Browse files
committed
[Fix] [docs] references to database objects
- add schema names prefixes to the referenced database objects
1 parent 25f2c1d commit b259b41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/implementation/metadata.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Mapping of subgraph names from `subgraph` to IPFS hashes. Maintained in the prim
3737

3838
Directory of all deployments. Maintained in the primary, but there is a background job that periodically copies the table from the primary to all other shards. Those copies are used for queries when the primary is down.
3939

40-
### `deployment_schemas`
40+
### `public.deployment_schemas`
4141

4242
| Column | Type | Use |
4343
|--------------|----------------|----------------------------------------------|
@@ -52,7 +52,7 @@ Directory of all deployments. Maintained in the primary, but there is a backgrou
5252

5353
There can be multiple copies of the same deployment, but at most one per shard. The `active` flag indicates which of these copies will be used for queries; `graph-node` makes sure that there is always exactly one for each IPFS hash.
5454

55-
### `subgraph_deployment`
55+
### `subgraphs.subgraph_deployment`
5656

5757
Details about a deployment to track sync progress etc. Maintained in the
5858
shard alongside the deployment's data in `sgdNNN`. The table should only
@@ -88,7 +88,7 @@ set during indexing. They are used to determine whether a reorg happened
8888
while a query was running, and whether that reorg could have affected the
8989
query.
9090

91-
### `subgraph_manifest`
91+
### `subgraphs.subgraph_manifest`
9292

9393
Details about a deployment that rarely change. Maintained in the
9494
shard alongside the deployment's data in `sgdNNN`.
@@ -108,7 +108,7 @@ shard alongside the deployment's data in `sgdNNN`.
108108
| `on_sync` | `text` | Additional behavior when deployment becomes synced |
109109
| `history_blocks` | `int4!` | How many blocks of history to keep |
110110

111-
### `subgraph_deployment_assignment`
111+
### `subgraphs.subgraph_deployment_assignment`
112112

113113
Tracks which index node is indexing a deployment. Maintained in the primary,
114114
but there is a background job that periodically copies the table from the
@@ -121,12 +121,12 @@ primary to all other shards.
121121

122122
This table could simply be a column on `deployment_schemas`.
123123

124-
### `dynamic_ethereum_contract_data_source`
124+
### `subgraphs.dynamic_ethereum_contract_data_source`
125125

126126
Stores the dynamic data sources for all subgraphs (will be turned into a
127127
table that lives in each subgraph's namespace `sgdNNN` soon)
128128

129-
### `subgraph_error`
129+
### `subgraphs.subgraph_error`
130130

131131
Stores details about errors that subgraphs encounter during indexing.
132132

0 commit comments

Comments
 (0)