mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Name the temporary database used by DatabaseMigrator.eraseDatabaseOnSchemaChange
This commit is contained in:
1 parent
a93f75a6fc
commit
800b9ffc3d
2 files changed
+1
-2
No files matched your search
@@ -140,6 +140,7 @@ public struct DatabaseMigrator {
|
||||
// migrations would involve a lot of data).
|
||||
var witnessConfiguration = writer.configuration
|
||||
witnessConfiguration.targetQueue = nil // Avoid deadlocks
|
||||
witnessConfiguration.label = "GRDB.DatabaseMigrator.temporary"
|
||||
let witness = try DatabaseQueue(path: "", configuration: witnessConfiguration)
|
||||
|
||||
// Grab schema of migrated witness database
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
## Features
|
||||
|
||||
- [ ] Access the database label
|
||||
- [ ] Label the Migrator witness dbQueue
|
||||
- [ ] Subqueries: request.isEmpty / request.exists
|
||||
- [ ] Subqueries: request.count
|
||||
- [ ] Extract one row from a hasMany association (the one with the maximum date, the one with a flag set, etc.) https://stackoverflow.com/questions/43188771/sqlite-join-query-most-recent-posts-by-each-user (failed PR: https://github.com/groue/GRDB.swift/pull/767)
|
||||
|
||||
Reference in new issue
Block a user