Skip to content

Commit

Permalink
add sql file to add indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang Jiawei committed Jan 5, 2024
1 parent db5f1cd commit 7f28441
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/app/archive/add_indexes.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CREATE INDEX idx_zkapp_field_array_element_ids ON zkapp_field_array(element_ids);

CREATE INDEX idx_zkapp_events_element_ids ON zkapp_events(element_ids);
1 change: 0 additions & 1 deletion src/app/archive/zkapp_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ CREATE TABLE zkapp_events

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 7f28441

Please sign in to comment.