For tickets by remote authors, link in the DB to the RemoteActivity, the Offer

This commit is contained in:
fr33domlover 2019-06-12 22:14:19 +00:00
parent c51a0bbdd8
commit b40ef116b1
2 changed files with 7 additions and 0 deletions

View file

@ -312,8 +312,10 @@ TicketAuthorLocal
TicketAuthorRemote
ticket TicketId
author RemoteActorId
offer RemoteActivityId
UniqueTicketAuthorRemote ticket
UniqueTicketAuthorRemoteOffer offer
TicketDependency
parent TicketId

View file

@ -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