Skip to content

Commit

Permalink
decent looking schema
Browse files Browse the repository at this point in the history
  • Loading branch information
azide0x37 committed Apr 21, 2022
1 parent 0e7c072 commit 3831681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ type BoardGame
name: String!
yearPublished: String
inLibraries: [UserProfile] @connection(keyName: "byUserProfile", fields: ["gameID"])
minPlayers: String
maxPlayers: String
}

type GameNight
Expand Down Expand Up @@ -79,7 +81,7 @@ type ProfilePicture @model @auth(rules: [{allow: owner}]) {
file: S3Object
}

type GamePicture @model {
type BoardGamePicture @model {
id: ID!
name: String

Expand Down

0 comments on commit 3831681

Please sign in to comment.