1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 16:14:51 +09:00

Unset ticket closer PersonId for tickets that aren't closed

This commit is contained in:
fr33domlover 2019-06-27 12:19:37 +00:00
parent 63689aef1a
commit e5f9b34ad2

View file

@ -940,6 +940,12 @@ changes hLocal ctx =
"OutboxItem"
-- 125
, addUnique "Ticket" $ Unique "UniqueTicketAccept" ["accept"]
-- 126
, unchecked $ lift $ do
tids <- selectKeysList [Ticket20190624Status !=. "TSClosed"] []
updateWhere
[Ticket20190624Id <-. tids]
[Ticket20190624Closer =. Nothing]
]
migrateDB