Skip to content

Commit f3f5d45

Browse files
committed
fix(data): remove SK references from DataStore docs
1 parent a333f72 commit f3f5d45

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/fragments/lib-v1/datastore/android/relational/updated-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Post @model {
1818
# New model
1919
type Comment @model {
2020
id: ID!
21-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
21+
postID: ID! @index(name: "byPost")
2222
post: Post! @belongsTo(fields: ["postID"])
2323
content: String!
2424
}

src/fragments/lib-v1/graphqlapi/native_common/advanced-workflows/common.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type Post @model {
9797

9898
type Comment @model {
9999
id: ID!
100-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
100+
postID: ID! @index(name: "byPost")
101101
post: Post! @belongsTo(fields: ["postID"])
102102
content: String!
103103
}

src/fragments/lib/datastore/android/relational/updated-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Post @model {
1818
# New model
1919
type Comment @model {
2020
id: ID!
21-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
21+
postID: ID! @index(name: "byPost")
2222
post: Post! @belongsTo(fields: ["postID"])
2323
content: String!
2424
}

src/fragments/lib/datastore/flutter/relational/updated-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Post @model {
1818
# New model
1919
type Comment @model {
2020
id: ID!
21-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
21+
postID: ID! @index(name: "byPost")
2222
post: Post! @belongsTo(fields: ["postID"])
2323
content: String!
2424
}

src/fragments/lib/datastore/js/relational/updated-schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type Post @model {
1818
# New model
1919
type Comment @model {
2020
id: ID!
21-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
21+
postID: ID! @index(name: "byPost")
2222
post: Post! @belongsTo(fields: ["postID"])
2323
content: String!
2424
}

src/fragments/lib/graphqlapi/native_common/advanced-workflows/common.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ type Post @model {
105105

106106
type Comment @model {
107107
id: ID!
108-
postID: ID! @index(name: "byPost", sortKeyFields: ["content"])
108+
postID: ID! @index(name: "byPost")
109109
post: Post! @belongsTo(fields: ["postID"])
110110
content: String!
111111
}
112112

113113
type Note @model {
114114
id: ID!
115-
postID: ID! @index(name: "byNote", sortKeyFields: ["content"])
115+
postID: ID! @index(name: "byNote")
116116
post: Post! @belongsTo(fields: ["postID"])
117117
content: String!
118118
}

0 commit comments

Comments
 (0)