Skip to content

Commit

Permalink
feat(explorer/db): add indices (#829)
Browse files Browse the repository at this point in the history
Block:
- SourceChainID
- Block Height

Msg:
- SourceChainID
- DestChainID
- StreamOffset
- BlockID (for edge)

Receipt:
- SourceChainID
- DestChainID
- StreamOffset
- BlockID (for edge)

task: https://app.asana.com/0/1206208509925075/1207044438856800
  • Loading branch information
DanFlannel authored Apr 11, 2024
1 parent 9a17249 commit e8362e9
Show file tree
Hide file tree
Showing 22 changed files with 479 additions and 219 deletions.
4 changes: 2 additions & 2 deletions explorer/db/ent/block/block.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 12 additions & 14 deletions explorer/db/ent/block_query.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions explorer/db/ent/entql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion explorer/db/ent/internal/schema.go

Large diffs are not rendered by default.

25 changes: 23 additions & 2 deletions explorer/db/ent/migrate/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 12 additions & 11 deletions explorer/db/ent/msg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 9 additions & 12 deletions explorer/db/ent/msg/msg.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions explorer/db/ent/msg/where.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e8362e9

Please sign in to comment.