mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 19:34:52 +09:00
For tickets by remote authors, link in the DB to the RemoteActivity, the Offer
This commit is contained in:
parent
c51a0bbdd8
commit
b40ef116b1
2 changed files with 7 additions and 0 deletions
|
@ -312,8 +312,10 @@ TicketAuthorLocal
|
|||
TicketAuthorRemote
|
||||
ticket TicketId
|
||||
author RemoteActorId
|
||||
offer RemoteActivityId
|
||||
|
||||
UniqueTicketAuthorRemote ticket
|
||||
UniqueTicketAuthorRemoteOffer offer
|
||||
|
||||
TicketDependency
|
||||
parent TicketId
|
||||
|
|
|
@ -663,6 +663,11 @@ changes hLocal ctx =
|
|||
"FollowerSet"
|
||||
-- 111
|
||||
, addUnique "Project" $ Unique "UniqueProjectFollowers" ["followers"]
|
||||
-- 112
|
||||
, addFieldRefRequiredEmpty "TicketAuthorRemote" "offer" "RemoteActivity"
|
||||
-- 113
|
||||
, addUnique "TicketAuthorRemote" $
|
||||
Unique "UniqueTicketAuthorRemoteOffer" ["offer"]
|
||||
]
|
||||
|
||||
migrateDB
|
||||
|
|
Loading…
Reference in a new issue