Skip to content

Commit

Permalink
add an index for zkapp_events
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang Jiawei committed Jan 5, 2024
1 parent 25a2e11 commit 2e65144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/archive/zkapp_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ CREATE TABLE zkapp_events
, element_ids int[] NOT NULL
);

create index idx_zkapp_events_element_ids ON zkapp_events(element_ids);


/* field elements derived from verification keys */
CREATE TABLE zkapp_verification_key_hashes
( id serial PRIMARY KEY
Expand Down

0 comments on commit 2e65144

Please sign in to comment.