fix: issue of data missing caused by title being null

pull/191/head
jingzhe 2 years ago committed by moonD4rk
parent 982c0d99a2
commit df13d52183
  1. 2
      internal/browingdata/history/history.go

@ -73,7 +73,7 @@ func (c *ChromiumHistory) Length() int {
type FirefoxHistory []history
const (
queryFirefoxHistory = `SELECT id, url, last_visit_date, title, visit_count FROM moz_places where title not null`
queryFirefoxHistory = `SELECT id, url, COALESCE(last_visit_date, 0), COALESCE(title, ''), visit_count FROM moz_places`
closeJournalMode = `PRAGMA journal_mode=off`
)

Loading…
Cancel
Save