Skip to content

Commit

Permalink
Merge pull request hyperledger-indy#2229 from jsaur/postgres-index
Browse files Browse the repository at this point in the history
Update postgres index to use md5
  • Loading branch information
jovfer authored Sep 2, 2020
2 parents 064b15c + 35357b0 commit d8c68d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const _CREATE_SCHEMA: [&str; 12] = [
ON UPDATE CASCADE
)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_name ON tags_encrypted(name)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_value ON tags_encrypted(value)",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_value ON tags_encrypted(sha256(value))",
"CREATE INDEX IF NOT EXISTS ix_tags_encrypted_item_id ON tags_encrypted(item_id)",
"CREATE TABLE IF NOT EXISTS tags_plaintext(
name BYTEA NOT NULL,
Expand Down

0 comments on commit d8c68d7

Please sign in to comment.