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

mongo_db_plugin action_trace indexes #6499

Merged
merged 1 commit into from
Dec 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -1426,7 +1426,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