diff --git a/modules/explorer-core/src/main/resources/db/V9__Schema.sql b/modules/explorer-core/src/main/resources/db/V9__Schema.sql index 12c8c21e8..3b0dd9c98 100644 --- a/modules/explorer-core/src/main/resources/db/V9__Schema.sql +++ b/modules/explorer-core/src/main/resources/db/V9__Schema.sql @@ -251,7 +251,7 @@ CREATE TABLE node_u_outputs CREATE INDEX "node_u_outputs__box_id" ON node_u_outputs (box_id); CREATE INDEX "node_u_outputs__tx_id" ON node_u_outputs (tx_id); -CREATE INDEX "node_u_outputs__ergo_tree" ON node_u_outputs (ergo_tree); +CREATE INDEX "node_u_outputs__ergo_tree" ON node_u_outputs using hash (ergo_tree); CREATE INDEX "node_u_outputs__ergo_tree_template_hash" ON node_u_outputs (ergo_tree_template_hash); /* Inputs containing in unconfirmed outputs.