Putting 4.2.0 on top of 4.0.17
[usit-rt.git] / etc / upgrade / 4.1.7 / schema.mysql
1 UPDATE Transactions
2 SET TimeTaken
3     = COALESCE(NewValue,0)
4     - COALESCE(OldValue,0)
5 WHERE ObjectType = 'RT::Ticket' AND Type = 'Set' AND Field = 'TimeWorked';