DB: Make the Accept unique per CollabFulfillsInvite

This commit is contained in:
Pere Lev 2023-06-28 14:18:45 +03:00
parent afc45257b4
commit 5e87dd99d3
No known key found for this signature in database
GPG key ID: 5252C5C863E5E57D
2 changed files with 4 additions and 1 deletions

View file

@ -3019,6 +3019,8 @@ changes hLocal ctx =
) )
"accept" "accept"
"OutboxItem" "OutboxItem"
-- 548
, addUnique' "CollabFulfillsInvite" "Accept" ["accept"]
] ]
migrateDB migrateDB

View file

@ -592,7 +592,8 @@ CollabFulfillsInvite
collab CollabId collab CollabId
accept OutboxItemId accept OutboxItemId
UniqueCollabFulfillsInvite collab UniqueCollabFulfillsInvite collab
UniqueCollabFulfillsInviteAccept accept
CollabInviterLocal CollabInviterLocal
collab CollabFulfillsInviteId collab CollabFulfillsInviteId