mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-23 15:50:26 +01:00
Remove unneeded drop-index SQLite call.
This commit is contained in:
parent
f58f9244f5
commit
e1aca9375c
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user