Set read to 1, not to true. Not sure this ever worked.

This commit is contained in:
Brent Simmons 2020-07-25 17:34:51 -07:00
parent 88e409d2be
commit 9fe512228d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}