Merge pull request #1252 from kielgillard/master
Modifies SyncDatabase to synchronously create tables…
This commit is contained in:
commit
f8929c89f4
|
@ -18,7 +18,7 @@ public final class SyncDatabase {
|
||||||
let queue = RSDatabaseQueue(filepath: databaseFilePath, excludeFromBackup: false)
|
let queue = RSDatabaseQueue(filepath: databaseFilePath, excludeFromBackup: false)
|
||||||
self.syncStatusTable = SyncStatusTable(queue: queue)
|
self.syncStatusTable = SyncStatusTable(queue: queue)
|
||||||
|
|
||||||
queue.createTables(usingStatements: SyncDatabase.tableCreationStatements)
|
queue.createTables(usingStatementsSync: SyncDatabase.tableCreationStatements)
|
||||||
queue.vacuumIfNeeded()
|
queue.vacuumIfNeeded()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue