Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
CLI/Introspection: Indices -> indexes in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ejoebstl committed Feb 4, 2019
1 parent 7a9a051 commit a2aad8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ type Film @indexes(value: [{name: \\"film_fulltext_idx\\", fields: [\\"fulltext\
}
type Film_actor @pgTable(name: \\"film_actor\\") {
# Multiple ID fields (compound indices) are not supported
# Multiple ID fields (compound indices) are not supported
# Multiple ID fields (compound indexes) are not supported
# Multiple ID fields (compound indexes) are not supported
# ID field must be called \\"id\\" in relational models.
# actor_id: Actor! @unique
film_id: Film!
Expand All @@ -91,8 +91,8 @@ type Film_actor @pgTable(name: \\"film_actor\\") {
type Film_category @pgTable(name: \\"film_category\\") {
category_id: Category!
# Multiple ID fields (compound indices) are not supported
# Multiple ID fields (compound indices) are not supported
# Multiple ID fields (compound indexes) are not supported
# Multiple ID fields (compound indexes) are not supported
# ID field must be called \\"id\\" in relational models.
# film_id: Film! @unique
last_update: DateTime!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ export abstract class RelationalIntrospectionResult extends IntrospectionResult
}
pkField.isId = true
pkField.comments.push({
text: `Multiple ID fields (compound indices) are not supported`,
text: `Multiple ID fields (compound indexes) are not supported`,
isError: true
})
}
Expand Down

0 comments on commit a2aad8b

Please sign in to comment.