Created
September 14, 2018 09:47
-
-
Save ficolo/05c00e3ca7d0382003b4e3a29f42dde6 to your computer and use it in GitHub Desktop.
Example prisma graphql datamodel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type User { | |
id: ID! @unique | |
name: String | |
interestedIn: [University!]! | |
} | |
type University { | |
id: ID! @unique | |
name: String | |
careers: [Career!]! | |
} | |
type Career { | |
id: ID! @unique | |
name: String | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment