1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-28 12:04:53 +09:00

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 TicketAuthorRemote
ticket TicketId ticket TicketId
author RemoteActorId author RemoteActorId
offer RemoteActivityId
UniqueTicketAuthorRemote ticket UniqueTicketAuthorRemote ticket
UniqueTicketAuthorRemoteOffer offer
TicketDependency TicketDependency
parent TicketId parent TicketId

View file

@ -663,6 +663,11 @@ changes hLocal ctx =
"FollowerSet" "FollowerSet"
-- 111 -- 111
, addUnique "Project" $ Unique "UniqueProjectFollowers" ["followers"] , addUnique "Project" $ Unique "UniqueProjectFollowers" ["followers"]
-- 112
, addFieldRefRequiredEmpty "TicketAuthorRemote" "offer" "RemoteActivity"
-- 113
, addUnique "TicketAuthorRemote" $
Unique "UniqueTicketAuthorRemoteOffer" ["offer"]
] ]
migrateDB migrateDB