Set read to 1, not to true. Not sure this ever worked.
This commit is contained in:
parent
88e409d2be
commit
9fe512228d
|
@ -597,7 +597,7 @@ final class ArticlesTable: DatabaseTable {
|
|||
return
|
||||
}
|
||||
|
||||
let sql = "update statuses set read = true where dateArrived<?;"
|
||||
let sql = "update statuses set read = 1 where dateArrived<?;"
|
||||
let parameters = [self.articleCutoffDate] as [Any]
|
||||
database.executeUpdate(sql, withArgumentsIn: parameters)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue