Remove unneeded drop-index SQLite call.

This commit is contained in:
Brent Simmons 2017-05-27 11:35:03 -07:00
parent f58f9244f5
commit e1aca9375c
1 changed files with 0 additions and 3 deletions

View File

@ -45,9 +45,6 @@ final class LocalDatabase {
let createStatementsPath = Bundle(for: type(of: self)).path(forResource: "LocalCreateStatements", ofType: "sql")!
let createStatements = try! NSString(contentsOfFile: createStatementsPath, encoding: String.Encoding.utf8.rawValue)
queue.createTables(usingStatements: createStatements as String)
queue.run { (database) in
let _ = database.executeUpdate("drop index dateArrivedIndex;", withArgumentsIn: [])
}
queue.vacuumIfNeeded()
}