<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftData",
  "identifier" : "/documentation/SwiftData/HistoryToken/storeIdentifier",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftData"
    ],
    "preciseIdentifier" : "s:9SwiftData12HistoryTokenPAAE15storeIdentifierSSvp"
  },
  "title" : "storeIdentifier"
}
-->

# storeIdentifier

The on-disk identifier of the data store this token covers.

```
var storeIdentifier: String { get }
```

## Discussion

Use with [`configurationName(forStoreIdentifier:)`](/documentation/SwiftData/ModelContainer/configurationName(forStoreIdentifier:)) to
map the identifier back to the [`ModelConfiguration`](/documentation/SwiftData/ModelConfiguration) name.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)