Skip to content

Add unique constraint on treasury membership - #27

Open
miraclesonly wants to merge 1 commit into
StellarNest-Labs:mainfrom
miraclesonly:fix-3
Open

miraclesonly wants to merge 1 commit into
StellarNest-Labs:mainfrom
miraclesonly:fix-3

Conversation

@miraclesonly

Copy link
Copy Markdown
Collaborator

Adds a unique (treasuryId, memberAddress) constraint so the same address can no longer be added twice.

Closes #13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prisma schema has no unique constraint on (treasuryId, memberAddress)

1 participant