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"
"OutboxItem"
-- 548
, addUnique' "CollabFulfillsInvite" "Accept" ["accept"]
]
migrateDB

View file

@ -593,6 +593,7 @@ CollabFulfillsInvite
accept OutboxItemId
UniqueCollabFulfillsInvite collab
UniqueCollabFulfillsInviteAccept accept
CollabInviterLocal
collab CollabFulfillsInviteId