Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #6499 from EOSIO/mongo-index
Browse files Browse the repository at this point in the history
mongo_db_plugin action_trace indexes
  • Loading branch information
b1bart authored Dec 18, 2018
2 parents d54a0e2 + badafc3 commit e2b23eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/mongo_db_plugin/mongo_db_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ void mongo_db_plugin_impl::init() {

// action traces indexes
auto action_traces = mongo_conn[db_name][action_traces_col];
action_traces.create_index( bsoncxx::from_json( R"xxx({ "trx_id" : 1 })xxx" ));
action_traces.create_index( bsoncxx::from_json( R"xxx({ "block_num" : 1 })xxx" ));

// pub_keys indexes
auto pub_keys = mongo_conn[db_name][pub_keys_col];
Expand Down

0 comments on commit e2b23eb

Please sign in to comment.