mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Add uniqueness constraint on alias, remove views attribute
This commit is contained in:
parent
09d1d76d47
commit
f235a0c2d0
@ -8,9 +8,13 @@
|
||||
<attribute name="styleSheet" optional="YES" attributeType="String"/>
|
||||
<attribute name="title" attributeType="String"/>
|
||||
<attribute name="url" optional="YES" attributeType="String"/>
|
||||
<attribute name="views" optional="YES" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES"/>
|
||||
<uniquenessConstraints>
|
||||
<uniquenessConstraint>
|
||||
<constraint value="alias"/>
|
||||
</uniquenessConstraint>
|
||||
</uniquenessConstraints>
|
||||
</entity>
|
||||
<elements>
|
||||
<element name="WFACollection" positionX="-18" positionY="27" width="128" height="149"/>
|
||||
<element name="WFACollection" positionX="-18" positionY="27" width="128" height="134"/>
|
||||
</elements>
|
||||
</model>
|
@ -8,16 +8,15 @@ extension WFACollection {
|
||||
}
|
||||
|
||||
@NSManaged public var alias: String?
|
||||
@NSManaged public var title: String?
|
||||
@NSManaged public var blogDescription: String?
|
||||
@NSManaged public var styleSheet: String?
|
||||
@NSManaged public var isPublic: Bool
|
||||
@NSManaged public var views: Int16
|
||||
@NSManaged public var email: String?
|
||||
@NSManaged public var isPublic: Bool
|
||||
@NSManaged public var styleSheet: String?
|
||||
@NSManaged public var title: String?
|
||||
@NSManaged public var url: String?
|
||||
|
||||
}
|
||||
|
||||
extension WFACollection: Identifiable {
|
||||
extension WFACollection : Identifiable {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user