mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 02:44:53 +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
|
TicketAuthorRemote
|
||||||
ticket TicketId
|
ticket TicketId
|
||||||
author RemoteActorId
|
author RemoteActorId
|
||||||
|
offer RemoteActivityId
|
||||||
|
|
||||||
UniqueTicketAuthorRemote ticket
|
UniqueTicketAuthorRemote ticket
|
||||||
|
UniqueTicketAuthorRemoteOffer offer
|
||||||
|
|
||||||
TicketDependency
|
TicketDependency
|
||||||
parent TicketId
|
parent TicketId
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue