Skip to content

Commit

Permalink
feat: index assets contracts (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigobranas authored Sep 24, 2024
1 parent a7acd0d commit dc9eff6
Show file tree
Hide file tree
Showing 16 changed files with 1,035 additions and 37 deletions.
12 changes: 12 additions & 0 deletions packages/graphql/database/1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
create table indexer.assets_contracts (
asset_id text not null,
contract_id text not null,
transaction_id text not null,
name text,
symbol text,
decimals integer,
error text,
primary key (asset_id, contract_id)
);
create index on indexer.assets_contracts (asset_id);
create index on indexer.assets_contracts (contract_id);
Loading

0 comments on commit dc9eff6

Please sign in to comment.