|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
|
-<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="23231" systemVersion="24C101" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="YES" userDefinedModelVersionIdentifier="">
|
|
|
+<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="23605" systemVersion="24C101" minimumToolsVersion="Automatic" sourceLanguage="Swift" usedWithSwiftData="YES" userDefinedModelVersionIdentifier="">
|
|
|
<entity name="BolusStored" representedClassName="BolusStored" syncable="YES">
|
|
|
<attribute name="amount" optional="YES" attributeType="Decimal" defaultValueString="0"/>
|
|
|
<attribute name="isExternal" optional="YES" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
|
|
@@ -51,6 +51,9 @@
|
|
|
<fetchIndex name="byDate">
|
|
|
<fetchIndexElement property="date" type="Binary" order="descending"/>
|
|
|
</fetchIndex>
|
|
|
+ <fetchIndex name="byValue">
|
|
|
+ <fetchIndexElement property="forecastValues" type="Binary" order="ascending"/>
|
|
|
+ </fetchIndex>
|
|
|
</entity>
|
|
|
<entity name="ForecastValue" representedClassName="ForecastValue" syncable="YES">
|
|
|
<attribute name="index" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
|
|
|
@@ -140,6 +143,9 @@
|
|
|
<fetchIndex name="byDate">
|
|
|
<fetchIndexElement property="deliverAt" type="Binary" order="descending"/>
|
|
|
</fetchIndex>
|
|
|
+ <fetchIndex name="byTimestamp">
|
|
|
+ <fetchIndexElement property="timestamp" type="Binary" order="ascending"/>
|
|
|
+ </fetchIndex>
|
|
|
</entity>
|
|
|
<entity name="OverrideRunStored" representedClassName="OverrideRunStored" syncable="YES">
|
|
|
<attribute name="endDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|