File tree Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Expand file tree Collapse file tree 5 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 11type Post {
2- id : ID ! @unique
3- createdAt : DateTime !
4- updatedAt : DateTime !
5- isPublished : Boolean ! @default (value : " false" )
2+ id : ID ! @id
3+ createdAt : DateTime ! @createdAt
4+ updatedAt : DateTime ! @updatedAt
5+ isPublished : Boolean ! @default (value : false )
66 title : String !
77 text : String !
88 author : User !
99}
1010
1111type User {
12- id : ID ! @unique
12+ id : ID ! @id
1313 email : String ! @unique
1414 password : String !
1515 name : String !
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ endpoint: ${env:PRISMA_ENDPOINT}
66secret : ${env:PRISMA_SECRET}
77
88# the file path pointing to your data model
9- datamodel : datamodel.graphql
9+ datamodel : datamodel.prisma
1010
1111# seed your service with initial data based on seed.graphql
1212seed :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ type Post {
2+ id : ID ! @id
3+ isPublished : Boolean ! @default (value : false )
4+ title : String !
5+ text : String !
6+ }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ endpoint: __PRISMA_ENDPOINT__
66secret : mysecret123
77
88# the file path pointing to your data model
9- datamodel : datamodel.graphql
9+ datamodel : datamodel.prisma
1010
1111# seed your service with initial data based on seed.graphql
1212seed :
You can’t perform that action at this time.
0 commit comments