Merge pull request #1252 from kielgillard/master

Modifies SyncDatabase to synchronously create tables…
This commit is contained in:
Maurice Parker 2019-11-04 17:27:37 -06:00 committed by GitHub
commit f8929c89f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ public final class SyncDatabase {
let queue = RSDatabaseQueue(filepath: databaseFilePath, excludeFromBackup: false)
self.syncStatusTable = SyncStatusTable(queue: queue)
queue.createTables(usingStatements: SyncDatabase.tableCreationStatements)
queue.createTables(usingStatementsSync: SyncDatabase.tableCreationStatements)
queue.vacuumIfNeeded()
}