Skip to content

Commit

Permalink
Merge pull request #813 from worldcoin/piohei/identities_unique_commi…
Browse files Browse the repository at this point in the history
…tment

Add unique index for commitments to identities.
  • Loading branch information
piohei authored Oct 31, 2024
2 parents 0f092eb + 4f22aa7 commit 4ae4ca4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP INDEX identities_unique_commitment;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE UNIQUE INDEX identities_unique_commitment on identities(commitment) WHERE commitment != E'\\x0000000000000000000000000000000000000000000000000000000000000000';

0 comments on commit 4ae4ca4

Please sign in to comment.