mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-11-19 07:08:31 +01:00
Docs update
This commit is contained in:
1 parent
a267395618
commit
f5fed063ee
56 files changed
+853
-863
No files matched your search
@@ -33,7 +33,7 @@ import Foundation
|
||||
`MigrationResult.success` indicates either the migration succeeded, or there were no migrations needed. The associated value is an array of `MigrationType`s reflecting the migration steps completed.
|
||||
`MigrationResult.failure` indicates that the migration failed. The associated object for this value is the a `CoreStoreError` enum value.
|
||||
```
|
||||
CoreStore.upgradeStorageIfNeeded(SQLiteStorage(fileName: "data.sqlite")) { (result) in
|
||||
dataStack.upgradeStorageIfNeeded(SQLiteStorage(fileName: "data.sqlite")) { (result) in
|
||||
switch result {
|
||||
case .success(let migrationSteps):
|
||||
// ...
|
||||
|
||||
Reference in new issue
Block a user