mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-02-26 01:25:01 +01:00
WIP: custom migration
This commit is contained in:
@@ -125,7 +125,7 @@ public final class CSDataStack: NSObject, CoreStoreObjectiveCType {
|
||||
|
||||
return bridge(error) {
|
||||
|
||||
try self.bridgeToSwift.addStorageAndWait(InMemoryStore.self)
|
||||
try self.bridgeToSwift.addStorageAndWait(InMemoryStore())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ public final class CSDataStack: NSObject, CoreStoreObjectiveCType {
|
||||
|
||||
return bridge(error) {
|
||||
|
||||
try self.bridgeToSwift.addStorageAndWait(SQLiteStore.self)
|
||||
try self.bridgeToSwift.addStorageAndWait(SQLiteStore())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user