Skip to content

Commit

Permalink
Add unique index for commitments to identities.
Browse files Browse the repository at this point in the history
  • Loading branch information
piohei committed Oct 30, 2024
1 parent 0f092eb commit 4f22aa7
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 4f22aa7

Please sign in to comment.