mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-20 00:24:26 +01:00
WIP: documentation
This commit is contained in:
@@ -39,6 +39,14 @@ public final class SchemaHistory: ExpressibleByArrayLiteral {
|
||||
*/
|
||||
public let currentModelVersion: ModelVersion
|
||||
|
||||
/**
|
||||
The schema for the current model version. The `DataStack` will try to migrate all `StorageInterface`s added to itself to this version, following the version steps provided by the `migrationChain`.
|
||||
*/
|
||||
public var currentSchema: DynamicSchema {
|
||||
|
||||
return self.schema(for: self.currentModelVersion)!
|
||||
}
|
||||
|
||||
/**
|
||||
The version string for the current model version. The `DataStack` will try to migrate all `StorageInterface`s added to itself to this version, following the version steps provided by the `migrationChain`.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user