Created
January 2, 2018 19:04
-
-
Save grrinchas/efdce84d53117e4af42e2393c8723c2d to your computer and use it in GitHub Desktop.
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 @model { | |
id: ID! @isUnique | |
createdAt: DateTime! | |
updatedAt: DateTime! | |
auth0UserId: String! @isUnique | |
email: String! @isUnique | |
} | |
type Post @model { | |
id: ID! @isUnique | |
createdAt: DateTime! | |
updatedAt: DateTime! | |
title: String! | |
body: String! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment