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:
parent
63689aef1a
commit
e5f9b34ad2
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue