Skip to content

Commit

Permalink
Merge pull request hyperledger-indy#2372 from baegjae/multi-wallet-md5
Browse files Browse the repository at this point in the history
Update postgres index in multi-wallet to use md5
  • Loading branch information
ianco authored Mar 29, 2021
2 parents dbd89cf + aa23d86 commit 8fa3c2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const _CREATE_SCHEMA_MULTI: [&str; 14] = [
ON UPDATE CASCADE
)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_name ON tags_encrypted(wallet_id, name)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_value ON tags_encrypted(wallet_id, value)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_value ON tags_encrypted(wallet_id, md5(value))",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_wallet_id_item_id ON tags_encrypted(wallet_id, item_id)",
"CREATE TABLE IF NOT EXISTS tags_plaintext(
wallet_id VARCHAR(64) NOT NULL,
Expand Down

0 comments on commit 8fa3c2c

Please sign in to comment.