mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix asset_id index in mongodb
This commit is contained in:
parent
6783478126
commit
c572464be6
@ -60,8 +60,7 @@ def create_bigchain_secondary_index(conn, dbname):
|
||||
|
||||
# secondary index for asset uuid, this field is unique
|
||||
conn.conn[dbname]['bigchain']\
|
||||
.create_index('block.transactions.transaction.asset.id',
|
||||
name='asset_id')
|
||||
.create_index('block.transactions.asset.id', name='asset_id')
|
||||
|
||||
|
||||
def create_backlog_secondary_index(conn, dbname):
|
||||
|
Loading…
x
Reference in New Issue
Block a user