 
 private let AllIndices: Args = [
     IndexHistoryShouldUpload,
-    IndexVisitsSiteIDDate,
+    IndexVisitsSiteIDIsLocalDate,
 ]
 
 private let AllTablesIndicesAndViews: Args = AllViews + AllIndices + AllTables

        }

        let indexSiteIDDate =
        "CREATE INDEX IF NOT EXISTS \(IndexVisitsSiteIDDate) " +
        "ON \(TableVisits) (siteID, date)"

        let faviconSites =
        "CREATE TABLE IF NOT EXISTS \(TableFaviconSites) (" +

            }
        }

        if from < 6 {
            let queries = [
                "DROP INDEX IF EXISTS \(IndexVisitsSiteIDDate)",
                "CREATE INDEX IF NOT EXISTS \(IndexVisitsSiteIDIsLocalDate) ON \(TableVisits) (siteID, is_local, date)",
            ]

            if !self.run(db, queries: queries) {
                return false
            }
        }

        return true
    }

